Quantcast
Channel: Total Business Intelligence
Viewing all articles
Browse latest Browse all 12

Action Link text is Exported to Excel

$
0
0

On a recent customer project I came across an interesting scenario when trying to export a report to Excel. The report in question contained Action Links (invoking a Browser Script) and when exported, the Action Link text and associated hyperlink appeared as an extra row beneath each data cell.

After checking with Oracle Support it seems this is expected behaviour (!) and not a bug (although why anyone would want this is a mystery to me). See 1450819.1 for more detail.

I devised a workaround by creating a duplicate version of the report without Action Links. This duplicate is then exposed via a custom ‘Export’ hyperlink on the dashboard using a bit of JavaScript to invoke the standard OBIEE export function. The syntax was like this:

<a onclick=”NQWClearActiveMenu();Download(‘saw.dll?Go&amp;Action=Download&amp;ItemName=Example%20Report&amp;path=%2fshared%2fPath%2fto%2freport &amp;Format=mht&amp;Extension=.xls’);” href=”javascript:void(null);”>Export</a>

If you plan on using this then be sure to URL encode the path and filename correctly.

Hopefully this will help someone arriving here via a search engine.

Paul


Viewing all articles
Browse latest Browse all 12

Trending Articles