Skip to main content
8-Gravel
June 14, 2023
Solved

How do I create a Mashup with javascript

  • June 14, 2023
  • 2 replies
  • 1408 views

Like creating a Thing with code

 

 

Best answer by VladimirRosu_116627

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?

2 replies

19-Tanzanite
June 14, 2023

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?

Huaxu8-GravelAuthor
8-Gravel
June 15, 2023

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

17-Peridot
June 15, 2023

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