LoadParameters Class

Contains methods to retrieve record Id information for parameters passed into the load-form handler.

Namespace

Pref_center

Example

1String userId = loadParams.getRecordId();
2
3User user = [SELECT Id, AboutMe FROM User WHERE id=:userId WITH USER_MODE];

LoadParameters Methods

The following are methods for LoadParameters.

getRecordId()

Returns the untokenized version of the record Id.

Signature

public String getRecordId()

Return Value

Type: String