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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

call experience with code javascript

Giuseppe_Fiore
15-Moonstone

call experience with code javascript

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

thnx

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

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

 

View solution in original post

2 REPLIES 2

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

 

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

Top Tags