locked
programmatically open child case window through js RRS feed

  • Question

  • Hello, I have a requirement where I need to programmatically open a child case window through js.  Can you recommend a good way to do this? Here are some steps that can probably be used to implement this through js:

    1. Open a child case window through a manual process
    2. Copy the url from the child case window
    3. Parse this url into pieces
    4. Rebuild the url dynamically in js
    5. Pass this url in a call to window.open()

    However, I was wondering if there was a more built-in/supported way to do this in CRM. Please let me know if you have done this before or know how this can be done in a way that may be more native to CRM.
    Friday, June 6, 2014 10:16 PM

All replies

  • Hello,

    Please have a look into following function on SDK:

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

    http://msdn.microsoft.com/en-us/library/jj602956.aspx


    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !!!
    Vikram Singh. !!!  My Blog

    Saturday, June 7, 2014 3:40 AM