Skip to main content
8-Gravel
Jun 14, 2023 1:00 AM UTC
Solved

How do I create a Mashup with javascript

Like creating a Thing with code

 

 

19-Tanzanite
Jun 14, 2023 10:22 AM UTC

Hi @Huaxu,

There is no ThingWorx OOTB API that allows creating a Mashup through code.

The Mashup is an entity type that is supposed to be edited and created through Composer only.

Can you please share more details of your use-case so we may suggest an alternative path?

3 replies

19-Tanzanite
Jun 14, 2023 10:22 AM UTC

Hi @Huaxu,

There is no ThingWorx OOTB API that allows creating a Mashup through code.

The Mashup is an entity type that is supposed to be edited and created through Composer only.

Can you please share more details of your use-case so we may suggest an alternative path?

Translate
Huaxu8-GravelAuthor
8-Gravel
Jun 15, 2023 6:24 AM UTC

I wanted to be able to generate mashups directly from the template from code, which would greatly improve my development efficiency

Translate
17-Peridot
Jun 15, 2023 7:24 AM UTC

Hello,

 

As Vladimir says, there doesn't seem to be any way of creating mashups through a service.

But there is an entity type called "Dashboard" which could perhaps be used in your use case:
Find more information here.

 

Regards,

Jens

Translate