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

Community site session details

Session Id :
Customer Service forum

Return a list of records from plugin to custom action

(0) ShareShare
ReportReport
Posted on by 180

Hello,

How can we pass list of records from plugin to custom action that triggered the plugin. Custom action has 5 output arguments but if plugin has to return say 5 records each having those 5 output parameters to custom action. how do we do this?

Categories:
I have the same question (0)
  • Verified answer
    CRMISKEY Profile Picture
    180 on at
    RE: Return a list of records from plugin to custom action

    Hey Ben, Yes. i am still talking about updating the external system records within in dynamics. i then probably have to store the external records within CRM temporarily and delete them once the update is sent out. thanks!

  • Suggested answer
    Ben Thompson Profile Picture
    6,350 on at
    RE: Return a list of records from plugin to custom action

    You could return an entity collection as that is the only argument that supports an array / collection of results but the result needs to be a set of records within already in CRM and I suspect we are still talking about your external data access.

    Beyond that I would suggest actually telling us what you are aiming to do here. Is it to update a set of internal CRM records / update an external system or something else?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans