I am working on adding a new column in activitydesktopview that shows the value from claim entity. For example, I want to display claim.Indicator.Ison and check if the activity has any document attached. I tried using Activity.Documents.hasElements or Documents.isEmpty but they did not work.
I get an error message saying the specified path is not valid. How can I add these values directly in activitydesktopview entity?
I know I can use enhancement property but that is not a proper way to do it.
ActivityDesktopView
is a view entity and the dot notationActivity.Documents
is trying to traverse an array. If you are using theviewEntityColumn
sub-element then it does not allow traversing arrays and hence the error. This is mentioned in the View Entities Documentation (Requires Login).I figured that the
computedcolumn
sub-element doesn't allow traversing arrays either and the other way to deduce this would be using something like the below on the boolean cell of the list view or through an enhancement property like you mentioned.ActivityDesktopView.Activity.Documents.Count > 0