From 0b37a7cf1ac3b78d93663d0a04bf159178dc7c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20V=C3=A1lek?= Date: Mon, 6 Oct 2025 13:51:32 +0200 Subject: [PATCH 1/2] feat: Add `fileupload` editor for string arrays to docs --- .../actor_definition/input_schema/specification.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sources/platform/actors/development/actor_definition/input_schema/specification.md b/sources/platform/actors/development/actor_definition/input_schema/specification.md index 6939af0c39..f0832148fe 100644 --- a/sources/platform/actors/development/actor_definition/input_schema/specification.md +++ b/sources/platform/actors/development/actor_definition/input_schema/specification.md @@ -234,6 +234,8 @@ The `anyDate` property renders a date picker that accepts both absolute and rela 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. +The editor makes it easier to users to upload the file to a key-value store of their choice. + ![Apify Actor input schema - fileupload input](./images/input-schema-fileupload-input.png) The user provides either a URL or uploads the file to a key-value store (existing or new). @@ -440,7 +442,7 @@ Properties: | Property | Value | Required | Description | | --- | --- | --- | --- | -| `editor` | One of | Yes | UI editor used for input. | +| `editor` | One of | Yes | UI editor used for input. | | `placeholderKey` | String | No | Placeholder displayed for
key field when no value is specified.
Works only with `keyValue` editor. | | `placeholderValue` | String | No | Placeholder displayed in value field
when no value is provided.
Works only with `keyValue` and
`stringList` editors. | | `patternKey` | String | No | Regular expression that
will be used to validate
the keys of items in the array.
Works only with `keyValue`
editor. | @@ -462,6 +464,8 @@ Editor type `requestListSources` supports input in formats defined by the [sourc 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). +Editor type `fileupload` enables users to specify list of files as input. The input is passed to the Actor as an array of strings. It is the Actor author's responsibility to interpret the strings, including validating the file existence and format. The editor makes it easier for users to upload the files to a key-value store they choose. + 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: ```json From e489e48e18ed5362c26e9de79edfba40626a9a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20V=C3=A1lek?= Date: Tue, 7 Oct 2025 15:27:27 +0200 Subject: [PATCH 2/2] Update sources/platform/actors/development/actor_definition/input_schema/specification.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: MichaƂ Olender <92638966+TC-MO@users.noreply.github.com> --- .../development/actor_definition/input_schema/specification.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sources/platform/actors/development/actor_definition/input_schema/specification.md b/sources/platform/actors/development/actor_definition/input_schema/specification.md index f0832148fe..10e6f74175 100644 --- a/sources/platform/actors/development/actor_definition/input_schema/specification.md +++ b/sources/platform/actors/development/actor_definition/input_schema/specification.md @@ -464,8 +464,7 @@ Editor type `requestListSources` supports input in formats defined by the [sourc 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). -Editor type `fileupload` enables users to specify list of files as input. The input is passed to the Actor as an array of strings. It is the Actor author's responsibility to interpret the strings, including validating the file existence and format. The editor makes it easier for users to upload the files to a key-value store they choose. - +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. 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: ```json