.alter function folder

Alters the Folder value of an existing function.

.alter function FunctionName folder Folder

Note

Output parameter Type Description
Name String The name of the function.
Parameters String The parameters that are required by the function.
Body String (Zero or more) Let statements followed by a valid CSL expression that is evaluated upon function invocation.
Folder String A folder that is used for UI functions categorization. This parameter does not change the way function is invoked.
DocString String A description of the function for UI purposes.

Example

.alter function MyFunction1 folder "Updated Folder"
Name Parameters Body Folder DocString
MyFunction2 (myLimit: long) {StormEvents | limit myLimit} Updated Folder Some DocString
.alter function MyFunction1 folder @"First Level\Second Level"
Name Parameters Body Folder DocString
MyFunction2 (myLimit: long) {StormEvents | limit myLimit} First Level\Second Level Some DocString