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
7 replies
Subscribers
7 subscribers
Views
1934 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Sorry again, but I am using the "Use Selection For Bulk Actions in an Inlin
patrickx
over 9 years ago
Sorry again, but I am using the "Use Selection For Bulk Actions in an Inline Editable Grid" sail recipe and whenever I try to test the form with a row, it crashes saying that PX_LI_EditableGridApprovalSupportingRule doesn't work and will not give me the reason why. I've tried to check for null values and it still doesn't work, so I'm wondering what is it that I'm doing wrong here. I have included all the expression rules and form in the attachments, thank you
approvehours.txt
OriginalPostID-166829
OriginalPostID-166829
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 9 years ago
@patrickx The supporting rule(PX_LI_EditableGridApprovalSupportingRule) consists of 6 columns whereas the a!gridLayoutHeaderCell() configuration in the a!gridLayout() (in approvehours) shows that there are 7 columns. If I am not wrong, as per your earlier post in forum, 'due' is not a part of your rules.
Also the configuration of rows as per the attachment isn't in a right manner as follows:
rows: a!applyComponents(
function: rule!(
items: ri!hours,
index: _
),PX_LI_EditableGridApprovalSupportingRule
array: if(or(isnull(ri!hours), count(ri!hours) < 1), {}, 1+enumerate(count(ri!hours)))
),
which actually should be as follows:
rows: a!applyComponents(
function: rule!PX_LI_EditableGridApprovalSupportingRule(
items: ri!hours,
index: _
),
array: if(or(isnull(ri!hours), count(ri!hours) < 1), {}, 1+enumerate(count(ri!hours)))
),
I would like to suggest you to correct above and test the interface once again, mean while some one gives you more suggestions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 9 years ago
@patrickx The supporting rule(PX_LI_EditableGridApprovalSupportingRule) consists of 6 columns whereas the a!gridLayoutHeaderCell() configuration in the a!gridLayout() (in approvehours) shows that there are 7 columns. If I am not wrong, as per your earlier post in forum, 'due' is not a part of your rules.
Also the configuration of rows as per the attachment isn't in a right manner as follows:
rows: a!applyComponents(
function: rule!(
items: ri!hours,
index: _
),PX_LI_EditableGridApprovalSupportingRule
array: if(or(isnull(ri!hours), count(ri!hours) < 1), {}, 1+enumerate(count(ri!hours)))
),
which actually should be as follows:
rows: a!applyComponents(
function: rule!PX_LI_EditableGridApprovalSupportingRule(
items: ri!hours,
index: _
),
array: if(or(isnull(ri!hours), count(ri!hours) < 1), {}, 1+enumerate(count(ri!hours)))
),
I would like to suggest you to correct above and test the interface once again, mean while some one gives you more suggestions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data