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 :
Customer Service forum

How to open a dialog box with "xrm navigation" ?

(0) ShareShare
ReportReport
Posted on by 165

Hello!

How can i open a custom window with "xrm.navigation" ? Some sort of Dialog box, but not alert or info.

I hava a html -file wich i want to display there!
Something like this: Xrm.Utility.openDialog(...) but this Xrm.Navigation.openDialog(...)

Please, help!

Categories:
I have the same question (0)
  • Suggested answer
    Ben Thompson Profile Picture
    6,350 on at

    There is no dialog box as I stated in your previous thread. You will need to use Xrm.Navigation.openWebResource see docs.microsoft.com/.../openwebresource

    You will also need to read up on what you can do from there the Xrm context will probably not be accessible to you so you will have to use the webapi to retrieve and update data with any parameters such as entity type and record id passed in as parameters.

    However, given that you are creating a product for certification I don't believe those issues should be a big hurdle for you to resolve...

    var windowOptions = { openInNewWindow: true, height: 400, width: 400 };
    var data = {parameter1: value , parameter2: value};
    Xrm.Navigation.openWebResource("new_webResource.htm",windowOptions, data);


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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans