Friday, 11 May 2018

XRM Javascript


All Basic XRM javascripts code:

Xrm.Page.data.entity attribute



https://msdn.microsoft.com/en-us/library/gg334409.aspx#BKMK_addOnChange





Thursday, 10 May 2018

XRM Toolbox Plugins



XRM Toolbox Plugins


  • Portal Code Editor, to add/edit javascript for portal pages.
  • Early bound Generator. to generate early bound classes for Entities and option lists.



Set Up StyleCop to check code style violations in Visual Studio

What is StyleCop?

StyleCop is an open source static code analysis tool that runs in Visual Studio, checking for code style violations. The default rules were established by consolidating the preferences of various teams across Microsoft and are designed to emphasize readability and maintainability of C# code, but users can also customize their own rules.
More details to setup is at:
https://blog.redbluegames.com/how-to-set-up-stylecop-in-unity-b3ca908211d9



Configure Web form subgrids for portals



Configure Web form subgrids for portals



Steps to display clickable grid on portal;

1: Create a view on the entity in dynamics administration.
2: Create a Entity Form on the Portal Administration.
3: Go to the Web Form step and add Web Form Metadata.
4: In Web Form Metadata window select option Grid and select the Entity form created at step 2.
5: Set send user's detail as Query String.
6: Save it and refresh cache.




Custom Work Flow Basic concepts in Dynamics 365