Salesforce

SortReset (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

SortReset (Magic xpa 3.x)

Resets the sort criteria, so that the next time the view will be refreshed, only the sort defined in the task will be used.

Syntax:

SortReset (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 sort 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 sort criteria, then whenever the view is refreshed, the sort will be done only according to the task logic sort.

  • The function will reset the user sorts of the Online Ctrl+T user sorts and also sorts added by the SortAdd function.

See also:

SortAdd

The Online and Rich Client Samples projects (program DV15 and RDV15)

Since version:

1.9

Local data source support – since 2.5

Reference
Attachment 
Attachment