Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : Q+ld7YZPrRHBWTeC3vxUW9
Customer experience | Sales, Customer Insights,...
Suggested answer

Retrieve plugin not starting (custom data provider, virtual entity)?

Like (0) ShareShare
ReportReport
Posted on 22 Nov 2019 19:04:50 by 5

I have successfully setup the provider, the data source, the entities and the plugins. ITracingService is also integrated in the plugins in order to keep track of them. However, Retrieve plugin seems to not execute at all. RetrieveAll works perfectly, all of the data appears, it outputs information in the trace log, but upon opening specific record Retrieve does not start (no sight of it in the trace log, no erros - nothing)... I was wondering how exactly am I supposed to trigger it?

Also, this is the Retrieve plugin:

6371.png

  • Suggested answer
    Ahmad Pirani Profile Picture
    90 on 30 Jun 2020 at 01:03:23
    RE: Retrieve plugin not starting (custom data provider, virtual entity)?

    I solved it for myself.

    You have to make sure that you have a field for primarykey in your virtual entity that corresponds to your external data's  primary key.

    So go to your virtual entity, open Primary Key field, and make sure that you have value in External Name, that matches your external data source's primary key.

  • Ahmad Pirani Profile Picture
    90 on 30 Jun 2020 at 00:23:33
    RE: Retrieve plugin not starting (custom data provider, virtual entity)?

    I have exact same issue. My RetrieveMultiple plugin is working just fine.

    But my Retrieve plugin is not. Debugger does not even hit cause it never gets called.

  • Nikolay Pavlov Profile Picture
    5 on 22 Nov 2019 at 21:24:15
    RE: Retrieve plugin not starting (custom data provider, virtual entity)?

    Hello,

    I have registered and set both plugins...
    8877.png

  • gdas Profile Picture
    50,089 Moderator on 22 Nov 2019 at 19:24:39
    RE: Retrieve plugin not starting (custom data provider, virtual entity)?

    Hi,

    The Retrieve message is triggered when opening up an entity form or when an entity is being accessed using the Retrieve operation in one of the service, so make sure you registered plugins steps  in both retrieve and retrieve multiple message.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,411 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,552 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete