Attachments

I need some pointers / help on how to achieve the following

  1. To attach files via notes and web clients and validate the file name against a list of acceptable file names

  2. If the file name is incorrect to then rename the file to the expected attachment name. Also if an attachment already exists on the form to then increment the file name as filename#2 to denote that this is the 2nd file of that name on the form.

  3. Move the file a designated rich text field on the form.

Also I would like all of this to happen in the UI that would be a bonus.

Any assistance would be gratefully appreciated…