Salesforce

RangeReset (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

RangeReset (Magic xpa 4.x)

Resets the filtering criteria of the range, so that the next time the view is refreshed, only the range defined in the task will be used.

Syntax:

RangeReset (generation)

Parameters:

generation – A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.

Returns:

  • True – the range criteria were updated.

  • False – in case of an error (such as task not found at the desired generation)

Note:

  • When this function is used to reset the range criteria, then whenever the view is refreshed, the range will be done only according to the task logic range.

  • The function will clear the user ranges of the Online Ctrl+R user ranges and also ranges added by the RangeAdd function.

See also:

RangeAdd

The Online and Rich Client Samples projects (program DV13 and RDV13)

Since version: 1.9

Local data source support – Since version: 2.5

Reference
Attachment 
Attachment