@Functions

The XPages Extension Library contains a number of @functions.

Table 1. @Functions
Syntax Description Reference topic
@AbsoluteUrl(name:string) : string Returns the absolute URL for a Domino® resource. @AbsoluteUrl (JavaScript)
@EncodeUrl(url:string) : string Adds any necessary attributes to a Domino® URL, such as a session identifier or parameters. @EncodeUrl (JavaScript)
@ErrorMessage(message:string, component:any) : void Posts a message to a message (Display Error) or messages (Display Errors) control. @ErrorMessage (JavaScript)
@FullUrl(name:string) : string Returns the path of a Domino® resource relative to the server. @FullUrl (JavaScript)
@InfoMessage(message:string, component:any) : void Posts a message to a message (Display Error) or messages (Display Errors) control. @InfoMessage (JavaScript)
@IsAbsoluteUrl(url:string) : boolean Specifies whether a resource name is an absolute URL. @IsAbsoluteUrl (JavaScript)
@NormalizeSubject(subject:string) : string

@NormalizeSubject(subject:string, maxlength:int) : string

Normalizes empty and lengthy text. @NormalizeSubject (JavaScript)
@TopParentID(doc:any) : string Returns the Notes® identifier of the top parent of a document. @TopParentID (JavaScript)
@TopParentUNID(doc:any) : string Returns the universal identifier of the top parent of a document. @TopParentUNID (JavaScript)
@ViewIconUrl(icon:int) : string Returns the relative path to a view icon. @ViewIconUrl (JavaScript)
@WarningMessage(message:string, component:any) : void Posts a message to a message (Display Error) or messages (Display Errors) control. @WarningMessage (JavaScript)