0 votes
405 views
in Coach Views by (16k points)

3 Answers

0 votes
by (16k points)
selected by
 
Best answer

page.ui.getContainerPath(view)

${Button1}.getAbsoluteName(path)

0 votes
by (16k 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);
by (16k points)
you will need to skip container coach views like Horizontal Layout/Vertical Layout etc.
0 votes
by (760 points)

I guess you are asking how to find the full path of a nested CV from Coach level. There is a trick I have been using since 8.5.7 (still work in BAW).

1. Run the Client Side Human Service.

2. Open developer mode of your browser then inspect the CV you want to get its full path

3. Find attribute "control-name". Its value is the full path of the CV. You can use it directly in "page.ui.get" API.

For instance: the full path found in below screenshot can be used as page.ui.get("/Simple_Form1/Integer1");

Related questions

0 votes
1 answer 200 views
0 votes
1 answer 221 views
0 votes
1 answer 150 views
0 votes
0 answers 102 views
0 votes
1 answer 374 views
0 votes
0 answers 115 views
+1 vote
0 answers 132 views
0 votes
0 answers 88 views
0 votes
0 answers 41 views
0 votes
0 answers 52 views
0 votes
1 answer 583 views

580 questions

482 answers

85 comments

1.7k users

Dosvak IBM BPM /BAW Products, Download Evaluation
Process & Performance Tools Process & Performance Tools
Code Analyzer Code Analyzer
UI Toolkit UI Toolkit
Integration Monitoring Integration Monitoring
Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...