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
sundhar.mks1.3962649227519546E12sundhar.mks1.3962649227519546E12 

How view the document?

Hi All,

Excel document downloaded from following code, I want to see the document with vf page. How to display the document to vf page 

Code
-----------------------------
<apex:page contentType="(displayXLSX,'application/vnd.ms-excel#StageMgr.xls','')"> 
<apex:iframe src="https://c.ap1.content.force.com/servlet/servlet.FileDownload?file=01590000005zttO" scrolling="true" height="500px" id="theIframe" />
</apex:page>

Thanks........
Mikola SenykMikola Senyk
I think it isn't possible yet.
sundhar.mks1.3962649227519546E12sundhar.mks1.3962649227519546E12
Hi,

I have attached the excel attachment to particular object. that attachment i want to view the vf page. how to do this?i have tried some way but i can't

Thanks........
 
sundhar.mks1.3962649227519546E12sundhar.mks1.3962649227519546E12
Hi Mikola, Kindly refer my code if i want to change any thing please let me know. I have tried to export the excel document to vf poge.but i did't got the solution
Mikola SenykMikola Senyk
You can vote to the following ideas:
https://success.salesforce.com/ideaView?id=08730000000BpMHAA0
https://success.salesforce.com/ideaView?id=08730000000Y1QLAA0
And maybe one day they will be delivered.