function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Can we edit and save an attachment directly to salesforce from the file opened?

We have a visualforce page which displays the attachment records related
to an object.

It Displays the File Name, File type, Size and others.
Here the file name Field is a Link which renders a standard "Attached File"
page from where we can view the information of the file and in
that we have a "View File" link under Size field of the file.

Here the standard functionality is, If we click on that "View File"
link, it will open the attachment in Read only mode or you can save the file
to the local machine.

Can we open that file in "Edit mode" i.e after opening the file just edit the file and save the file it should directly get saved back to the attchment without using any external button.

I am very thankful if any one have some solution for this.

Thanks in advance.

Seems not possible as of now.

Hi Jo,


Is there any work around to make this work.