getID()
Obtains the ID of a case that is rendered using the current context.
Returns
The ID as a string.
Parameters
This API does not have parameters.
Usage example
In this example, the API returns the ID of a case that is rendered using the current context.
const caseKey = getPConnect().getCaseInfo().getID();
Previous topic getClassName() Next topic getKey()