Start a topic
Search
LogIn
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
Please log in to access translation
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
Close X

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

  • Community
  • Augmented Reality
  • Vuforia Studio
  • Vuforia Studio Preview in Mashup
Translate the entire conversation x
Please log in to access translation
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page

Vuforia Studio Preview in Mashup

anaclos
anaclos 14-Alexandrite
14-Alexandrite
‎Oct 29, 2019 10:14 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Notify Moderator
Please log in to access translation
‎Oct 29, 2019 10:14 AM

Vuforia Studio Preview in Mashup

Hello Roland: I browsed your experience using this link: https://mrerot7o.studio-trial.thingworx.io/ExperienceService/content/projects/bla/index-desktop.html?expIndex=0#/Home  but I can't browse my experience: https://pp-19102315304c.portal.ptc.io/ExperienceService/content/projects/YPF2/index-desktop.html?expIndex=0#/Inicio. My Vuforia project is "YPF2" and my initial view is "Inicio". My Default Experience Service URL is http://pp-19102315304c.portal.ptc.io:8080, and my Thingworx Composer is at https://pp-19102315304c.portal.ptc.io/Thingworx/Composer/index.html  Can you give me some help? Thank you

 

Related post

Labels:
  • Labels:
  • Design
  • Mashup-Widget
0 Kudos
Reply
Notify Moderator
  • All forum topics
  • Previous Topic
  • Next Topic
8 REPLIES 8
RolandRaytchev
RolandRaytchev 21-Topaz I
21-Topaz I
(To:anaclos)
‎Oct 29, 2019 10:53 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Notify Moderator
Please log in to access translation
‎Oct 29, 2019 10:53 AM

Hi @anaclos ,

 

there is PTC article  CS284529

with Resolution / workaround - I used the workaround of it:

  • Embedding ThingWorx view app scan page into a browser is not supported
Workaround:
  • an Experience Service could be called in a preview mode  through  URL e.g. ​:
https://<experience-server>/ExperienceService/content/projects/<project-name>/index-desktop.html?expIndex=0#/Home
  • workaround works for  Studio Version 8.1.x with the default program setting
  • with version 8.2.xx and newer the workaround requires addtional settings in the configuration file :    <Windows OS User>\Documents\VuforiaStudio\builder-settings.json
  • the following options could be set in the builder-setting.json file:
"publishPreview": true  - allow to publish the preview to a browser outside the Studio environment 
       or
"enableDebugLogging": true  - the option enables the Debug logging in  the Studio settings
  • ​​​​​​​user could set the option "enableDebugLogging" also via Vuforia Studio UI ->Settings -> checkbox Enable Debug Logging
0 Kudos
Reply
Notify Moderator
anaclos
anaclos 14-Alexandrite
14-Alexandrite
(To:RolandRaytchev)
‎Oct 29, 2019 01:28 PM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Notify Moderator
Please log in to access translation
‎Oct 29, 2019 01:28 PM

Roland, I edited the file "builder-settings.json" and wrote "publishPreview": true  but I can't call the experience by URL. Thank's for your help

0 Kudos
Reply
Notify Moderator
RolandRaytchev
RolandRaytchev 21-Topaz I
21-Topaz I
(To:anaclos)
‎Oct 30, 2019 07:03 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Notify Moderator
Please log in to access translation
‎Oct 30, 2019 07:03 AM

I think you need to pay attention that the following steps are done:

- after changing the values in builder-settings.json you have to restart the studio. Means to exit it and start it again

- next you need to set the experience to publish authorization

- you need to republish the experience because only then the setting are taken in account

0 Kudos
Reply
Notify Moderator
anaclos
anaclos 14-Alexandrite
14-Alexandrite
(To:RolandRaytchev)
‎Oct 30, 2019 08:36 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Notify Moderator
Please log in to access translation
‎Oct 30, 2019 08:36 AM

Hi, Roland. I folowed the steps, but I can't browse the experience. The access is public, as you can see in the image. I think my URL is wrong. I'm going to modify the URL and keep trying. Thank you.

 
0 Kudos
Reply
Notify Moderator
RolandRaytchev
RolandRaytchev 21-Topaz I
21-Topaz I
(To:anaclos)
‎Oct 30, 2019 10:31 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Notify Moderator
Please log in to access translation
‎Oct 30, 2019 10:31 AM

The problem is that my server is also trial where I do not have access as admin to check the server settings.

So important is may be also the experience version. you can check it calling 

  • The Vuforia Experience Service Service version information can be get with the call below:
http(s)://<host>:2019/ExperienceService/properties
example :
https://mrerot7o.studio-trial.thingworx.io/ExperienceService/properties
returns:
{"version":"8.5.1-b955","defaultDomainName":"mrerot7o.studio-trial.thingworx.io","domain_id_resolver":"https://gxi.thingworx.io/ExperienceService/id-resolution/resolutions","enable_irs_federation":"true"}

I have somelocal test-installations of ES  so I will check there the behavior also on server side to find if there is no some setting required.

0 Kudos
Reply
Notify Moderator
anaclos
anaclos 14-Alexandrite
14-Alexandrite
(To:RolandRaytchev)
‎Oct 30, 2019 10:41 AM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Notify Moderator
Please log in to access translation
‎Oct 30, 2019 10:41 AM

I browse: http://pp-19102315304c.portal.ptc.io:8080/ExperienceService/properties and this is the response 

{"version":"8.4.0-b792","defaultDomainName":"localhost","domain_id_resolver":"https://gxi.thingworx.io/ExperienceService/id-resolution/resolutions/","enable_irs_federation":"true"}

  I have Administrator access to Thingworx.

0 Kudos
Reply
Notify Moderator
RolandRaytchev
RolandRaytchev 21-Topaz I
21-Topaz I
(To:anaclos)
‎Oct 30, 2019 12:38 PM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Notify Moderator
Please log in to access translation
‎Oct 30, 2019 12:38 PM

also the call should contain the port number:

https://pp-19102315304c.portal.ptc.io/ExperienceService/content/projects/YPF2/index-desktop.html?expIndex=0#/Inicio

is the start view "Inicio"  there is also Inicio.js or is only part of it / for example space in the name of the view here will lead to problem

Is publish as public ? and on this server? Often when more then one server is used  - could be also a problem

0 Kudos
Reply
Notify Moderator
anaclos
anaclos 14-Alexandrite
14-Alexandrite
(To:RolandRaytchev)
‎Oct 30, 2019 02:07 PM
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Notify Moderator
Please log in to access translation
‎Oct 30, 2019 02:07 PM

Roland: I used http://pp-19102315304c.portal.ptc.io:8080/ExperienceService/content/projects/YPF2/index-desktop.html?expIndex=0#/Inicio, and Inicio is the start view with Inicio.js (In Spanish)..I don't want to waste you more time. Thanks for all the help provided!!!

0 Kudos
Reply
Notify Moderator
Announcements






Contact Community Management
Top Tags
About
PTC.com Products & Solutions Contact
Resources
My PTC - Support PTC University Help Center - Product Guides Product Documentation Success Paths - Planning &
Implementation Guides
Other PTC Communities
Onshape Reality Lab Vuforia Engine PTC user
Terms of Service Privacy Policy
facebook twitter linkedin youtube
Powered by Khoros