I need a plugin to manipulate the result of an retrievemultiple-request.
Inside this plugin I have to find out from which record/Id the plugin was called.
I debugged the plugin but couldn't find a way to get information about the record on which the request was sent.
Is there any way to get the raw-request so that I can extract the referer-attribute?
Best regards
Tobias
Hello,
Custom plug-ins will intercept the message and be provided its context. In your scenario, you will have access to the RetrieveMultiple operation context, which will give you the actual query being submitted. If you query contains the value you're looking for, you can certainly read it in your plug-in.
As far as your precise ask, you won't have access to that HTTP header in the context of a custom plug-in.
Tobias,
It's doable when your plugin is registered out of isolation. When you work with sanboxed plugin - you would not be able to get that information.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156