Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Load entity list page without reloading the CRM

(0) ShareShare
ReportReport
Posted on by

I have designed a Cti Connector as of AMC and looking to replicate the same behavior as shown at 5:05 in the video, need to load entity list page e.g. account list page inside crm but without reloading the crm.

At the moment, entity form can be loaded using Xrm.utility.openEntityForm("entity", entity_id); but I am unable to find any such utility for the list/view page of entities.
I open the page using window.open('pageUrl','_self'); it reloads the page, which is undesired behavior. It should work same as  Xrm.utility.openEntityForm("entity", entity_id); 

Thanks

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Load entity list page without reloading the CRM

    Hi Rizwan,

    Unfortunately there is no method similar to OpenEntityForm to open the entity list. The only way mentioned in the docs is the use the URL with paramters. The paramters navbar & cmdbar can be used to show hide main navigation&command bar. You can check if that helps.

    The other option which might work for you  (based on the video) is to use the new method loadlookupObject. This methods loads the out of box lookup pop up and allows users to select the records from the list. The list can be a any view.

    Check this:

    www.inogic.com/.../show-lookup-dialog-in-dynamics-365-v9-0

    docs.microsoft.com/.../lookupobjects

    Hope this helps

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Load entity list page without reloading the CRM

    Hi Rizwan ,

    Why you are not  using Xrm.utility.openEntityForm("entity", entity_id); ?

    Is there any specific reason to use window.open('pageUrl','_self');. What is the value of pageUrl here ? When you are using window.open its depends on which URL you are redirecting.

    Lets take an example when you are write location.href , inside form its basically give you the content page URL(with id , formid etc ) instead of the URL you can see in the browser. But when you will use window.parent.location.href it will give you the browser URL.

    So there is two things from where you are triggering the redirect method and which URL you are redirecting.

    Considering above point I believe you should consider location.href instead of window.parent.location.href  which means you should always redirect to content page instead of the URL which you can see in the browser.

    Hope you understand what I am trying to say.

  • Community Member Profile Picture
    on at
    RE: Load entity list page without reloading the CRM

    Hi,

    Here is the short video, you can see in case of first call, a single record is open without reloading the whole content but in second can when I need to open the list page of contact entity, it reloads the whole page that is not required. It should work same as the single record case.

  • RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Load entity list page without reloading the CRM

    Hi,

    Are you looking to load entity list page i.e home page grid or entity form? can you share a screenshot please?

    Or you are looking to refresh a subgrid. Even OpenEntityForm reloads the page so i am little confused what behavior you are looking.

  • Community Member Profile Picture
    on at
    RE: Load entity list page without reloading the CRM

    Thanks Ravi for your kind response.

    But this is not what I need. Actually, I need some sdk reference so page is not reloaded same way as it is not reloaded in case of xrm.sdk.openEntityForm(); because page reload gives very awkward user experience. I am accessing these pages from inside the crm not from outside.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Load entity list page without reloading the CRM

    Hi,

    You would still need to use window.open but you need to build the correct url. Belos is the sample to open the closed opportunity view-

    myorg.crm.dynamics.com/main.aspx;pagetype=entitylist&viewid=%7b00000000-0000-0000-00AA-000010003006%7d&viewtype=1039

    Refer below docs:

    https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg328483(v=crm.8)#url-addressable-forms-and-views

    Hope this helps.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans