Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
Replies
8 replies
Answers
2 answers
Subscribers
7 subscribers
Views
6256 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
How can I make a form section collapsed as default when SAIL form is loaded?
zulfiqarp
over 9 years ago
How can I make a form section collapsed as default when SAIL form is loaded?
OriginalPostID-148743
OriginalPostID-148743
Discussion posts and replies are publicly visible
0
subramanian Valliappan
Certified Lead Developer
over 9 years ago
Sections Cannot be collapsed by default. Please refer this post
forum.appian.com/.../e-119802
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
palaniappanv
over 9 years ago
Check the below code it might give you an idea.
New Text Document.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
zulfiqarp
over 9 years ago
Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jamesp0015
over 6 years ago
check " isInitiallyCollapsed " property .
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prakashb9987
Certified Senior Developer
over 6 years ago
There's an isInitiallyCollapsed property that you could set which might help? It's only available on some of the more recent versions of Appian
or
it is possible by rule inputs or identifying logged-in users and checking whether he is member of group or not.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Narmada
A Score Level 1
over 6 years ago
Hi, once try the below code. It might help for you.
a!sectionLayout(
label: "Colors",
contents: {
a!richTextDisplayField(
value: a!richTextItem(
text: "Red"
)
),
a!richTextDisplayField(
value: a!richTextItem(
text: "Blue"
)
),
a!richTextDisplayField(
value: a!richTextItem(
text: "Pink"
)
)
},
isCollapsible: true(),
isInitiallyCollapsed: true()
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
0
krishnau3863
Certified Senior Developer
over 6 years ago
Hi zulfiqarp,
In your section layout, user the parameter isInitiallyCollapsed: true(), so it makes your section collapsed, when you load the form.
Regards,
Krishna.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
yeswanththiyarir
over 6 years ago
As all others said it is one of the properties of the component. You can always see the available properties of a component in the appian documentation or you can also find properties of functions in the description section when editing the code in expression mode.
Thanks
Yeswanth.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel