websiteDefStr Function

Validates that the specified Web site definition exists in the AOT; if not, a compiler error occurs.


str websiteDefStr(str resourcename)

Parameter

Description

resourcename

The name of the Web site definition to validate.

The name of the specified Web site defintion if valid.

This function is an intrinsic function, which is a metadata assertion function. Intrinsic functions take arguments that represent entities in the Application Object Tree (AOT) and validate these arguments at compile time. They have no effect at run time.

{
    str s;
    ;
 
    s = websiteDefStr(AxSiteDef_1033_xip);
    print "string for web site definition AxSiteDef_1033_xip is " + s;
    pause;
}

Community Additions

ADD
Show: