cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Can one service have more than one output?

MM_9665428
4-Participant

Can one service have more than one output?

Hi hoping you're doing well

 

I've a service that the output is a infotable with a data shape

 

MM_9665428_0-1603941653641.png

And I use the output in the example mashup that I've

 

Now I want to use part of the output (1 table column) to fill a List, can I do it with the same service or do I need other?

 

Can you give me a coding example?

 

Best Regards,

Marcos

3 REPLIES 3

Hi @MM_9665428,

 

A service can have only one output. 

If you need to display this infotable in a mashup you will need it as output of a service so you will need to keep your current service (service1) as is. 

You can then then create a new service (service2) and use the output of service1 as input to service2.

Or, if what you want is simply to display one of the columns of the output infotable of service1 in a List, you can simply bind the output of service1 to a List widget and select the column name you want to display in the "DisplayField" parameter of the List widget.

 

c_lowy_0-1603959502994.png

 

I hope this helps.

slangley
23-Emerald II
(To:MM_9665428)

Hi @MM_9665428.

 

If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Based on your description, I think you'll have to create another service to do so.

Top Tags