locked
Change form from ribbon-button RRS feed

  • Question

  • Hi

    Im trying to put a button in the ribbon that change the current form from one to another.

    I have tried to use this code below but nothing the button is dead. 

        

    function formSelector() 
    {

    var FORM1 = "FORM---GUID--HERE";
     Xrm.Page.ui.formSelector.items.get(FORM1).navigate();

    }

    what have I missed? 

    I have used the same code to switch form based on the value in a picklist. And that worked fine! 

    /Filip

    Monday, February 10, 2014 4:03 PM

All replies