Skip to main content
1-Visitor
Jul 25, 2018 6:16 AM UTC
Question

Enhancing or Updating mashup experience.

Hello,

I wish to add a spinning wheel in the mashup till result is not yet ready for display.

Since the above result is obtained from an api call outside thingworx environment inbuilt feature in the mashup of Data Load is of no use.

How can i add this?

 

Thanks and Regards,

Kiran

4 replies

22-Sapphire I
Jul 25, 2018 11:52 AM UTC

When you say outside service, you mean to say that you aren't using a Service to load the content, but you have something like a WebFrame?

Not too sure how you'd do it if that is the case.

If you can / have wrapped that external service with a Thingworx Service, you can just use the Call and ServiceInvoke completed to show/hide an animated gif spinner.

Translate
Kiran11-VisitorAuthor
1-Visitor
Aug 6, 2018 4:58 PM UTC

Thanks Pai for responding.

Still i have a question.

I wish to show the loader gif in place of widgets namely "image" and "value display".

This loader gif should be visible till i am fetching some properties from an  external service call which is wrapped inside a thingworx service.

I am unable to hide and show the loader gif as you said but i could do is to call the loader gif using GetProperties service but this is also possible only in image widget and not in value display. Also in image widget the displayed loader is not good for display as it is covered up entirely in the image widget space and hence getting blurred and too big in size to view it properly.

Please help me in resolving this.

 

Thanks,

Kiran

Translate
22-Sapphire I
Aug 13, 2018 4:42 PM UTC

The event that fires GetProperties should also allow you to show the loader image, either using a validator and vis/invis or a popup mashup and then GetProperties serviceinvoke completed can remove that again

Translate