Skip to main content
15-Moonstone
November 19, 2019
Solved

call experience with code javascript

  • November 19, 2019
  • 1 reply
  • 1174 views

Is there a way through scripts to call an experience from within another experience

thnx

 

 

Best answer by Giuseppe_Fiore

I found the Solution. 🙂

 

if someone needs the solution here.

 

$scope.load=function() {
window.location='..URL of Experience'
}

 

the url of experience ,  use that in Experience Sharing.

BYE

 

1 reply

Giuseppe_Fiore15-MoonstoneAuthorAnswer
15-Moonstone
November 19, 2019

I found the Solution. 🙂

 

if someone needs the solution here.

 

$scope.load=function() {
window.location='..URL of Experience'
}

 

the url of experience ,  use that in Experience Sharing.

BYE

 

21-Topaz I
November 19, 2019

also this will work. You need to check on the different devices - but think to remember that on one device the location was not working / but not sure - 

 

$scope.openUrl=function()
{
let url= "https://www.bing.com/"

// here instead of this link used the deep link which is provided by experience share menu of the project
window.open(url)
}

 

 

As url  here use  for the url / variable value -  the deep link which is provided by the menu Share>Share Experience > copy  of the project which you want to open.

Addional your device need to be configured to associate the link with the Vuforia View