How to call instance of document through hyperlink

I have created Hyperlink using Opendoc see below
="<A href = http://webserver/OpenDocument/opendoc/openDocument.jsp?sDocName=ILDirectMarginWeekly&sReportName=[Manager]&sType=wid&sPath=[Test]&sInstance=Last&sRefresh=Y""

I am calling instance of report .
But i have Four instance of same report and i want to call each instance with diffrent link.
example
I have four Link
JAN
FEB
MAR
APR

if i will click on JAN it will show the first instance.
and when we click on FEB it will show second instance.and so on.

But in opendoc parameter we have
sInstance = User (Link to latest instance owned by current user)
=Last (Link to latest instance for report)
=Param (Link to latest instance of report with matching
parameter values)

How can we call the old insatnce of same report using hyperlink?


sarita.verma (BOB member since 2009-04-15)

Is it possible to make Jan, Feb, March etc as a “Month” prompt and then pass Month prompt value through opendoc?


bo_kid (BOB member since 2008-10-09)

You are right but if we will pass the month prompt to instance through the hyperlink.it will refresh agian the instance.
In our case we want to refresh the report before and call in hyperlink.when hyperlink will call those instance it will not take more time to open.


sarita.verma (BOB member since 2009-04-15)

Required help on this ASAP.


sarita.verma (BOB member since 2009-04-15)

sarita,
Have you studied the “be_xi_r2_opendocument.pdf” guide? There is a section dedicated to sInstance on p. 12…

So, I think bo_kid was referring to when he asked about the Jan, Feb, Mar as a prompt is heading you in the right direction. It seems you must develop a prompt for the report, and run it enough times so that there is a Jan, Feb, Mar version which can be picked up by using the answer to a prompt.

&amp;sInstance=Jan

I for one have never used the sInstance=Param usage before, so best wishes to you.

Thanks,
John

p.s. replying with “Required help on this ASAP.” is frowned upon; something about we’re all volunteers who post replies, so using such comments will not get your posting answered any quicker… :wink:


jsanzone :us: (BOB member since 2006-09-12)

Thanks a lot John and Bo_Kid.
I think i got the solution. :smiley:
i will implement and let you know.
I will read the document “be_xi_r2_opendocument.pdf”.


sarita.verma (BOB member since 2009-04-15)

Hi,
I am trying to do the same thing. Can you please send me the way you passed the parameters ?

I am passing the parameter value and get an error stating :
An error has occurred: An error occured while trying to view the document

The “User” and “Last” work fine.


itsani07 (BOB member since 2007-07-09)