Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

LearningEvaluation Class

Contains methods to retrieve and update details that are required to evaluate a learning item.

Namespace

sfdc_enablement

Usage

Pass this class as input to the sfdc_enablement.LearningEvaluationResult class.

Example

See example code in sfdc_enablement.LearningItemEvaluationHandler.

LearningEvaluation Methods

The following are methods for LearningEvaluation.

getDetails()

Retrieves the details associated with the learning evaluation instance.

Signature

public Map<String,Object> getDetails()

Return Value

Type: Map<String,Object>

getLearningItemId()

Retrieves the record ID of the learning item that's associated with this learning evaluation instance.

Signature

public String getLearningItemId()

Return Value

Type: String

setDetails(details)

Sets or updates the details of the learning item record for this learning evaluation instance.

Signature

public void setDetails(Map<String,Object> details)

Parameters

Return Value

Type: void

setLearningItemId(learningItemId)

Sets or updates the learning item record ID for this learning evaluation instance.

Signature

public void setLearningItemId(String learningItemId)

Parameters

Return Value

Type: void