No warning or error message is displayed when the user uploads a file containing duplicate advisor code and Line of business.
I need validation message when I am uploading more than 1 entry with same data.
a!forEach( items: local!constructData, expression: if( count( index( fv!item[local!constructData.advisorCode], wherecontains( fv!item[local!constructData.lineOfBusiness], tostring(local!constructData) ) ) ) > 1, "Duplicate Line of business", null ) ),
Discussion posts and replies are publicly visible
it is inside a!foreach we will not get data
Can you share your full code?I hope you are using file upload validation parameter to validate.