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
5 replies
Subscribers
7 subscribers
Views
3114 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Reuse components on SAIL form
Howard
over 8 years ago
We in process of transitioning our old forms to SAIL. Almost all of our task forms display the same information in a header, we currently have a rule to generate a HTML table to display this. In SAIL, it looks like you can't display a HTML table. Is there a way to create an interface with this common information and insert it into the corresponding task interfaces?
OriginalPostID-240639
Discussion posts and replies are publicly visible
0
rodgraham
Certified Lead Developer
over 8 years ago
Create a rule/interface with the common information and call that from all the forms that need to display the information. By splitting sail forms into many rules you make many reusable components
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Dastagiri Dudekula
over 8 years ago
Step-1: Identify the common data to be displayed on various screens
Step-2: Create an interface/expression rule with suitable section or column layout
Step-3: Create rule inputs to accept data into the interface/expression
Step-4: Implement the logical display of data and save the interface/ expression
Step-5: Configure the interface or rule wherever required with suitable type of data
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Howard
over 8 years ago
Thanks, I was able to get it to work with these recommendations.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Howard
over 8 years ago
Ok, I have another question. Now that I got this to work, this rule interface will be used for most of the forms that we have, the values for the rule inputs are saved into process variables. I changed the ri! to the corresponding pv! variables in a subsequent form and it works. Is this best practice or should I be using the ri! inputs? Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rodgraham
Certified Lead Developer
over 8 years ago
For me best practice is to use the ri - makes it easier to read and understand, others may disagree
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel