Wednesday, May 30, 2012

Pass parameters to web page from customization

When you want to open a web page from a cutom button in CRM 2011, there are options so that you can send parameters to the web page.

To do this follow the steps:

1) Open the customizations.xml exported from the solution
2) Find the associated <CommandDefinition> of the button in <RibbonDiffXml>/<CommandDefinitions>
3)Insert the Action statement like this:

<Actions>
<Url Address="$webresource:new_/Test.html" PassParams="true" WinParams="height=400, width=500,toolbar=no, menubar=no,location=no"> 
 </Url>
   </Actions>

No comments:

Post a Comment