DeleteActRcp
function DeleteActRcp(ctx: TcHmi.Context, RecipeName: string)
This function allows deleting a recipe from the server and as a safety it will not allow to delete the currently activated recipe from the server.
Parameter
Name | Type | Description |
---|---|---|
ctx | Required<TcHmi.Context> | Context object. Does not need to be specified by the user when used in a trigger or function expression. In this case the transfer and the evaluation are done by the corresponding parser. Is used by the caller to indicate success or failure to the framework during execution. If the function is used directly in JavaScript/TypeScript, the context object must be passed in the call and evaluated if necessary. |
RecipeName | string | Name of recipe to delete. |
Return value
Type | Description |
---|---|
void | No return value. |