openDocument syntax

well i have a BO full client report whose value have to be passed to another webi report’s prompt,
i have syntax for openDocument when i make a webireport report and link to other webi report ,but not the systax for full client to webi report,
i am using BO6.5.1 and webi 6.5.1
thanks


rgupta97 :us: (BOB member since 2005-11-18)

Actually, they are not much different. For instance, this works…create a variable at your report. This report links to report1 which is a WEBI with sType=wid. (If it is a full client report, the sType=rep)

="<a href=" +Char(34)+ “http:/wijsp/scripts/openDocument.jsp?sDocName=repor1&sType=wid&sRefresh=Y&sOpen=YsRepoType=Corporate&iDocID=8646” + Char(34) + “Links” + Char(34) + “>Link to Report1”

Good luck.

Wayne Shen


wshen (BOB member since 2004-09-24)

This works for me too, but what if you want to add a prompt within the OpenDocument function in a FC report, so that the InfoView end user can click the URL and go to a different, more detailed report?

So for example you have a FC report with a table of products, and depending on which product you click, a new more detailed FC report about this product opens.

My html code seems to be correct, but it also shows this code in my final report, and not the product name as a hyperlink…

My code:

="<a href="+"http://servername:8085/wijsp/scripts/openDocument.jsp?&amp;iDocID=999&amp;sDocName=Doc%20Name&amp;sType=rep&amp;sRepoType=Corporate&amp;lsSProduct?="+<Product>+" "+">"+<Product>+"</a>"

filip :belgium: (BOB member since 2005-12-29)

Never mind, I got it working with the Hyperlink() function :smiley:


filip :belgium: (BOB member since 2005-12-29)

hi filip
can u tell me how u used hyperlink() to get what u needed
siddharth


Siddharth :india: (BOB member since 2005-12-16)

First, please avoid IM/SMS-type abbreviations. Please take the extra second or so to spell out you rather than u, for example.

Second, please become acquainted with our Search feature. You can often find the answer to your question from a past post, without having to make a new post.

Limit your search to the appropriate version of WebIntelligence, if you prefer, and the search keyword you want to use is: OpenDocument


Anita Craig :us: (BOB member since 2002-06-17)

I have the opendocument syntax working fine in 6.5.1 FC. My users are viewing FC reports thru InfoView. Is there any syntax that will force BO to open a new IE window to view the linked report? Right now it overrights the parent report.

have been throught the guide and looked in the forum here with no luck so far. If anyone can provide some feedback that would be great.

-Jennifer

="<a href=" & Char(34) & “http://servername:portnumber/wijsp/scripts/openDocument.jsp?sDoc=Closing LC User Queue&sType=R&RepoType=corporate&iDocId=0&lsSAssigned Processor Login Name=” & Min() & Char(34) & “>” & “Return to Closing LC User Queue” & “”

I


jaycoes :us: (BOB member since 2006-07-17)

Please do some searching in the WebI forums – that’s where OpenDocument syntax is usually discussed.

However, I believe that it’s not an OpenDocument piece of syntax – but HTML syntax – that you are looking for. At least that’s the way it was in 5.x. Here is where I wrote up my understanding on non-SDK OpenDocument syntax for version 2.x, plus some extra HTML clauses, and at that time, I remember knowing that there were various HTML options for the TARGET= clause which you could pick – one of which would cause you to open in a new window.


Anita Craig :us: (BOB member since 2002-06-17)

Thanks for the reply Anita. It was HTML related. Here is what I ended up with that solves my issue.

="<a href=" &amp; Char(34) &amp; "http://server:port/wijsp/scripts/openDocument.jsp?sDoc=Underwriter Queue&amp;sType=R&amp;RepoType=corporate&amp;iDocId=0&amp;lsSUnderwriter Login Name=" &amp; <Assigned Underwriter Login Name> &amp; Char(34) &amp; " target=" &amp; Char(34) &amp; "UnderwriterQueue" &amp; Char(34) &amp; " onclick=" &amp; Char(34) &amp; "if ((window.top.opener != null) &amp;&amp; (window.top.opener.closed == false)) {window.top.opener.top.name='Next';}" &amp; Char(34) &amp; ">" &amp; <Assigned Underwriter> &amp; "</a>"

jaycoes :us: (BOB member since 2006-07-17)

hello,
I tried the same code as you have written…but am getting error
A system error occurred. (Error: INF 00130) (10305)

Can you please help…


="<a href=" &amp; Char(34) &amp; "http://server:port/wijsp/scripts/openDocument.jsp?sDoc=hrsupertest&amp;sType=R&amp;RepoType=corporate&amp;iDocId=2308&amp;lsSEnum=" &amp; <Employee Number> &amp; Char(34) &amp; " target=" &amp; Char(34) &amp; "Employee Number" &amp; Char(34) &amp; " onclick=" &amp; Char(34) &amp; "if ((window.top.opener != null) &amp;&amp; (window.top.opener.closed == false)) {window.top.opener.top.name='Next';}" &amp; Char(34) &amp; ">" &amp; <Employee Number> &amp; "</a>"

I want to click on the employee number in the master and open a child report with details.

I have a child report by name “hrsupertest” which prompts for the “Enum”.

Any help is really appreciated.
Thanks


mak1600 (BOB member since 2006-02-09)

Do I need to change any settings?


mak1600 (BOB member since 2006-02-09)