cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Not able to send data from Vuforia Studio in thingworx if public access is not given to TWX service

Aditya1702
15-Moonstone

Not able to send data from Vuforia Studio in thingworx if public access is not given to TWX service

Hi Everyone,

Good Morning,

 

I want to send data from Vuforia Studio into Thingworx but unless & untill I don't assign es-public-access to thingworx service the data is not getting transferred.

 

So is this correct or what if I don't want to give public access to thingworx service & still transfer data from Vuforia Studio to Thingworx is this possible?

 

Thanks in advance.

 

Regards,

Aditya Gupta

ACCEPTED SOLUTION

Accepted Solutions

Hi @Aditya1702 ,

es-public access required only if you want to use an project as public /without authentication and if in that case you need twx then you have to follow the PTC vuforia studio Help 

 https://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FAnonymousAccess.html%23

Also to use any entities /service and properties you have then to use the following setting 

https://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FAnonymousAccess.html

and

https://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FGrantUserPermissions.html%23

-

But back to the issue that you could not save data to TWX. You can  use thing with e.g. image property type / in case that you want to save , let say picture from the camer widget , here refer to the article    https://www.ptc.com/en/support/article/CS339332

or you can use a Thing which is created from FileRepository template - it contains all serverices to save and load data to and from TWX in Vuforia Studio.

One important point that the save will work is the setting on the Experience Servcie 

E.g. when we try wiithout any setting the techniques mention in the article will not work but after  setting the option “nohttp2” true  in the ES configuration.json and restart the Experience Service  that all steps are working according to the article  https://www.ptc.com/en/support/article/CS339332

Could you please, check the configuration.json on your Experience Service and change /respectively add the option “nohttp2”:true, you need first to stop the Experience Server – set the parameter and restart the ES.

Please, see also: https://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FWidget3DCamera.html

If you want to save pictures to a repository in your ThingWorx instance, the following configuration parameter must be manually added to the configuration.json file by an administrator:

"nohttp2":true

View solution in original post

3 REPLIES 3

Hi @Aditya1702 ,

es-public access required only if you want to use an project as public /without authentication and if in that case you need twx then you have to follow the PTC vuforia studio Help 

 https://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FAnonymousAccess.html%23

Also to use any entities /service and properties you have then to use the following setting 

https://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FAnonymousAccess.html

and

https://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FGrantUserPermissions.html%23

-

But back to the issue that you could not save data to TWX. You can  use thing with e.g. image property type / in case that you want to save , let say picture from the camer widget , here refer to the article    https://www.ptc.com/en/support/article/CS339332

or you can use a Thing which is created from FileRepository template - it contains all serverices to save and load data to and from TWX in Vuforia Studio.

One important point that the save will work is the setting on the Experience Servcie 

E.g. when we try wiithout any setting the techniques mention in the article will not work but after  setting the option “nohttp2” true  in the ES configuration.json and restart the Experience Service  that all steps are working according to the article  https://www.ptc.com/en/support/article/CS339332

Could you please, check the configuration.json on your Experience Service and change /respectively add the option “nohttp2”:true, you need first to stop the Experience Server – set the parameter and restart the ES.

Please, see also: https://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FWidget3DCamera.html

If you want to save pictures to a repository in your ThingWorx instance, the following configuration parameter must be manually added to the configuration.json file by an administrator:

"nohttp2":true

Hi @RolandRaytchev ,

 

I just want to know can we transfer data from Vuforia Studio to ThingWorx without setting

public access to Things in ThingWorx. Or is there any setting that has to be done if I don't want to give public access & still transfer the data.

 

 

 

Hi , I believed that I answered to that question in first point of my previous post. Possibly it was not so clear.

the answer is then NO, when you published the experience as public

YES when you use user authentication /when published 2024-10-22_09-38-00.jpg 

 

But also with published project with the optionRequires Authentication the access of TWX it will not work if you do not the set the permsissions of entites and services  according to 

https://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FAnonymousAccess.html

and

https://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FGrantUserPermissions.html%23

so means you need to set the permission for the user grant access

Announcements

Top Tags