Cicode Programming Reference > Cicode Function Categories > Super Genie Functions Introduction > AssMetadataPage


Uses the metadata information from the current object for the page associations for a new Super Genie page, and displays the new Super Genie (in the current page).


AssMetadataPage(sPage, nAN )


The name of the Super Genie page to open.


An animation number that uniquely identifies an object. This object contains the list of metadata definitions that will be used to perform the association operations.This parameter is optional with -2 being the default value. When -2 is specified, it is the same as using the function KeyGetCursor() which returns the animation number of the current active command cursor. Refer to KeyGetCursor() for usage and behavior.



If called after other cicode functions in a command expression field, retrieve the animation number first, then pass it through the nAN parameter.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

Return Value

0 (zero) if successful, error code if unsuccessful.


/* Example of calling AssMetadataPage after other cicode functions */

An = KeyGetCursor();

SomeVal = TagRead(“SomeTag”); // do additional work

AssMetadataPage(“!TestSG”, An);

Related Functions

Ass, AssChain, AssMetadata, AssMetadataPopup, AssMetadataWin, AssChainPage, AssChainPopUp, AssChainWin, AssChainWinFree, AssGetProperty, AssGetScale, AssInfo, AssInfoEx, AssPage, AssPopUp, AssScaleStr, AssTag, AssTitle, AssVarTags, AssWin

See Also

Super Genie Functions