![]() |
#1 |
Участник
|
East Ocean - Technical: Quickly view schema name and guid in crm form
Источник: http://eastoceantechnical.blogspot.c...d-guid-in.html
============== 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);})(); Источник: http://eastoceantechnical.blogspot.c...d-guid-in.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|