Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi there,
I would like to connect my AR Experience with ThingWorx. I opened ThingWorx by coping my experience service url and added "ThingWorx". Now I can see some Projects and I am able to read the data. I can connect the Data with my AR Experience so I can see the values on my AR application. But i am not able to create a new Data Shape or edit something. I am not able to write a value in my AR Experince and connect this value with my a variable in thingworx. If I try this there comes the mistake i am not autohrizied. Now my question: Is it possible with the vuforia studio test licence to connect to thingworx and create a variable to read and write with a text widget in my AR Experience?
I hope you understand my question. Thanks for help!
Hello,
Yes it is possible to change a value from an Experience to a Thing in ThingWorx Platform.
For a better troubleshoting, in ThingWorx Platform, I have created a Service into the Thing.
We can add log message. It is needed to debug with log files.
In my example, this Service, receives 2 values from Vuforia Studio, from 2 Widgets.
In ThingWorx, to troubleshoot, I use the Monitoring > LOGS > Application, Security and Script menus.
It is very useful to know if the problem is in the javascript code or in Permissions.
By the way, it is possible to test the Service by clicking the Test button.
It is useful too, to exclude a problem with it in javascript source code.
Also, I would recommand to test with a dev account in ThingWorx but also with the es-public-access direclty in ThingWorx Composer.
About Permissions, in PERMISSIONS > Run Time, for es-public-access user, all Permissions need to be enabled (green dot icon)
More details about Permissions :
https://www.ptc.com/en/support/article?n=CS236180
I am sure when executing my customer Service, in ThingWorx Composer with my administrator account ; It worked like a charm.
But in Vuforia Studio, an error was reported in the log in ThingWorx Composer about Permission.
By searching this error message in PTC Technical Support web page, I found an article to enable Permissions for a Resource.
If I remember well, it was this article :
https://www.ptc.com/en/support/article?n=CS288931
Best regards,
Samuel
Hi @sdidier
How can I create a new user named es-public-access if i do not have permission to create a new user? And how do I change the permission if nothing happens if I click on the Button in the picture
Thanks for help!
Hello,
If it already exists it is not needed.
To create a new user in ThingWorx Platform, an Administrator account is needed.
To add permissions to an existing user as es-public-access, an Administrator account is needed also.
In my trial instance, with the Administrator account, I was able to add the Permissions to Things to the existing es-public-access user.
By default, account used to have trial is the adminstrator of the instance.
I click on the same icon with the lock in your screenshot.
Best regards,
Samuel
I readin the help center http://support.ptc.com/help/vuforia/studio/en/#page/Studio_Help_Center%2FAnonymousAccess.html%23
to add the user, so i thought it is neccessary to create it.
If i click on the lock button in the screenshot nothing happens. No warning and no reaction.
Hello,
In the Help Center, it is explained the setup to do in a case of an installation from strach.
In a trial or cloud environments provided by PTC, this setup is already done.
So, it is not needed to redo it a second time.
If you cannot click on this button, I see 2 possibles reasons :
Best regards,
Samuel
Hello @sdidier
Thanks for your help!
I am using the test license of one month from ptc with the Server provided by ptc.
Hello mn1,
Thanks you for your feedback.
Best regards,
Samuel
Hello,
Thanks you.
I have checked, the service is running.
I didn't find any problem by a quick check.
If the answer is yes, in ThingWorx Platform, we can check if you have administrator Permissions.
We will follow up these steps :
https://www.ptc.com/en/support/article?n=CS208043
Best regards,
Samuel
Hi @sdidier
Yes, I am the owner of the trial instance and I created it with my ptc account.
Hello,
Best regards,
Samuel
No there is no error shown.
I can not find the listed Administrators. I can follow your described stepts till step 5. Then I am not able to find the administrators.
Hello,
You should have this item named Administrators into the list at the step 5.
Best regards,
Samuel
Hello @mn1 ,
Administrators group is a default one present from scratch in Thingworx Platform.
More details here :
Best regards,
Samuel
Is there any other step that I might have forgotten apart of the ones you described?
Hope you can help!
Hello @mn1,
No other step should be needed.
I am checking internally with R&D this instance.
I will come back to you with more details.
Best regards,
Samuel
Hello @mn1 ,
I have received a feedback from R&D.
It seems due to new trial servers where Administrators is not accessible anymore.
It will help to check with R&D this information.
Best regards,
Samuel
Hello @mn1 ,
We can found the reason of the problem here.
In the new trial instances provided by PTC, custom Things are not supported.
More details in this thread :
Best regards,
Samuel