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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How do I set the values of Mashup parameters to ThingTemplate properties?

rmasoud1
1-Newbie

How do I set the values of Mashup parameters to ThingTemplate properties?

Hi,

I am passing parameter values to Mashup parameters through the mashup URL.

I want those values to be stored under properties of a ThingTemplate.

How can I do this?

Thanks

4 REPLIES 4
posipova
20-Turquoise
(To:rmasoud1)

You may use a service that takes input (values) and sets the properties of the desired template accordingly. So, you set the mashup parameters through the URL then pass those parameters to the service.

Hope this makes sense.

It makes sense, I am just having trouble passing those parameters to the service.

ankitgupta
5-Regular Member
(To:rmasoud1)

Hi Rami Masoud​,

You just need to drag the output parameters from Mashup Properties to input parameters of the Service to bind them together.

Are you facing any specific issue in binding?

Regards,

Ankit Gupta

Hi Ankit Gupta​,

I tried binfing it in that manner, but the value of the mashup parameter is not being sent.

In my mashup URL, I have a parameter called user with value hello.

I pass this parameter into my service to assign it to a property of my thing.

But no value is stored in my thing.

Announcements


Top Tags