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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

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

rmasoud1
1-Visitor

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.

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