Sets the value of a savebuffer.

Syntax

Smartsite SXML CopyCode image Copy Code
buffer.set(string name, enum scope, any value)
buffer.set(string name, any value)

Parameters

Name Data Type Description
name String The name of the buffer.
scope Enum The scope of the buffer.
Enum values:
  • Auto
    Field scope by default; Region scope when enclosed by a region tag.
  • Field
    Field scope.
  • Page
    Page scope.
  • Region
    Region scope.
value Any The value to be set.

Return Value

None.

Expand image Examples

SXML