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
apexnewbieapexnewbie 

VisualForce page rendering MSWord Doc

I have created a VF page that renders a Word doc. It works but is there any way to automatically open up Word. Right now the Word doc is downloading (I have Windows 7, Word 2010), but if somoeone doesn't know it's downloading, they might think nothing is happening. If it could open Word up rather than just save it to the download folder it would be much more obvious to a user.

 

Thanks

 

<apex:page standardController="Investment__c" showheader="false" contentType="application/msWord" cache="true"> 

Best Answer chosen by Admin (Salesforce Developers) 
apexnewbieapexnewbie

Yes, I am using Chrome.

All Answers

Andy BoettcherAndy Boettcher

That is a browser-side behavior.  Some browsers are set to download only, some prompt - it is a decision you must instruct your users to change on their browsers.

RizwiRizwi

I think you are using the chrome browser

apexnewbieapexnewbie

Yes, I am using Chrome.

This was selected as the best answer