EnableActionById
Enables an action, by ID
Signature
public void EnableActionById(string actionId)
Parameters
actionId
string required
You can get the action id by right-clicking on an action and Copy Action Id
Return Type
void
Example
using System;
public class CPHInline
{
public bool Execute()
{
//Define action id you want to enable
string actionId = "4fcc2d13-9bcf-4c18-9d91-821a15f4b6e5";
CPH.EnableActionById(actionId); return true;
}
}