Skip to main content
1-Visitor
January 3, 2022
Solved

Issue while binding the output of the service to the dropdown widget

  • January 3, 2022
  • 1 reply
  • 1064 views

I have an issue while binding the output of my service to the dropdown widget.

This is my service below when I execute it by clicking on 'play' button it gives me my desired output.

 

let alldata = Things["Paitent_Data_Table"].GetDataTableEntries();
let params = {
t: alldata /* INFOTABLE */,
columns: "Paitent_Name" /* STRING */
};

// result: INFOTABLE
result = Resources["InfoTableFunctions"].Distinct(params);

 

but when I add this service to the 'data tab' in mashup builder and when I expand all data tab of this service I am not getting data over there. but this is happening only for this service the other services are working properly.

 

 

Best answer by GuruPrasad1

Can u check if u have defined a Datashape for the output infotable

1 reply

12-Amethyst
January 3, 2022

Can u check if u have defined a Datashape for the output infotable

1-Visitor
January 4, 2022

Thank very much  for your response sir. It is working now. I didn't saw that small mistake.