GetURLByName

Returns a single XML block representing the specified URL.

Syntax

<HsvData>.GetURLByName bstrURLName, pbstrURL
ArgumentDescription
bstrURLNameString (ByVal). The URL name.
pbstrURLString. A XML block representing the URL link and its multi-language display names.

Examples

Oracle Hyperion Smart View for Office, Fusion Edition requires an additional function call to obtain the URL because its HFMOfficeProvider module cannot cache previous queries. Financial Management server will provide a function to retrieve the URL by specifying a URL name. Other clients should be able to get enough information using function GetURLsForCell. The following example will return a single XML block representing the URL with the specified URL name “ERPI_Sales.”

GetURLByName (_T(“ERPI_Sales”), pbstrURL);

An example of the returned BSTR array pbstrURL would be:

<foldercontents path="/">
  <resource name="Sales Report" description="" type="application/x-hyperion-applicationbuilder-report">
    <attribute name=”name” type=”string” xml:lang="fr" value=”Rapport de ventes” />
    <attribute name=”name” type=”string” xml:lang="es" value=”Informe de ventas” />
    <action name="Display Drill-Back" description="Launch Drill-Back" shortdesc="drill-back">
      <url>./HyperionFDM/AuthorizedPages/IntersectionSummaryByLocation.aspx?&amp;fdmAppName=CommaFDM&amp;fdmTargetAppName=Comma95&amp;sso_token=$SSO_TOKEN$&amp;sso_username=$SSO_USERNAME$&amp;sso_password=$SSO_PASSWORD$&amp;$ATTR(id)$&amp;RCP_VERSION=$RCP_VERSION$</url>
    </action>
  </resource>
</foldercontents>