- Sharepoint folder with files, where the filename matches a user (for example: Jane Doe.xlsx)
- Want to send the matching file to each user, based on the matching of file name (minus the .xlsx)
- Using "get file properties" and then 'apply to each' where first step is a compose with this expression:
substring(item()?['Name'],0,indexOf(item()?['Name'],'.'))
Which generates this error: "Unable to process template language expressions in action 'Compose_2' inputs at line '0' and column '0': 'The template language function 'indexOf' expects its first parameter to be of type string. The provided value is of type 'Null'."
I'm stuck.... any suggestions are appreciated!
