locked
Is it possible to call a different form depending on a entity field? RRS feed

  • Question

  • My Entity has many fields, and I what to have different form call depending on a Field Type.

    I am looking for a simple way to call a different form depending on that field type value.


    Jean-René Roy Microsoft - SQL Server MVP


    • Edited by JR Roy Wednesday, November 6, 2013 2:42 PM
    Wednesday, November 6, 2013 2:41 PM

All replies

  • Hello,

    You can redirect the user to the correct entity form using the following CRM 2011 SDK method:

    Xrm.Page.ui.formSelector.items.get(itemId).navigate();

    Where itemId is the form index on the form selector or the form id.

    Hope that helped!


    -- Thomas Canaple

    • Proposed as answer by MubasherSharif Tuesday, November 26, 2013 9:30 AM
    Wednesday, November 6, 2013 2:55 PM