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
4 replies
Subscribers
7 subscribers
Views
2266 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I'm using a paging grid to add the data to the same on clink of a button aft
deepanc712
over 9 years ago
I'm using a paging grid to add the data to the same on clink of a button after selecting the required item from the dropdown list,in the sail design interface the code is working good, but when the same is called to tempo, the exception is returning as "[label=“Assigned Countries”] has an invalid value for “identifiers”. None of the values in “identifiers” can be null." Though I have a null check conditions on all the elements of the grid..
Can any one suggest me the way to go..
Best,
Deepan.
OriginalPostID-150244
OriginalPostID-150244
Discussion posts and replies are publicly visible
0
Tim
Certified Lead Developer
over 9 years ago
What expression are you using for your null check? Try using rule!APN_isBlank() from Appian Common Objects
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tom Ryan
Appian Employee
over 9 years ago
Assuming you are using different data at runtime than in the interface designer, it looks like you might be trying to create a grid without any data, which could cause problems if your null checks are for individual elements. If that is the case, you could wrap the whole grid in a null check, something like:
if ( isnull( <grid data>, a!textField(label: "There is no data to display"), <your grid here> )
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
khalidk912
over 9 years ago
From the error message it looks like one of the value in identifiers array is null. To find and remove the null value from array, use this expression by passing identifier array as input. - remove(ri!input, where(apply(isnull(_), ri!input))) -
After doing this you might get another error saying that the number of values in every column must be same. This is because we have removed null values from identifiers array and left other column as is. After getting the index of null values try to remove the row from gridData CDT. Ideally we shouldn't get null values in identifiers array as it is often same as primary value.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
deepanc712
over 9 years ago
Thanks, I have sorted out the issues, as there is a difference set function which was filtering null values on the cdt comparison.. Thanks Everyone for the support.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel