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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Creating Mashups Dynamically based on Mashup Template

fbdsilva
10-Marble

Creating Mashups Dynamically based on Mashup Template

Hi Community!

 

I would like to know if would be possible to create mashups from services using mashup template, exactly like we do to create things dynamically.

Just to better exemplify my use case, I would like to create a mashup for each thing created dynamically because on this mashup everything is equal besides the values on the collection widgets.

 

Thanks in advance!

Felipe Duarte

ACCEPTED SOLUTION

Accepted Solutions

@fbdsilva ,

 

If the mashup is visually the same except for values on a collection widget, I would consider creating one mashup with a parameter for your Thing.  Then use services in that mashup to grab the values for that particular Thing.  To view that mashup using a URL, you can do something like:

/Thingworx/Runtime/index.html?mashup=MyCoolMashup&MyThingName=MyCoolThing

 

where MyThingName is the name of the parameter on your mashup.

 

Hope that helps,

Nick 

View solution in original post

1 REPLY 1

@fbdsilva ,

 

If the mashup is visually the same except for values on a collection widget, I would consider creating one mashup with a parameter for your Thing.  Then use services in that mashup to grab the values for that particular Thing.  To view that mashup using a URL, you can do something like:

/Thingworx/Runtime/index.html?mashup=MyCoolMashup&MyThingName=MyCoolThing

 

where MyThingName is the name of the parameter on your mashup.

 

Hope that helps,

Nick 

Announcements


Top Tags