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

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

rmasoud1
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

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

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.

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

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

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

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

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

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

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.