0 votes
1.5k views
in Coach Views by (250 points)
I have a scenario, where a button "Test" is added on a coachview - CV1.(This CV1 is used in many CSHS and other CVs also).

Now i want to change the colour of the button dynamically and i can achieve it by

page.ui.get("/CV1/Test").setColorStyle("DANGER");

But in another CSHS , i have CV2-->CV1--> Test button, In that case i need to change it to

page.ui.get("/CV2/CV1/Test").setColorStyle("DANGER");

is there any way to get the path dynamically using some APIs based on the controlId of the button?

Please log in or register to answer this question.

Related questions

0 votes
1 answer 738 views
0 votes
0 answers 480 views
0 votes
1 answer 1.4k views
0 votes
1 answer 1.2k views
0 votes
1 answer 1.0k views
0 votes
1 answer 499 views
0 votes
0 answers 596 views
0 votes
0 answers 583 views
0 votes
1 answer 1.9k views
0 votes
0 answers 562 views
0 votes
1 answer 555 views

634 questions

495 answers

97 comments

2.7k users

Join BPM Community Discord Channel

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
...