Salesforce

LocateReset (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

LocateReset (Magic xpa 2.x)

Resets the filtering criteria of the locate, so that the next time the view is refreshed, the locate defined in the task (or in the View Refresh) will be used.

Syntax:

LocateReset (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 locate 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 locate criteria, then whenever the view is refreshed, the locate will be done only according to the task logic locate or the View Refresh criteria.

  • The function will reset the user locate of the Online Ctrl+L user ranges and also ranges added by the LocateAdd function.

See also:

LocateAdd

The Online and Rich Client Samples projects (program DV14 and RDV14)

Since version:

1.9

Local data source support – since 2.5

Reference
Attachment 
Attachment