As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Difference between revisions of "Tips:Adding URL Links to a Web Report Studio Report"

From sasCommunity
Jump to: navigation, search
(Scheduled May 6, 2011)
Line 21: Line 21:
[[Category:Tip Ready]]
[[Category:Tip in Use]]
[[Category:SAS Web Report Studio]]
[[Category:SAS Web Report Studio]]

Revision as of 21:45, 2 May 2011

You can add a custom URL link in your Web Report Studio report output by creating a custom measure in Information Map Studio.
First, create a custom data item. You can follow the Information Map User Documentation for this one.
Next select 'Edit' button in the 'Expression Settings' area and type in the URL path.
If you are using another data item as part of the URL path (say, for a parameter in a Stored Process result), use SAS functions to include this as well.

Error creating thumbnail: Image type not supported
 /* breaking up into bits so it displays better */
"<a href=/SASStoredProcess/do?"
  || "_program=/test+folder+location/stp+program+name&promptval="
  || strip(put(<<TABLENAME.COLUMNNAME>>,12.))||">"
  || strip(put(<<TABLENAME.COLUMNNAME>>,12.))||"</a>"

Finally, Move to the Classification Tab and select 'Display as a hyperlink'.
Note: Only the custom data element is underlined in a resulting Web Report Studio List Report. Report Linking (per Report Studio Documentation) will display everything as underlined in a list report because it links to a subsequent application.


Submitted by Angela Hall. Contact me at my Discussion Page.