You need to sign in to do that
Don't have an account?
Karthikeyan Chandran
instead of getting downloaded MS Word documents should open in a new page
I have created a custom object 'ABC' from the related list in 'Notes & Attachments' instead of getting downloaded 'MS Word' documents should open in a new page.
The option is not currently availabble, as the MS Word Documents are not available for preview in the browser.
Kindly post an idea in the Idea Exchange : https://success.salesforce.com/ideaPost
Also see the links below for getting the preview using Visualforce,
Document preview with Visualforce
http://salesforce.stackexchange.com/questions/4715/document-preview-with-visualforce
There are quite a few "document previewers" out there.
The one I would use is this the google docs viewer. You can use the link below to get the URL format you'd need for the file, and then I'd embed that in a visualforce page using <apex:iframe>
https://docs.google.com/viewer
Other options include flexpaper or issu
http://flexpaper.devaldi.com/default.jsp http://issuu.com
Another easier option which works well is to just use a simple embed tag with src= url of your file which if its an attachment can use the following syntax
<embed src="{!URLFOR($Action.Attachment.Download, worksheet.Attachments[0].Id)}" style="width:100%; height:950px;">
</embed>
http://salesforce.stackexchange.com/questions/18243/how-to-preview-documents-in-salesforce
Regards,
Ashish
All Answers
The option is not currently availabble, as the MS Word Documents are not available for preview in the browser.
Kindly post an idea in the Idea Exchange : https://success.salesforce.com/ideaPost
Also see the links below for getting the preview using Visualforce,
Document preview with Visualforce
http://salesforce.stackexchange.com/questions/4715/document-preview-with-visualforce
There are quite a few "document previewers" out there.
The one I would use is this the google docs viewer. You can use the link below to get the URL format you'd need for the file, and then I'd embed that in a visualforce page using <apex:iframe>
https://docs.google.com/viewer
Other options include flexpaper or issu
http://flexpaper.devaldi.com/default.jsp http://issuu.com
Another easier option which works well is to just use a simple embed tag with src= url of your file which if its an attachment can use the following syntax
<embed src="{!URLFOR($Action.Attachment.Download, worksheet.Attachments[0].Id)}" style="width:100%; height:950px;">
</embed>
http://salesforce.stackexchange.com/questions/18243/how-to-preview-documents-in-salesforce
Regards,
Ashish
Sure, I will post an idea in the Idea Exchange.