I'm using a paging grid to add the data to the same on clink of a button aft

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

Parents
  • 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.
Reply
  • 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.
Children
No Data