Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
7 subscribers
Views
1009 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I have designed some User Interfaces ,but got lost while designing a UI which co
georgej
over 9 years ago
I have designed some User Interfaces ,but got lost while designing a UI which consists of lot of separate SAIL rules. To elaborate,my UI code is something as shown below. I need some conceptual guidance on how APPIAN resolves the individual rules ,before rendering the final UI.
load(
local!var1:rule!somerule1,
local!var2:rule!somerule2,
local!selectedvalue,
{
a!sectionLayout(
//here it is a grid ,which has a gridimagecoloumn--on clicking the link value is saved to local!selectedvalue
),
if(local!selectedvalue,rule!displaysection1,rule!displaysection2)
}
My question is ,Can displaysection1 & displaysection2 have their own local variables declared with load(). Can these rules internally have a!dashboardlayout or should stick with a!sectionLayout only.
OriginalPostID-170147
OriginalPostID-170147
Discussion posts and replies are publicly visible
0
chetany
A Score Level 1
over 9 years ago
Definitely displaysection1 and displaysection2 can have their own local variables declared within load. As long as you are not nesting a dashboardLayout within a sectionLayout, it is fine. A dashboardLayout can have sectionLayout, the opposite is not possible.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 9 years ago
Also sections cannot be nested i.e section within section is not allowed
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel