Added webresource to the navigation pane.
Now I wants to pass record GUID as parameter to the webresource. To pass entity properties to the Navigation link, we have to edit entity XML. Export the solution from CRM and then extract the zipfile.
Now open the Customizations.XML file in edit mode. Find the custom navigation link details in the XML, in my case "Custom Link" navigation link.
Modify the navigation link XML in the following way
<NavBarItem Id="navLink{e60ed59a-1121-0e37-65de-3432ed3982e4}" Icon="" Url="$webresource:new_mypage.html" Area="Info" Sequence="9600" PassParams="1" >
<Titles>
<Title LCID="1033" Text="Custom Link" />
</Titles>
</NavBarItem>
</NavBar>
I have added PassParams property to the XML which passes parameters to webresource.PassParams = 0 do not pass parameters [default]
1 pass parameters.
Hope this helps!!!
Hello Guru,
ReplyDeleteDoes this works with CRM 2013 ?? I am getting Unhandled Exception Error.
Regards,
Dharmraj
AWESOME! I can confirm that this works also in CRM 2013. Thanks, you saved the day :)
ReplyDelete