ListActDataTypeRecipes
function ListActDataTypeRecipes(ctx: TcHmi.Context, RecipeList?: TcHmi.Server.RecipeManagement.FolderRecipe)
Parameter
Name | Type | Description |
---|---|---|
ctx | Required<TcHmi.Context> | Context object. Does not need to be specified by the user when it is 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. |
recipeList | tchmi:server#/definitions/folderRecipe | The reference to all recipes. The list of all recipes is the |
Returns a list of all recipes of the type ActRcpDataType
in an array of object with each object having two properties
RecipeName
: Name of the recipe listed.RecipeLastUpdatedTime
: Last updated time for the recipe in string form.
The function is used on the SrcData
attribute of the data grid.
Return value
Type | Description |
---|---|
void | No return value. |