on 06-28-2007 11:29 AM
Hi,
Is it possible to open a doc/pdf file from KM without copying it on local machine.
Regards.
Hi Nirav,
It is possible.
Refer this weblog. It is an excellent one
/people/bobu.georgeputheeckal/blog/2006/12/22/getting-an-image-from-km-documents-to-be-used-in-web-dynpro
Regards
Fahad Hamsa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
create a lik to url ui element bind th url
url= http://xxx:50xx00/irj/go/km/docs/kmpath.
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nirav,
When accessing a resource in the KM you have an object of type IResource.
for this object you can get an IContent object and convert it into an array of bytes.
Then for displaying the file's content:
byte[] fileContent = .......
type = WDWebResourceType.PDF;
IWDCachedWebResource pdfResource= WDWebResource.getWebResource(fileContent,type);
wdComponentAPI.getWindowManager().createExternalWindow(pdfResource.getURL(),"fileName",true).open();
Regards, Adi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.