Hello everybody,
My EditForm contains multiple attachment controls. For future reference, I'd like to change the name of the file based on the attachment control that was used to add the attach the file.
I found this excellent video from Reza Dorrani: https://www.youtube.com/watch?v=hJQjGE-oUpM
From 14:24 he shows that what I want to do is achievable, but I'm simply not good enough to see how he has done this.
For the attachment control where the user attaches a shipping label, I've tried the following OnAddFile properties:
1)
{Name:"ShipLabel-" & ThisItem.Name,
DisplayName: "ShipLabel-" & ThisItem.Name}
2)
{Name:"ShipLabel-" & Name,
DisplayName: "ShipLabel-" & }
Option1 does not do anything, and option2 fails because 'Name' is not recognized.
I'm hoping that someone can steer me into the right correction with this issue and would truly appreciate your input.