HypResetFriendlyName
Describes the Oracle Smart View for Office VBA function, HypResetFriendlyName.
Cloud data provider types: Oracle Analytics Cloud - Essbase, Planning, Planning Modules, Financial Consolidation and Close, Tax Reporting
On-premises data provider types: Oracle Essbase, Oracle Hyperion Planning, Oracle Hyperion Financial Management
Description
HypResetFriendlyName modifies the friendly name to a new one. To modify the friendly name of a connection in the Smart View Panel, Smart View must be connected to the data source provider.
Syntax
HypResetFriendlyName (vtOldFriendlyName, vtNewFriendlyName)
By Val vtOldFriendlyName As Variant
By Val vtNewFriendlyName As Variant
Parameters
vtOldFriendlyName: The old friendly connection name
vtNewFriendlyName: The new friendly connection name
Return Value
Returns 0 if successful; otherwise, returns the appropriate error code.
Example
Declare Function HypResetFriendlyName Lib "HsAddin" (ByVal vtOldFriendlyName As Variant, ByVal vtNewFriendlyName As Variant) As Long
Sub Example_HypResetFriendlyName()
Dim lRet As Long
lRet = HypResetFriendlyName("server2_Sample_Basic", "My Sample Basic")
End Sub