How to call a dashboard extender funtion from another rule?
How do I call a function that exist in a dashboard extender business rule for another dashboard extender business rule and how do I pass the all the required arguments?
Let say you are working on the dashboard extender rule B and you need to call a function defined in the rule A (eg.PLP_SolutionHelper). You have to first of all add the dashboard extender rule A to the reference assemblies of the rule B:
In the rule B, you then have to:
⦁ Create a new "dashboard extender" object
⦁ Define the arguments
⦁ Pack them into a DashboardExtenderArgs object
⦁ Call the desider function and pass the argumentsThis is an example of how the dashboard extender business rule is called from a button:
{PLP_SolutionHelper}{DeleteRegisterOrRegisterPlan}{tRegisterID=All, deleteType=1}This is an example of how it could be transposed to be called from another dashboard extender rule: