Skip to main content
6-Contributor
October 5, 2022
Solved

Deeplink to Vuforia Studio Experience Service with Spaces in Project Name

  • October 5, 2022
  • 1 reply
  • 3072 views

Hi,

 

im trying to create QR codes to deeplink to experiences that have spaces in their project name, such as

'Sample Project'

 

If I urlencode the whole thing to something like

 

vuforiaview://ptc.com/command/view-experience?url=https%3A%2F%2Fvf-es.ptc.com%2FExperienceService%2Fcontent%2Fprojects%2FSample%20Project%2F

 

and build a QR code, the link is shown to be invalid.

 

Without the spaces, e.g. for a 'SampleProject', everythings fine.

 

Am I missing something here and is there a way to fix this?

 

Thank you so much

Best answer by RolandRaytchev

I see that internally to handle this it use "_" underlines ,Possible a question of Studio version

1 reply

21-Topaz I
October 7, 2022

Hi @CS_9203536 ,

so seems that space is working also for qr code example:

https://view.vuforia.com/command/view-experience?url=https%3A%2F%2Fmyexperienceservice.studio.thingworx.io%2FExperienceService%2Fcontent%2Fprojects%2Fspace%2520project%2Findex.html%3FexpId%3D1

  So when you publish the project and then go the share button - it generates the deep link and also the qr code

So I used a project named   "space project" and it was encoded to "space%2520project"    so means that here in QR code is used for space %2520     the url decoder e.g. https://meyerweb.com/eric/tools/dencoder/ will suggest %20 which will not work there

2022-10-07_14-03-10.jpg

6-Contributor
October 7, 2022

Hi @RolandRaytchev,

 

thanks for your response. So, it does not even work for QR codes created by Vuforia?

 

Does that mean there wont be any kind of fix for that?

 

Thanks and best

6-Contributor
October 7, 2022

Ah, now i see. But I tried to open your QR code above and i got an error message as well.

 

As i understand it, the suggestion is to have the space in the Experience Service URL encoded (%20) then encode the encoded string to (%2520), which basically escapes the % and append the whole thing to the vuforiaview://[...]?url= link.

 

However, I tried this before and it didnt work for me as well.