You need to sign in to do that
Don't have an account?
Notes & Attachments Visualforce page - Good or bad idea?
I've created a custom object. I'd like to enable the user to attach documents to the form before they save it. The reason for this is that the user MUST submit this form to another department (by checking a checkbox which triggers the submission workflow). As it stands right now, in order to attach a document to the form, the user has to do the following:
1. Fill out form
2. Save form
3. Attach document
4. Edit form
5. Check SUBMIT checkbox (to trigger submission of the form)
6 Save form again
Not very intuitive at all. I would like for them to be able to do the following:
1. Fill out form
2. Attach document
3. Check Submit checkbox
4. Save
I was thinking that the best way to approach this would be to create a VF page that would provide the Notes & Atachments functionality. They would launch that page from a button in the form. So...
I was wondering:
1. If this is even possible
2. Is this is a good solution?
3. Can you recommend a better solution?
4. If it is possible, and a good solution, can you describe what seps I should follow to achieve it?
Thanks in advance.
Yes, it is possible.
Here is what I have compiled for you.
Extension class (addcntdocExt)
Visual Force Page (addcntdoc)
Hope that helps.
Afzal