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
16 replies
Subscribers
8 subscribers
Views
3205 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hello, I am using the editable grid form the sail recipes and I am having troubl
patrickx
over 8 years ago
Hello, I am using the editable grid form the sail recipes and I am having trouble making it work. The every time I click the add items, the form fails and I can not see why. I have attached the grid interface, the supporting rule and the CDT I'm using in the grid
Editable Grid.zip
OriginalPostID-166299
OriginalPostID-166299
Discussion posts and replies are publicly visible
0
sikhivahans
over 8 years ago
Could you please create a rule named 'APN_isEmpty' with definition as shown in figure? Please do let me know if you have any questions. After creating the 'APN_isEmpty' rule, save the 'PX_LI_ucItemRowEach' rule once again.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
patrickx
over 8 years ago
it says APN_IsBlank isn't a rule either
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
No problem, please find attached the definition of 'APN_isEmpty' rule. After creating the 'APN_isBlank' rule, save the 'PX_LI_ucItemRowEach' rule once again and test the main interface. Everything should work fine now. Seems like Appian Common Objects aren't present in your environment.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
PFA
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
patrickx
over 8 years ago
Thank you but can I ask why was wrong with my editable grid?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
Sure, here are the notable implementation details which caused you the trouble:
1. Null values handling isn't done. As your CDT completely comprises of null values, values of the CDT attributes shouldn't be directly accessed in the 'value' attributes. This null value handling is now being done by APN_isEmpty and APN_isBlank.
2. You are making use of a column by name 'due' in the 'validations' attribute of the Date in PX_LI_ucItemRowEach. 'due' attribute is not actually a part of PX_LI_Hours cdt.
After handling above issues, your grid renders as shown in the attachment which I have done in my system.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<