Dlrs Has Not Been Deployed Click Manage Child Trigger and Try Again
NEW RELEASE: Jump'xiv RELEASE NOTES
Here is a tool I've been working on for the by 2 weekends that helps accost a current platform limitation around rollup summaries. Specifically the disability to do rollup summaries betwixt lookup relationships. This is possible between chief detail relationships using the declarative mode of Forcefulness.com, simply not betwixt lookup relationships.
A while back I came across a rollup Apex library (LREngine) written by a fellow Forcefulness.com MVP (Abhinav Gupta). Which helps reduce the coding effort significantly and uses SOQL Amass queries internally. However it requires some programmer skills to use the library and deploy the necessary triggers to your org, as well as echo of this to make changes in the future. Not very declarative I idea.
And so if you've been post-obit my blog yous'll know that I've been doing things in Apex with the Metadata API (used for, amongst other things, deploying code!). So in order to make the LREngine library more accessible to admins without access to developers or coding skills. I decided to build this tool around the library. Which automates the generation of the required 'very small' Apex Trigger (and examination code) to allow you to deploy it straight from your org, without whatsoever change sets, programmer orgs or Eclipse install insight!
The tool revolves around the apply of a single object, Lookup Rollup Summary. This objects lets the admin declaratively ascertain the rollup definitions! The following rollup definition updates the Annual Revenue on the Account, each time an Opportunity related to it is inserted, updated or deleted. As an optional feature, a SOQL WHERE clause can exist specified that acts as a kind of Rollup filter criteria should you need information technology. In this case merely Opportunities greater than 200 are included in the rollup.
Activating the Rollups
This release of the tool supports the Realtime calculation style, as the users manipulate the kid records the tool automatically updates the rollup fields on the parent object. To actuate rollups using this mode you must click the Manage Kid Trigger push button.
This will present a UI that will let you to easily deploy or undeploy the required Apex Trigger direct from the page, the page also shows the minimal lawmaking (most of the generic logic is in the managed packet) for confirmation purposes.
Note: In a future release a Scheduled calculation style will be supported, hither no triggers need to exist managed.
Installing the Tool
The tool is available via a managed bundle to install into your production environment (sandbox testing e'er recommended however). I've also shared the whole code for information technology in my Github account here, should you desire to fork it and/or combine information technology in other solutions directly. These are the steps to install the current package.
- Install the packaged version past reviewing the release details here.
- Add together a Remote Site setting for the Metadata API callouts the tool makes,
- Setup > Security > Remote Site Settings
- Use the following URL,https://dlrs.eu2.visual.force.com (adjusting the example part accordingly).
- Annotation this URL endpoint points back to your Salesforce server, as even callouts out and back into Salesforce servers needed to be defined here.
- Locate the Lookup Rollup Summaries tab and create a record as above (don't check Agile withal)
- Click the Manage Kid Trigger push and click Deploy.
- Edit the record you created in footstep three and check the Active field
- Provide feedback via the Github Issue tracking facility hither.
Whats next… upcoming Features!
I've got the post-obit features in the pipeline for the tool, if anybody wants to assist me delight accomplish out!
- Schedule calculation fashion, if you don't need realtime updates of your rollups, a schedule job will periodically update them for you. This calculation mode does not even require a trigger to be deployed.
- Calculate button, if y'all add a rollup for existing kid records or make some changes, this button volition bring your rollup values up to date on the parent objects.
- API, by providing an API, so developers who may already be writing triggers on the related objects, can telephone call out to the engine and still leave the admin the ability to configure the rollups declaratively.
- Farther robustness improvements, better run fourth dimension checking of fields defined on the rollup definition (in the case where these get renamed or deleted later on the rollup was divers).
Source: https://andyinthecloud.com/2013/07/07/new-tool-declarative-rollups-for-lookups/
0 Response to "Dlrs Has Not Been Deployed Click Manage Child Trigger and Try Again"
Enviar um comentário