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)

Opening a Web Resource in same tab.

(0) ShareShare
ReportReport
Posted on by 370

Hi all,

I want to open a web-resource in same tab as that of the entity form from where i trigger the action to open the web-resource, however using XRM.Utility.openWebResource() opens the page in the adjacent tab. can i use XRM.Utility.openWebResource() to open page on the same tab?

Thank You

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at

    try this

    community.dynamics.com/.../185488

  • Suggested answer
    Community Member Profile Picture
    on at

    Unfortunately it looks like openWebResource() does not have an option to change how the page opens: msdn.microsoft.com/.../jj602956.aspx

    I suggest having HTML code in your web resource to handle how it opens instead, like this:

    <script>

       window.open('https://www.microsoft.com/&#39;, '_self');

    </script>

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