Hi All,
I am using relative path hyperlink syntaxes to WebI reports.
These links are working fine while calling from BO application.
I am using the same syntaxes in xcelsius dashboard to call the same report but it is not working fine.
why are you using …/…/ path? To get that to work you have to call it from a specific location on your web server. Use fully qualified URL and you should be good.
So does it work if you use the full path?
What do you mean they work when calling from the BO application? Is that from InfoView? How do you call them like that?
You need to outline what you are doing a bit further before anyone can help you.
Because I need to move the file to different environments. But each time I need to update the server:port,reportname,details.So, I am using the relative path.
I am getting the error in while openuing the report in infoview:
HTTP Status 404 - /jsp/Flash_View/opendoc/openDocument.jsp
message /jsp/Flash_View/opendoc/openDocument.jsp
description The requested resource (/jsp/Flash_View/opendoc/openDocument.jsp) is not available.
You’ll probably find that you can’t use relative paths from within Xcelsius.
As a workaround, you could add a cell to your Excel model that contains the server and port numbers, and inserts them into the absolute opendocument path. Then you just have a couple of cells to change when you move environments.
cashworth,Thanks for the reply.
Can you please tell me the steps to implement the server and port numbers details on Excel sheet. I am little bit confusing on this.
cashworth, Excellent
I have implemented the above but how to pass the server details dynamically?
For example, if I export to server A , It needs to call Server A details(Server,port number and CUID) in the hyperlink details from the cell.
Hmm, not entirely sure how you’d do that, I don’t know if you can pull the current host or referrer from flash variables (if such environment variables exist).
Use Relative path (do not hardcode server name in the excel). It will start as below. Export the flash into the new server and by default the new server will be effective (if doubtful, perform some data validation).
You actually can use relative addressing in Xcelsius. It just isn’t exactly the same syntax you would use in WebI or Crystal. We faced this problem a while back. What I found is that for some reason Xcelsius does not properly substitute the server value with the syntax
"../../OpenDocument/opendoc/openDocument.jsp?
If you remove the first 2 dots as in
"/../OpenDocument/opendoc/openDocument.jsp?
it will work fine. It took a bit of investigation to see what Xcelsius was actually generating, then I experimented to see if I could get it to work. I’m not sure why Xcelsius doesn’t like the standard syntax but the modified syntax as shown above does work.
tmarion and selvaips,
Thanks for the spending time for this issue.
I am using this syntax but still it throws the error in infoview and doen’t work on xlf file.
Syntax:
HTTP Status 404 - /jsp/Flash_View/OpenDocument/opendoc/openDocument.jsp
--------------------------------------------------------------------------------
type Status report
message /jsp/Flash_View/OpenDocument/opendoc/openDocument.jsp
description The requested resource (/jsp/Flash_View/OpenDocument/opendoc/openDocument.jsp) is not available.