05.08.2011, 07:12 | #1 |
Участник
|
crminthefield: Displaying the GUID of the record selected using the parameter
Источник: http://blogs.msdn.com/b/crminthefiel...parameter.aspx
============== One of my customers wanted to pass the GUID of the selected record(s) in CRM’s grid view to a custom web page. CRM 2011 allows you to customize the Ribbon for both the Forms and Grid pages for an entity. To get the GUID of the record(s) selected in the Grid page of an entity we can use the tag. This TechNet article (http://technet.microsoft.com/en-us/library/gg309332.aspx) contains all the valid values for the tag. To create a custom button on the Grid page on an entity, following the instructions outlined in the Walkthrough: Add a Custom Button to an Existing Group for a Specific Entity (http://msdn.microsoft.com/en-us/library/gg334341.aspx) article. Follow the instructions below to display the GUIDs of all the records selected in the grid view of an entity. 1) Create a Jscript Web Resource (e.g. sample_ShowMessage) and add the following code to display the message box – 2) Add the following tag with the value of SelectedControlSelectedItemIds to the tag – The GUIDs of the records selected should now display in a message box when the custom Show GUID(s) button is clicked. Источник: http://blogs.msdn.com/b/crminthefiel...parameter.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|