You are here

Configuration Evaluator Types

Configuration Evaluator Types are described in this topic.

Evaluator types

ID (prefixed with org.alfresco.client.evaluator) Evaluator Description Parameters
nodeType Returns true if the node is of the given type typeName
hasAspect Returns true if the node has the given aspect applied aspectName
hasProfile Returns true if the given profile name matches the profile in the scope profile
hasClientCapability Returns true if the given capability is available for the current client capability (see following)
hasRepositoryCapability Returns true if the given capability is available in the repository currently connected to capability (see following)
formMode Returns true of the given form mode matches mode (see following)

Client Capabilities

The possible values for the hasClientCapability evaluator "capability" parameter are shown below:

Values for hasClientCapability
org.alfresco.client.capability.networkConnectivity
org.alfresco.client.capability.takePhoto
org.alfresco.client.capability.recordVideo
org.alfresco.client.capability.recordAudio
org.alfresco.client.capability.sendEmail
org.alfresco.client.capability.openIn
org.alfresco.client.capability.downloadContent

These capabilities will be evaluated using the new DeviceCapabilities model object.

Repository Capabilities

The possible values for the hasRepositoryCapability evaluator "capability" parameter are shown below:

Values for hasRepositoryCapability
org.alfresco.repo.capability.likingNodes
org.alfresco.repo.capability.commentCounts
org.alfresco.repo.capability.publicAPI
org.alfresco.repo.capability.activitiWorkflowEngine
org.alfresco.repo.capability.JBPMWorkflowEngine
org.alfresco.repo.capability.sharedFiles
org.alfresco.repo.capability.myFiles

These capabilities will be evaluated using the existing RepositoryCapabilities object.

Form Modes

The possible values for the formMode evaluator "mode" parameter are shown below:

Values for formMode
view
edit
create
search

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.