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

Community site session details

Session Id :

Quickly view schema name and guid in crm form

Community Member Profile Picture Community Member
Most of the time we need to refer to our CRM entity/ form for schema name during development.
Here is some script which can allow developer to identify via the CRM record form.

Create a file with following code, save as Debug.url extension, so you can use this as shortcut in bookmark to trigger the script.  Just copy to Favorite folder, it is ready to use.



[DEFAULT]
BASEURL=http://mscrm:5555/DEV/main.aspx
[DOC_contentIFrame]
BASEURL=http://mscrm:5555/DEV/_root/homepage.aspx
ORIGURL=/DEV/_root/homepage.aspx
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,15
[InternetShortcut]
URL=javascript:(function(){javascript:var x = 0; while (frames[x].Xrm.Page.data == null) {x++;} frames[x].Xrm.Page.ui.tabs.forEach(function(b){b.setVisible(true);b.sections.forEach(function(c){c.setVisible(true);})}); frames[x].Xrm.Page.ui.controls.forEach(function(a){a.setVisible(true); if (a.setDisabled != null) {a.setDisabled(false);} var span = document.createElement('span'); span.innerHTML = ''; if (frames[x].document.getElementById(a.getName() + '_c') != null) {frames[x].document.getElementById(a.getName() + '_c').appendChild(span);}}); var span = document.createElement('span'); span.innerHTML = ''; frames[x].document.getElementById("form_title_div").getElementsByTagName("div")[0].appendChild(span); var span = document.createElement('span'); span.innerHTML = ''; frames[x].document.getElementById("form_title_div").getElementsByTagName("div")[0].appendChild(span);})();
IDList=
IconFile=http://mscrm:5555/favicon.ico
IconIndex=1
HotKey=0
[Bookmarklet]
ExtendedURL=javascript:(function(){javascript:var x = 0; while (frames[x].Xrm.Page.data == null) {x++;} frames[x].Xrm.Page.ui.tabs.forEach(function(b){b.setVisible(true);b.sections.forEach(function(c){c.setVisible(true);})}); frames[x].Xrm.Page.ui.controls.forEach(function(a){a.setVisible(true); if (a.setDisabled != null) {a.setDisabled(false);} var span = document.createElement('span'); span.innerHTML = ''; if (frames[x].document.getElementById(a.getName() + '_c') != null) {frames[x].document.getElementById(a.getName() + '_c').appendChild(span);}}); var span = document.createElement('span'); span.innerHTML = ''; frames[x].document.getElementById("form_title_div").getElementsByTagName("div")[0].appendChild(span); var span = document.createElement('span'); span.innerHTML = ''; frames[x].document.getElementById("form_title_div").getElementsByTagName("div")[0].appendChild(span);})();


This was originally posted here.

Comments

*This post is locked for comments