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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 2013 - url addressable view in new window doesn't load main menu

(0) ShareShare
ReportReport
Posted on by 110

I am opening specific view in a new window using following JS in CRM 2013

var url = Xrm.Page.context.getServerUrl() + "/main.aspx?etn=" + [entityname] + "&pagetype=entitylist&viewid={" + [viewguid] + "}";

window.open(url, "_blank");

All works well except:

(1) New window doesn't load the main menu

(2) When I open records from the view in new window, they open in another new window rather than loading in same window.

I have to open the view in new window but then opening of any records must load in same window. Have any body experienced this?

Any ideas to achieve this appreciated.

Thanks,

Amit

 

*This post is locked for comments

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

    Hi am462,

    Why you don't use  a

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

    I let you a microsoft web page where explain how we can use it!

    msdn.microsoft.com/.../jj602956.aspx

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    @Arilio

    XrmUtility is unusable because topicstarter opens views and not forms.

    @am462 I would suggest to try investigate behavior in different browsers. Sometimes it matters. If that would not bring any result I would suggest firtly check this article - msdn.microsoft.com/.../gg328483.aspx;MSPPError=-2147217396 and if it would not help open a ticket and get help from Microsoft Support.

  • am462 Profile Picture
    110 on at

    Thanks for your resposnse guys.

    Atillio, Andrii is right, it wont work with views.

    Andrii, could you please provide the msdn link, its broken?

    Thanks,

    Amit

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Check this - msdn.microsoft.com/.../gg328483.aspx

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans