EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB19021: How to create an attribute form as a hyperlink or uniform resource locator (URL) in MicroStrategy Developer 9.4.x-10.x.


Stefan Zepeda

Salesforce Solutions Architect • Strategy


This knowledge base article explains how to create an attribute form as a hyperlink or uniform resource locator (URL) in MicroStrategy Developer 9.4.x-10.x.

There are two main methods of creating attribute forms as hyperlinks or uniform resource locators (URLs) in Strategy Developer 9.4.x-10.x. Depending on which method is used, it will determine the behavior of the hyperlinks or uniform resource locators (URLs) when:

  • Viewed from Strategy Web 9.4.x-10.x.
  • Exporting to Microsoft Excel 20xx with formatting from Strategy Web.
  • Exporting to portable document format (PDF) from Strategy Web.
  • Viewed from Strategy Developer.
  • Exporting to Microsoft Excel 200x with formatting from Strategy Developer.
  • Exporting to portable document format (PDF) from Strategy Developer.

The following examples use the Strategy Tutorial project for illustration purposes.
 
Method 1:
The following steps assume that in the data warehouse, the lookup table used for the attribute in question contains a column whose data type is text which defines the link to be used as a hyperlink or uniform resource locator (URL). For the purpose of this example, the Strategy Tutorial Data Warehouse that resides in Microsoft Access 200x is used, as shown below:
 

ka02R000000kbtqQAA_0EM440000002Ep1.jpeg

 

ka02R000000kbtqQAA_0EM440000002ON3.jpeg

 
In Strategy Developer 9.4.x-10.x:
 

  • Create an attribute form whose format is set to 'Url', e.g. using the 'Country' attribute, as shown below:
ka02R000000kbtqQAA_0EM440000002EoV.jpeg
ka02R000000kbtqQAA_0EM440000002ON8.jpeg
ka02R000000kbtqQAA_0EM440000002Eok.jpeg
  • Update the schema.
  • Create a report with the attribute created in step 1, e.g. the 'Country' attribute and a metric, e.g. the 'Unit Cost' metric.

When the report is run, the hyperlink or uniform resource locator (URL) will be displayed as static text (link is not functional), as shown below:
 

ka02R000000kbtqQAA_0EM440000002Ep4.jpeg

 
When the report is exported to Microsoft Excel 20xx, the hyperlink or uniform resource locator (URL) will be displayed as static text (link is not functional), as shown below:
 

ka02R000000kbtqQAA_0EM440000002Eoz.jpeg

 
Note: If the user double clicks on the cell containing the hyperlink or uniform resource locator (URL) and then clicks outside of the cell, then the link will become functional, as shown below:
 

ka02R000000kbtqQAA_0EM440000002Eoy.jpeg

 
When the report is exported to portable document format (PDF) the hyperlink or uniform resource locator (URL) will be displayed as functional, as shown below:
 

ka02R000000kbtqQAA_0EM440000002EoZ.jpeg

 
Note: In order for the hyperlinks or uniform resource locators (URLs) to be functional upon saving the portable document format (PDF) as a local file when exporting from Strategy Desktop 8.x, the user must make sure that the preferences for the file enable the functionality, as shown below.
 
In Adobe Reader 7.x:
The 'Automatically detect URLs from text' preference must be enabled for the portable document format (PDF) file, as shown below:

ka02R000000kbtqQAA_0EM440000002Eou.jpeg

In Adobe Reader 8.x and higher:
The 'Create links form URLs' preference must be enabled for the portable document format (PDF) file, as shown below:

ka02R000000kbtqQAA_0EM440000002Eof.jpeg

 
In Strategy Web 9.4.x-10.x:
 

  • When the report is run the hyperlink or uniform resource locator (URL) will be displayed as functional, as shown below:
ka02R000000kbtqQAA_0EM440000002Eoo.jpeg
  • When the report is exported to Microsoft Excel 20xx with formatting and saved as a local file, the hyperlink or uniform resource locator (URL) will be displayed as static text (link is not functional), as shown below:
ka02R000000kbtqQAA_0EM440000002Eos.jpeg
ka02R000000kbtqQAA_0EM440000002ONS.jpeg
  •  
    Note: If the user double clicks on the cell containing the hyperlink or uniform resource locator (URL) and then clicks outside of the cell, then the link will become functional, as shown below:
     
ka02R000000kbtqQAA_0EM440000002Eoy.jpeg
  • When the report is exported to portable document format (PDF) the hyperlink or uniform resource locator (URL) will be displayed as functional, as shown below:
