Skip to main content

Notifications

Announcements

No record found.

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

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

Posted on 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
    Ahmad Pirani 90 on at
    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
    Ahmad Pirani 90 on at
    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
    Nikolay Pavlov 5 on at
    RE: Retrieve plugin not starting (custom data provider, virtual entity)?

    Hello,

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

  • gdas Profile Picture
    gdas 50,085 on at
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans