Expand my Community achievements bar.

Need help on adding attachments to the form

Avatar

Level 2

Hello All,

I need help in adding attachments to the form. I am able to add the attachments to the form using importDataObject and able to view and delete the attachments.

Now i need to check for duplicates in the attachment list. Could anyone let me know or provide me any sample to find the duplicates within the attachment list?

My requirement is User adds attachment to the form. When they add the same attachment which was already added into the list I need to display a alert saying "you have already added this attachment". I feel I need to compare the paths but I am not able to figure how to achieve this.

Any inputs highly appreciated.

Thanks,

Sekhar.

1 Reply