SubmitParameters Class

Retrieve record ID information to use with your submit-form handler.

Namespace

Example

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

SubmitParameters Methods

The following are methods for SubmitParameters.

getRecordId()

Returns the untokenized version of the record ID.

Signature

public String getRecordId()

Return Value

Type: String