Focal Point
[SOLVED by case] Dynamic links within MR/dashboard

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/489107634

May 07, 2010, 12:21 PM
Charles Morris
[SOLVED by case] Dynamic links within MR/dashboard
I need to reference PDF stored files on a FTP server within BI dahsboard page as
links - I know how to create "New URL" within the MR domain and this works for
static rpt names; however, I need to dynamically generate the name based on who
logged into the DB, e.g. a store mgr. I already have a routine that will
identify the appropriate info and can build a DM string with the correct
filename. How do I invoke it so that when the user clicks the link it will
retrieve the report?
Realize also that this may just be one of several links within the block of the BI dashboard

This message has been edited. Last edited by: Kerry,


WF 7.7.x, Solaris
May 07, 2010, 04:40 PM
eb
If you already have the path names through DM, how about something like this:

-SET &VAR1 = 'PDF_FILE_1';
-SET &VAR2 = 'PDF_FILE_2';

-HTMLFORM BEGIN
 <A HREF="FTP path / &VAR1" target="_blank"> &VAR1 </A> <BR>
 <A HREF="FTP path / &VAR2" target="_blank"> &VAR2 </A>
-HTMLFORM END



Erfan
WF 7.6.5 / BID / Info Assist / Report Caster


WF 7.6.5 / BID / Info Assist / Report Caster - HTML/PDF/EXCEL
May 10, 2010, 04:52 PM
Charles Morris
we actually came up with a more elegant solution - check case#61262542 and look at the uploaded files


WF 7.7.x, Solaris
May 10, 2010, 05:14 PM
Tony A
Charles,

A case that is raised is not available to all especially when it could contain files that might be confidential in nature to the company raising the case, thus it is unlikely that we could see the files to which you refer.

If you want to share the method then it would be better to give a digest direct on the forum.

For what it's worth, if you had the DM to provide the link according to who was logged in then it should be an easy case of returning the URL as the result of a AJAX call which is what I probably would have suggested, however, I'm sure we would be interested in how you solved your requirement.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10