Gets or sets a given attribute’s value.
Attr is the HFMwMbrSelDim component’s default property. For example, in VBScript <HFMwMbrSelDim>(lidAttr) is the same as <HFMwMbrSelDim>.attribute(lidAttr).
You can also set dimension attributes with the HFMwMbrSel component’s AttrAll and AttrDim properties. |
<HFMwMbrSelDim>.Attr(lidAttr)
The ID of the attribute. Valid values are represented by the HFMConstants type library constants listed in Point of View Attribute Constants. |
The following example sets the Account dimension’s value to the member list [Hierarchy].
Dim cMbrSel, cMbrSelDim, sVal Set cMbrSel = Server.CreateObject("Hyperion.HFMwMbrSel") 'g_cSession is an HFMwSession object reference cMbrSel.SetWebSession g_cSession Set cMbrSelDim = cMbrSel.dim(DIMENSIONACCOUNT) sVal = cMbrSel.buildValue (WEBOM_MBRSEL_VALTYPE_LIST, "[Hierarchy]", "") cMbrSelDim.Attr(WEBOM_MBRSEL_ID_VALUE) = sVal