Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Search/Advanced find is not working with Virtual entity

Posted on by 35

I have created a Virtual Entity using a Custom Data Provider. With Advanced Find/ Quick Search on the view, it is not filtering virtual entity data. Please see the below screenshot 

5417.Capture.PNG

Is there any way to achieve this using the retrieve multiple plugin which we use for the virtual entity?

Can anyone please help me to resolve this?

Thank You.

  • Shveta_s Profile Picture
    Shveta_s 35 on at
    RE: Search/Advanced find is not working with Virtual entity

    Andrew Butenko I resolved this issue using the reference provided by you. Thank You

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Search/Advanced find is not working with Virtual entity

    Hello,

    If my reply (or replies) answers your question take a minute and verify the answer. You can do it by clicking "Yes" at the top of the reply (or replies) under the label "Does this answer your question?"

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Search/Advanced find is not working with Virtual entity

    Check following article - docs.microsoft.com/.../sample-generic-ve-plugin

  • Shveta_s Profile Picture
    Shveta_s 35 on at
    RE: Search/Advanced find is not working with Virtual entity

    Thanks for the response, but how can I read the value of the view's search field which is OOB.

    Can you help me with the test code snippet for this?

    0458.Capture1.PNG.

    sorry to ask this naive question but have never tried reading OOB search field values of views from the context.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Search/Advanced find is not working with Virtual entity

    So the answer is super simple! Just convert your input query (from the context) to the query to the target environment. Done!

    Good luck.

  • Shveta_s Profile Picture
    Shveta_s 35 on at
    RE: Search/Advanced find is not working with Virtual entity

    Andrew Butenko: Thank you so much for the quick reply, please find my retrieve multiple plugin test code snippet below:

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Search/Advanced find is not working with Virtual entity

    Hello,

    It's a bit hard to give suggestions about code without the code available. Can you share the code you use in RetrieveMultiple step?

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans