You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sources/platform/actors/development/actor_definition/input_schema/specification.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,6 +234,8 @@ The `anyDate` property renders a date picker that accepts both absolute and rela
234
234
235
235
The `fileupload` editor enables users to specify a file as input. The input is passed to the Actor as a string. It is the Actor author's responsibility to interpret this string, including validating its existence and format.
236
236
237
+
The editor makes it easier to users to upload the file to a key-value store of their choice.
238
+
237
239

238
240
239
241
The user provides either a URL or uploads the file to a key-value store (existing or new).
@@ -440,7 +442,7 @@ Properties:
440
442
441
443
| Property | Value | Required | Description |
442
444
| --- | --- | --- | --- |
443
-
|`editor`| One of <ul><li>`json`</li><li>`requestListSources`</li><li>`pseudoUrls`</li><li>`globs`</li><li>`keyValue`</li><li>`stringList`</li><li>`select`</li><li>`hidden`</li></ul> | Yes | UI editor used for input. |
445
+
|`editor`| One of <ul><li>`json`</li><li>`requestListSources`</li><li>`pseudoUrls`</li><li>`globs`</li><li>`keyValue`</li><li>`stringList`</li><li>`fileupload`</li><li>`select`</li><li>`hidden`</li></ul> | Yes | UI editor used for input. |
444
446
|`placeholderKey`| String | No | Placeholder displayed for <br/>key field when no value is specified. <br/>Works only with `keyValue` editor. |
445
447
|`placeholderValue`| String | No | Placeholder displayed in value field <br/>when no value is provided. <br/>Works only with `keyValue` and <br/>`stringList` editors. |
446
448
|`patternKey`| String | No | Regular expression that <br/>will be used to validate <br/>the keys of items in the array. <br/>Works only with `keyValue` <br/>editor. |
@@ -462,6 +464,7 @@ Editor type `requestListSources` supports input in formats defined by the [sourc
462
464
463
465
Editor type `globs` maps to the Crawlee's [GlobInput](https://crawlee.dev/api/core#GlobInput) used by the [UrlPatterObject](https://crawlee.dev/api/core#UrlPatternObject).
464
466
467
+
Editor type `fileupload` enables users to specify a list of files as input. The input is passed to the Actor as an array of strings. The Actor author is responsible for interpreting the strings, including validating file existence and format. This editor simplifies the process for users to upload files to a key-value store of their choice.
465
468
Editor type `select` allows the user to pick items from a select, providing multiple choices. Please check this example of how to define the multiselect field:
0 commit comments