GetPOVByTag

Returns an XML representation of the Point of View identified by the specified tag. You can then set the Point of View represented by an HFMwMbrSel object by passing the return value to the HFMwMbrSel component’s XmlString property.

Syntax

<HFMwSession>.GetPOVByTag (bstrTag, pvbIsTagTemporary)

Argument

Description

bstrTag

The tag that identifies the Point of View.

Input argument. String subtype.

pvbIsTagTemporary

Indicates whether the tag has been set to persist past the current session. Returns FALSE if the tag persists, TRUE if it does not persist.

Output argument.

Return Value

An XML string that represents the Point of View. If the tag is not found, an empty string is returned.

Example

The following example sets an HFMwMbrSel object to the Point of View stored in a tag named “myTag.”

Dim cMbrSel, bIsTemp
Set cMbrSel = Server.CreateObject("Hyperion.HFMwMbrSel")
'g_cSession is an HFMwSession object reference
cMbrSel.SetWebSession g_cSession
cMbrSel.xmlString = g_cSession.GetPOVByTag("myTag", bIsTemp)