Discussion
Pegasystems
IN
Last activity: 4 May 2016 8:09 EDT
How can i find a when rule in specific layout in a section rule which is having many layouts with visibility when conditions?
1)How can i find a when rule in specific layout in a section rule which is having many layouts with visibility when conditions?
2) how can i find which layout is picked in runtime through "view source" ?
is there any "index" specific to layout has been loaded in source code.Please tell me that attribute.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
GB
Hello Dinesh,
Could you clarify your first question. I don't understand what you are asking.
In answer to your second question, if you are using Pega 7, then you can use the UI Inspector to determine which UI rules are used to render a screen. Which version of PRPC are you using.
Regards
Andrew Fontenelle
PDn Support Team
Pegasystems
IN
Hi
Version : pega 7
Q1) If a section contains same kind of layouts (layout 1 ,2 , 3 .........20 ) with different visibilty conditions.
for each visibility condition i specified when rule.Now if someone wants to know a when rule named "IsIndia" .Now what they should ?
To check , opening every layout visibilty condition is time taking right? So can i find that layout easily by using "View XML" ?how?
Q2)This question is related to first one( section contains same kind of layouts (layout 1 ,2 , 3 .........20 ) with different visibilty conditions) . Using UI inspector we can find section, but i want to find which layout in that section is picking on runtime? is it possible to know through HTML code ?
Hi
Version : pega 7
Q1) If a section contains same kind of layouts (layout 1 ,2 , 3 .........20 ) with different visibilty conditions.
for each visibility condition i specified when rule.Now if someone wants to know a when rule named "IsIndia" .Now what they should ?
To check , opening every layout visibilty condition is time taking right? So can i find that layout easily by using "View XML" ?how?
Q2)This question is related to first one( section contains same kind of layouts (layout 1 ,2 , 3 .........20 ) with different visibilty conditions) . Using UI inspector we can find section, but i want to find which layout in that section is picking on runtime? is it possible to know through HTML code ?
tfkb
Hi, Did you find a way for Q1 question? I also need.
Pegasystems Inc.
GB
Hello Dinesh,
Because Layouts are not standalone rules, you will not see details in the UI Inspector. But if you select the UI Tree from the Tool bar:
It is possible to determine the layout being used. Hover over the Layout in the UI Tree Panel and it is possible to access its properties:
This should allow you to determine which Layout is being used at runtime:
Regards,
Andrew Fontenelle
PDN Support Team
Pegasystems
IN
Thank you for your help.it resolved some of my problems which i am facing but some times UI tree is not coming in composite portal.Is there any way i could find layout through HTML. like i find an attribute "section_index" in source code is it referencing layout index?
i added description for question 1.Please check it.
Pegasystems Inc.
GB
Hello Dinesh,
Unless you write custom HTML, it is autogenerated which is a best practice. You can view the autogenerated HTML/Javascript from the HTML tab of a rule or on the UI Screen right click, then select View Source to see the generated 'code' as well. There are no Developer tools which allow you to debug at the HTML level.
You mentioned that you are not always seeing the UI Tree in the Developer Portal. Which browser are you using?
Regards,
Andrew Fontenelle
PDN Support Team
BNY Mellon
IN
Hi, Even I never saw UI Tree(only UI inspector is visible for me).
I am using IE9.(PRPC 7.1.5v)
Regards,
Venkat
Pegasystems Inc.
GB
Hello Venkat,
The UI Tree was introduced with 7.1.6 so as you are using 7.1.5 (I believe), you will not see it on the tool bar of Designer Studio.
Regards,
Andrew Fontenelle
PDN Support Team
tfkb
Hi, Did you find a way for Q1 question? I also need.
For example, I have a property which name is xRule. I use xRule in some sections. But I dont know or I forget which control in the section binded to xRule property. I want to see which control is binded to xRule in the section. I dont want to check all control one by one. Because a lot of sections are available and a lot of controls are available in a section.
Thanks..