Skip to main content
Version: v4

Upload and Manage User-Defined Functions

Upload a user-defined function​

Step 1: Open the User-Defined Function page​

Click the gear icon in the upper-right corner and select User-Defined Function.

2_udf

Step 2: Upload a user-defined function​

On the User-Defined Function page, click the Upload UDF File button.

3_udf

Click Select File and choose the file to upload.

4_udf

The name of the uploaded file is shown.

5_udf

Step 3: Upload complete​

After uploading, you can see the uploaded function file.

6_udf

View user-defined function details​

Click the file name to open the function details page.

11_udf

On the function details page, click the + sign in the list to expand the function's details.

7_udf

User-defined function permissions​

In Canner Enterprise, you can control permissions for each function. Click the ... button in the function list and select Edit Access Control.

8_udf

There are two types of permission:

  1. Public: All workspaces in Canner Enterprise can use this function
  2. Private: Only workspaces with the relevant permission can use this function

9_udf

To make a function available only to specific workspaces, first make sure the function's permission is set to Private, then click the Share UDF to Workspace button on the page.

12_udf

Set which workspaces can use which functions.

10_udf

After configuring function permissions, go to the Workspace UDFs page to see which user-defined functions are available in a workspace.