ka02R000000kbtqQAA_0EM440000002EoZ.jpeg
  •  
    Note: In order for the hyperlinks or uniform resource locators (URLs) to be functional upon saving the portable document format (PDF) as a local file when exporting from Strategy Web 8.x, the user must make sure that the preferences for the file enable the functionality, as shown below.
     
    In Adobe Reader 7.x, the 'Automatically detect URLs from text' preference must be enabled for the portable document format (PDF) file, as shown below:
     
ka02R000000kbtqQAA_0EM440000002Eou.jpeg
  •  
    In Adobe Reader 8.x and above, the 'Create links form URLs' preference must be enabled for the portable document format (PDF) file, as shown below:
     
ka02R000000kbtqQAA_0EM440000002Eof.jpeg

Method 2:
The following steps assume that in the data warehouse, the lookup table used for the attribute in question contains a column whose data type is text which defines the link to be used as a hyperlink or uniform resource locator (URL) with hypertext markup language (HTML) tags. For the purpose of this example, the Strategy Tutorial Data Warehouse that resides in Microsoft Access 20xx is used, as shown below:
 

ka02R000000kbtqQAA_0EM440000002Eod.jpeg

 

ka02R000000kbtqQAA_0EM440000002ONX.jpeg

 
In Strategy Developer 9.4.x-10.x:
 

  • Create an attribute form whose format is set to 'HTML tag', e.g. using the 'Country' attribute, as shown below:
ka02R000000kbtqQAA_0EM440000002Eox.jpeg
ka02R000000kbtqQAA_0EM440000002ONh.jpeg
ka02R000000kbtqQAA_0EM440000002Eoq.jpeg
  • Update the schema.
  • Create a report with the attribute created in step 1, e.g. the 'Country' attribute and a metric, e.g. the 'Unit Cost' metric.

When the report is run the hyperlink or uniform resource locator (URL) will be displayed as static text (link is not functional), as shown below:
 

ka02R000000kbtqQAA_0EM440000002Eoj.jpeg

 
When the report is exported to Microsoft Excel 20xx the hyperlink or uniform resource locator (URL) will be displayed as static text (link is not functional), as shown below:
 

ka02R000000kbtqQAA_0EM440000002Eoi.jpeg

 
Note: If the user double clicks on the cell containing the hyperlink or uniform resource locator (URL) and then clicks outside of the cell it will not make the link functional.
 
When the report is exported to portable document format (PDF) the hyperlink or uniform resource locator (URL) will be displayed as functional, as shown below:
 

ka02R000000kbtqQAA_0EM440000002Eob.jpeg

 
Note: In order for the hyperlinks or uniform resource locators (URLs) to be functional upon saving the portable document format (PDF) as a local file when exporting from Strategy Desktop 8.x, the user must make sure that the preferences for the file enable the functionality, as shown below.
 
In Adobe Reader 7.x, the 'Automatically detect URLs from text' preference must be enabled for the portable document format (PDF) file, as shown below:
 

ka02R000000kbtqQAA_0EM440000002Eou.jpeg

 
In Adobe Reader 8.x and above, the 'Create links form URLs' preference must be enabled for the portable document format (PDF) file, as shown below:
 

ka02R000000kbtqQAA_0EM440000002Eof.jpeg

 
In Strategy Web 8.x:
 

  • When the report is run the hyperlink or uniform resource locator (URL) will be displayed as functional, as shown below:
ka02R000000kbtqQAA_0EM440000002Eov.jpeg
  • When the report is exported to Microsoft Excel 200x with formatting the hyperlink or uniform resource locator (URL) will be displayed as functional, as shown below:
ka02R000000kbtqQAA_0EM440000002Ep6.jpeg
ka02R000000kbtqQAA_0EM440000002OO1.jpeg
  • When the report is exported to portable document format (PDF) the hyperlink or uniform resource locator (URL) will be displayed as functional, as shown below:
ka02R000000kbtqQAA_0EM440000002Eoh.jpeg
  •  
    Note: In order for the hyperlinks or uniform resource locators (URLs) to be functional upon saving the portable document format (PDF) as a local file when exporting from Strategy Web 8.x, the user must make sure that the preferences for the file enable the functionality, as shown below.
     
    In Adobe Reader 7.x, the 'Automatically detect URLs from text' preference must be enabled for the portable document format (PDF) file, as shown below:
     
ka02R000000kbtqQAA_0EM440000002Eou.jpeg
  •  
    In Adobe Reader 8.x and above, the 'Create links form URLs' preference must be enabled for the portable document format (PDF) file, as shown below:
     
ka02R000000kbtqQAA_0EM440000002Eof.jpeg

Comment

0 comments

Details

Knowledge Article

Published:

June 6, 2017

Last Updated:

June 6, 2017