SAP Community Network Forums » Portal » Portal Content Development

Thread: A ZIP at Object Services

This question is answered.


Permlink Replies: 1 - Pages: 1 - Last Post: Sep 16, 2009 12:57 PM Last Post By: Carlos Ferreira
Carlos Ferreira

Posts: 140
Registered: 2/13/07
Forum Points: 0
 
A ZIP at Object Services  
Posted: Sep 16, 2009 11:49 AM
Click to report abuse...   Click to reply to this thread Reply
Hi all.

I have to open ZIP files stored in the Object Services (The attachments at PA30) from the portal.

Right now I have a working program that opens DOCs and PDFs... But I cannot use the same method to achieve this.

The method I´m using is get the document URL, store it in the http response and then use JavaScript to open this URL. This doesn´t work for ZIP and I don´t know why...

... Any ideas??

Thanks in advance.
Carlos Ferreira

Posts: 140
Registered: 2/13/07
Forum Points: 0
 
Re: A ZIP at Object Services  
Posted: Sep 16, 2009 12:57 PM   in response to: Carlos Ferreira in response to: Carlos Ferreira
Click to report abuse...   Click to reply to this thread Reply
Solved:

The URL has to be complete in this case...

/sap(bD1lcyZjPTA2MA==)/bc/bsp/sap/zhrbsp0007/4AB0BF639BB200D9E1008000AC1603CB is not enought

http://HOST:PORT/sap(bD1lcyZjPTA2MA==)/bc/bsp/sap/zhrbsp0007/4AB0BF639BB200D9E1008000AC1603CB is OK

It was easy, but... You have to find it ;)

Point your RSS reader here for a feed of the latest messages in all forums