web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Plugin on RequestMultiple --> get Sender (HTTP-Header referer)

(0) ShareShare
ReportReport
Posted on by 181

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

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    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.

  • Suggested answer
    sdfasdf Profile Picture
    842 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 43 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans