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
3 replies
Subscribers
7 subscribers
Views
1548 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Is there a way to use the a!applyComponents() for an interface with multiple sec
nickh413445
over 9 years ago
Is there a way to use the a!applyComponents() for an interface with multiple sections?
OriginalPostID-179254
OriginalPostID-179254
Discussion posts and replies are publicly visible
0
Tim
Certified Lead Developer
over 9 years ago
I think you need to provide a bit more detail on the use case but in answer to your question, yes.
forum.appian.com/.../SAIL_Recipes.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
nickh413445
over 9 years ago
Say you have an interface rule!abc(ri!z) defined as { a!sectionLayout(), a!sectionLayout()} and in a separate interface call a!applyComponents(rule!abc, local!list)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
Nick, yes that's possible. As far as I know, a!applyComponents() can be used to return an array of any type of SAIL component. The one issue you might hit is where the rule you're calling with a!applyComponents() returns an array of components - in that case, you may need to wrap your call of a!applyComponents() in a call of fn!reduce() that uses fn!append, in order to join the arrays together into one larger array.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel