Any Integration API available for Global List Data Access


#1

Hi,

Would like to know if there is any integration available to allow external access to retrieve Global List data ?

Thanks !


#2

Hi Clement,

Yes, simply reference the WorkflowGen.My assembly in your solution and you’ll be able to retrieve the global list values like in the following example:

WorkflowGen.My.Integration.GlobalLists gl = new WorkflowGen.My.Integration.GlobalLists();
System.Data.DataTable GLOBAL_LIST_DATA;
/*Get global list "GLOBAL_LIST_DATA" and retrieve the value of DESCRIPTION column*/
GLOBAL_LIST_DATA = gl.fetchList("GLOBAL_LIST_DATA", "DESCRIPTION", "en-US", true);
/*Display the first DESCRIPTION value of the global list in REQUEST_DESCRIPTION*/
REQUEST_DESCRIPTION.Text = GLOBAL_LIST_DATA.Rows[0]["DESCRIPTION"].ToString();

Best Regards,
Eddy.


#3

Thanks Eddy. Will try it out.