Skip to main content
1-Visitor
April 19, 2017
Solved

Studio not executing services on Composer

  • April 19, 2017
  • 1 reply
  • 2420 views

I have an experience I am building in Studio, and am calling on services on my Composer server to change properties of a thing (in short: click a button, execute a service for a thing, change a property value on that same thing). However, when I run the experience, the services that are supposed to execute are not executed. I know I have it set up correctly because I tried this method on another server and it works perfectly fine. Unfortunately, I can't have the experience tied to that server at all. I was thinking that the problem is because my experience doesn't have service execute permissions on my server, however I followed all of the instructions here to set up es-public-access since my server did not already have that user setup. After following all of those instructions, however, I still have had no luck getting those services to execute (this also may not even be the issue at all because I still have the same problem even when I require authentication to launch the service instead of making it public).

Is there anything else that I can try to get services executed on my server?

Thanks!

Best answer by ankigupta

Rachel Palmer​,

Try to preview the experience in the browser; and check network logs. It might help you to find the Root cause.

Also, is reading Property from ThingWorx working?

1 reply

ankigupta5-Regular MemberAnswer
5-Regular Member
April 19, 2017

Rachel Palmer​,

Try to preview the experience in the browser; and check network logs. It might help you to find the Root cause.

Also, is reading Property from ThingWorx working?

rpalmer1-VisitorAuthor
1-Visitor
April 19, 2017

This image is what I get for network. Switch and ShowMount are the names of the services I'm trying to execute. There are no console errors/warnings related to the service execution. And yeah, it's reading properties from Composer just fine. It's only having issues with service execution as far as I can tell.

5-Regular Member
April 19, 2017

Auto Refresh of properties was not working.

Gave a workaround to use the result of service instead.