Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

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

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

  • Suggested answer
    sdfasdf Profile Picture
    sdfasdf 840 on at
    RE: Plugin on RequestMultiple --> get Sender (HTTP-Header referer)

    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.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Plugin on RequestMultiple --> get Sender (HTTP-Header referer)

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans