Skip to main content
1-Visitor
March 6, 2019
Question

Scripting for mashup creation/ modification

  • March 6, 2019
  • 1 reply
  • 1278 views

How do i go for doing the following things through scripting:

1) Mashup creation through scripting

2) Widget(s) placing on mashup through scripting

3) Property binding to widgets on mashup through scripting

4) Setting/Altering widget parameters on mashup through scripting

5) Creation of media entities & style definitions through scripting

 

1 reply

1-Visitor
March 6, 2019

There isn't any snippets for that.

To create the mashup itself, you will need to look at REST API call that the composer it's doing.

About adding Widgets, Properties and other mashup thing's you will have to look at Mashup XML Format (Export Source Code) and reproduce it's edition, which will be kind of hard. You won't find REST API calls for that, as it's a Composer/Client UI feature, it's not done on the server side.

muzzammil1-VisitorAuthor
1-Visitor
March 6, 2019

Can't i go for writing services under a thing entity which could do any of the above things?

muzzammil1-VisitorAuthor
1-Visitor
March 6, 2019

Because, when i go for developing industrial applications, i may need to create tons of mashups. So, is there any way i could do them through service scripting?