locked
Open Quick Create Form with JaveScript? RRS feed

  • Question

  • I want to open the quick create pane for a custom entity.  Obviously if I click + Create on the menu bar and select my entity it works fine.  But I want to open that same pane from my own code (maybe a command bar on another entity, or just some JS on a form etc etc)

    Any idea how to pop open that pane?

    Monday, May 5, 2014 2:04 AM

Answers

  • Now available in 2016 :)

    https://msdn.microsoft.com/en-us/library/jj602956.aspx#BKMK_openQuickCreate 


    Craig

    Tuesday, March 15, 2016 1:18 AM

All replies

  • Hi,
    Try using the openEntityForm

    Xrm.Utility.openEntityForm(name,id,parameters)

    on the Id you can pass the form ID to open it.

    For more information go here.

    Good Luck :)

    • Proposed as answer by tiagolvsantos Monday, May 5, 2014 8:22 AM
    Monday, May 5, 2014 8:22 AM
  • Hi tiagolvsantos,

    i needed the same script, but it wont work.

    It opens all forms, but not the quick create form.
    Bruce M: did you get this working (with quick form)?

    Hint:
    for "id" dont give the form uid (there is the record uid needed).
    you Need to give the form uid at parameters["formid"].

    OK. Once again. The scipt works for all "normal" forms, but not quick create.

    any other Solutions to open a quickcreate form wiht js?

    Greetings Pit

    Tuesday, May 6, 2014 4:25 PM
  • Now available in 2016 :)

    https://msdn.microsoft.com/en-us/library/jj602956.aspx#BKMK_openQuickCreate 


    Craig

    Tuesday, March 15, 2016 1:18 AM