Some quick tips on the javascript utilities:
for any reason, if the dashboard is clumsy in the real esate in displaying grid and charts, we can provide a button to view in a new tab by exploding or opening the web resource in a new tab.
Code sample:
Hope this helps,
Chaitanya...
for any reason, if the dashboard is clumsy in the real esate in displaying grid and charts, we can provide a button to view in a new tab by exploding or opening the web resource in a new tab.
Code sample:
//HTML Web Resource
Xrm.Utility.openWebResource(
webResourceName
,
webResourceData
,
width
,
height
)
//Example
//Open an HTML web resource named “new_webResource.htm”
Xrm.Utility.openWebResource("new_webResource.htm");
//Open an HTML web resource, setting the height and width
Xrm.Utility.openWebResource("new_webResource.htm", null, 500,700);
//Open an HTML web resource with the parameters expected by HTML web resources
Xrm.Utility.openWebResource("new_webResource.htm?typename=account&userlcid=1033");
//Entity Form:
Xrm.Utility.openEntityForm(
name
,
id
,
parameters
)
//Example
//Open a new account record
Xrm.Utility.openEntityForm("account");
//Open an existing account record
Xrm.Utility.openEntityForm("account","B85N0252-GHT8-U111-997C-99055D8A8410");
Hope this helps,
Chaitanya...
No comments:
Post a Comment