web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Xrm.Utility.openEntityForm browser navigation crm 2016 8.1

(0) ShareShare
ReportReport
Posted on by 50

We have a problem opening a Entity in new window.

In internetOptions in tab section the radio button "Let Internet Explorer decide how pop-ups should open" is selected. If i open the entity with Xrm.Utility.openEntityForm the entity is displayed in a new window. It's okay, but why is the navigation missing? I can't find the old api reference so I don't know if there is a property in the windowOption like the entityFormOptions (navbar: on) in the crm 9.0.

Our customer has the problem that he is navigating from the new created entity to another entity (lookup) and has no possibility to navigate back to the entity form he was before.

Thx

©a-x-i

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Xrm.Utility.openEntityForm function accepts windows options as parameter where openInWindow can be set to false.

    Here is an exmaple:

    var windowOptions = {

    openInNewWindow: false

    };

    Xrm.Utility.openEntityForm("account",null,null,windowOptions);

    Reference: docs.microsoft.com/.../jj602956(v=crm.7)

  • Axi Tirol Profile Picture
    50 on at

    Hi Manju G!

    Sorry, no this is not what I want to. I want it to open in new window, but the browser navigation (with back and forward button, addressbar....) should exist!

    So we solved this with making a simple window.open but this has sideeffects.

    url = mydomain.com/main.aspx;pagetype=entityrecord&id=12345678-1234-1234-1234-123456789012

    the problem is that crm appends the #376045753 to the url so it looks as this:

    mydomain.com/main.aspx;pagetype=entityrecord&id=12345678-1234-1234-1234-123456789012#376045753

    this seems to be a reference from where we came. So if I open another entity (lookup, list...) from this entity and afterwards click on save and close I jump back to the entire side.

    Hope you understand:

    window A (contact) --> popup (window B) to incident entity --> click on lookup --> transaction entity opens in same window (B) --> close and save --> window B now has same content as window A (the contact and not the incident)

    this problem does not exist with openEntityForm but with disadvantage of no back button, addresbar and so on.

    ©a-x-i

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans