cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying PDF and Word Document

Former Member
0 Kudos

Hi,

I have used the methods to display HTML :

1. Link to Action and the IFrame -> The Result was the html file I was able to display in the same window.

2. Link to URL -> The Result was html file opened in different window.

3.IFrame and attaching the file in project -> it was resulted in html file getting dispalyed in IFrame.

Now if I want to extend the functionality for PDF or word document, is the procedure same or different

Can anyone enlighten me on this

Any thoughts on this.

Thanks in Advance

Srikant

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Venkata,

Both methods also work with Word document and PDF files also. When you use Link to action it will open Word or PDF file in new browser. Also you can view the document in same window under iframe.

But, if you want enhance functionality in PDF files like entering data in PDF file and Generating own PDF file based upon data, then you have to use Adobe Forms in your webdynpro application.

Regards,

Bhavik

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Venkat,

You can put any file in the folder of the server you have created alias for and open it with linkToUrl. And for opening those document in same window you have to give _self in the target property of the linkToUrl. For more options on opening modes of the file, see the help associated with the linkToUrl by right clicking on it.

Regards,

Jaydeep

Former Member
0 Kudos

Hi srikant,

You can also display word documents and pdf by uploading it in the server.

For this you'll have to create aliases in the server for the corressponding documents that you want to uploaad.

Go to visual admin ->services->httpprovider.

Then click the tab 'aliases'. Here you can give the name of your alias and also the document to which the alias should point(first upload the document to the server machine and then give the path here ) .

Now when you type http://server:port/aliasname your document will open in the browser. You can display it either through your iFrame or linktourl as you prefer.

Hope my effort will help you.

Regards,

Rahul.

Former Member
0 Kudos

Hi

You can use an IFrame itself to display the PDF and Word documents, the same what you did with your HTML file can be done here too.

Thanks and Regards

Leena

Former Member
0 Kudos

Hi Srikant,

Link URL should solve your problem. The word or PDF document will be opened in a separate window.

If you want to view the file in the same window then you can use Link to action and iFrame. Based on action you have to change the source of the iFrame.

Regards,

Santhosh.C

Former Member
0 Kudos

Hi Srikant,

YOu can use "OfficeIntegration" for Word and "Adobe Interactive forms" for adobe if you want to open the doc in the webdynpro view .

YOu can use link to URL also .

Regards, Anilkumar