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)

Start a dialog process from JavaScript's window.open(url) in the OnSave method

(0) ShareShare
ReportReport
Posted on by

I have created a dialog process in CRM 2013 and I am trying to open it from the OnSave method of the Opportunity form using window.open(url) and I get the Record Is Unavailable error page with a message saying:

"The requested record was not found or you do not have sufficient permissions to view it."

I can open the dialog in the browser outside the CRM but I get the error when called from OnSave method of the form and I have sys admin role.

Thank You

*This post is locked for comments

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

    Use

    openStdDlg(url, '', width, height, false);

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

    Pierre,

    Please provide code you use.

  • Biplab Singha Profile Picture
    on at

    Are you using  window.open or openStdDlg.

    If Possible Can you share  the code

  • Community Member Profile Picture
    on at

    Thank you for the response it was helpful but did not solve the issue. I apologize for late reply some how I didn't see the responses earlier.

    I tried all different combinations of opening the dialog but still got the error. as I was researching the error further I found out that the problem was due to accessing data from CRM in the dialog process. Any data from CRM should be retrieved using a CRM query in a dialog step into variables. I haven't tried that yet but that's the next step but when I removed all the fields from the dialog it opened with no errors.

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