This discussion is archived
7 Replies Latest reply: Aug 17, 2013 12:51 AM by Srinath Menon RSS

RIDC - DOC_INFO - DocUrl - How to avoid the revision flag from the returned Web URL

VipinPillai Newbie
Currently Being Moderated

Hi,

 

Using RIDC, DOC_INFO service returns the docurl with revision flag, which is a broken URL from browser.

 

String DocUrl = response.getLocal("DocUrl");

Result:http://<server>:16200/cs/groups/secure/documents/document/mdaw/mday/~edisp/002264~1.jpg  (How do I exclude the revision (~1) from the doc url returned.)

 

The IsJava browser URL returns the DocUrl correctly for the same service as below. Please advise.

 

IsJava URL : http://<server>:16200/cs/idcplg?IdcService=DOC_INFO&dID=2461&IsJava=1

Result:

<?hda version="11gR1-11.1.1.7.0-idcprod1-130304T092605" jcharset="UTF8" encoding="utf-8"?>

@Properties LocalData

DocUrl=http://<server>:16200/cs/groups/secure/documents/document/mdaw/mday/~edisp/002264.jpg

IdcService=DOC_INFO

IsJava=1

 

Thanks,

Vipin Pillai

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points