Created By Dosvak LLC (WWW.DOSVAK.COM)

0 votes
18 views
in Coach Views by (10.3k points)

1 Answer

0 votes
by (10.3k points)
This function will give you the full path if you pass the this object for the current coach view

var fullpath = function(cthis){
var fullviewid = "";
while(cthis){
fullviewid = cthis.context.viewid + "/" + fullviewid ;

cthis = cthis.context.parentView();
}
return "/" + fullviewid;
}

to use simplly call

var fullviewpath = fullpath(this);

Related questions

0 votes
1 answer 10 views
0 votes
1 answer 81 views
0 votes
0 answers 13 views
0 votes
1 answer 218 views
0 votes
0 answers 56 views
...