URL addressable elements enable you to include reports that point to Microsoft Dynamics CRM Windows, Views, dialog boxes, and other applications.
Such You can easily extend other applications, reports, or sites so that users can view information and run operations without switching applications
When you use the Xrm.Page.context.getServerUrl method to retrieve the organization root URL,
The string returned by Microsoft Dynamics CRM Online includes a trailing forward slash character.
Assuming this trailing slash is not removed, the Ribbon is not displayed. You should remove this character so that you can consistently append the remaining URLs to the organization root URL.
var ServerURL = Xrm.Page.context.getServerUrl ();
if (Serverurl.match (/\/$/)) {
ServerURL = serverurl.substring (0, serverurl.length-1);
}
Open the entity for the new account
var url = serverurl + "/main.aspx?"
Etn=account&pagetype=entityrecord ";
Open a customer record
var id = "7b91330924-802a-4b0d-a900-34fd9d790829";
var url = serverurl + "/main.aspx?etn=account&pagetype=entityrecord&id=%" + ID + "%7d";
Open a list of views
var viewId = "7b0c5ae5ef-6589-49be-b208-84ec452485ef";
var url = serverurl + "/main.aspx?etn=new_entity&pagetype=entitylist&viewid=%" + Viewid + "%7d&viewtype= 1039 ";
Here are the query string parameters for the Main.aspx page:
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvev9mmtiz/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/southeast ">
CRM opens a window view using a URL