Page 1 of 1

direct node access from xml

Posted: Mon Feb 25, 2019 5:14 pm
by RMari
Hello,
I'm looking if there is a way to access a specific node in a tour pointing directly the xml file instead of the html. I need to use a split screen function and it's done in html page where 2 instances of the player can run side by side. in those instances I need to load two different panoramas. It's quite simple working whit single nodes projects by pointing the right xml file but I have no idea how to get the right panorama in a tour since only the first node can be loaded in this way. Any suggestion?
Many thanks
Roberto

Re: direct node access from xml

Posted: Thu Feb 28, 2019 10:22 am
by RMari
Hello,
working with debugger I've probably find a suitable solution to open another xml file on the same node of the current in order to have a side by side comparison.

I've placed a button and assigned the Open Next Panorama action, populate the url and in expert mode $ap/$at/$af in the view field ($cur doesn't work properly) followed by /$un (user data custom node ID). As you can see in the image there is a 5th value in the string that for now I'm not able to understand what represent and was set at 4 in the string generated by the player when you go with standard values in the open next panorama action, so for now i'll keep it but it will be helpful to know what is it and if is possible to use a dynamic value also for this one.

Anyway it works perfectly!
I hope this will be useful

Roberto