Notifications
Announcements
No record found.
Hi to all!
Project requirements: create a cwa with string input and List output.
But the values that can be used are Bool, DateTime,Decimal,Double,Money,EntityReference,OptionSetValue and string. List no. Suggestions?
Hi Emal,
Please refer to this blog:
www.c-sharpcorner.com/.../
Hi,
CWA does not have List data type as output parameter.
You can create string output and return the list of data as json string which can be parsed by consumer.
Something like this -
public class Employee
{
public string Name {get;set;},
public string Email {get;set;}
}
List<Employee> employees =new List<Employee>();
//Add Employee data to List
//Convert List<Employee> to Json string
string output=JsonConvert.Serialize<string>(employees);
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: xrmdynamicscrm.wordpress.com/
Thank you!
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Siv Sagar 93 Super User 2025 Season 2
#ManoVerse 80
Martin Dráb 64 Most Valuable Professional