Rise to distinction

Time & tide wait for none

List plugins steps registrations in a CRM report

Synopsis

Got too many plugins & steps registered ? Getting ever too confusing to find out in one single view ? Plugin registration tool not serving the purpose ?

Solution

Custom plugins and steps registrations report

Custom plugins and steps registrations report

Build a s simplest possible report, all supported, using fetch XML as below:

<fetch mapping="logical" count="5000" version="1.0">
  <entity name="sdkmessageprocessingstep">
     <attribute name="sdkmessageprocessingstepid"/>
     <attribute name="name"/>
     <attribute name="description"/>
     <attribute name="eventhandler"/>
     <attribute name="impersonatinguserid"/>
     <attribute name="supporteddeployment"/>
     <attribute name="mode"/>
     <attribute name="rank"/>
     <attribute name="stage"/>
     <attribute name="statuscode"/>
     <attribute name="statecode"/>
     <attribute name="sdkmessagefilterid"/>
     <attribute name="filteringattributes"/>
     <attribute name="configuration"/>
     <attribute name="createdon"/>
     <attribute name="modifiedon"/>
     <link-entity name="systemuser" from="systemuserid" to="impersonatinguserid" alias="impersonateduser" link-type="outer">
        <attribute name="domainname"/>
     </link-entity>
     <link-entity name="sdkmessagefilter" from="sdkmessagefilterid" to="sdkmessagefilterid" alias="messagefilter" link-type="outer">
        <attribute name="secondaryobjecttypecode"/>
        <attribute name="primaryobjecttypecode"/>
        <attribute name="availability"/>
     </link-entity>
     <link-entity name="sdkmessage" from="sdkmessageid" to="sdkmessageid" alias="message" link-type="outer">
        <attribute name="name"/>
     </link-entity>
     <link-entity name="sdkmessageprocessingstepsecureconfig" from="sdkmessageprocessingstepsecureconfigid" to="sdkmessageprocessingstepsecureconfigid" alias="secureconfig" link-type="outer">
        <attribute name="secureconfig"/>
     </link-entity>
     <link-entity name="plugintype" from="plugintypeid" to="plugintypeid" alias="plugintype">
        <attribute name="assemblyname"/>
        <filter>
           <condition attribute="isworkflowactivity" operator="eq" value="0"/>
           <condition attribute="customizationlevel" operator="eq" value="1"/>
        </filter>
     </link-entity>
  </entity>
</fetch>

Some formatting will be required in report columns as filtering attributes and steps configurations could be quite long.

Hope this helps!!!

One response to “List plugins steps registrations in a CRM report

Leave a comment