client_id
Description : Client identifier of the application registered in Azure.
Usage : Essential for authentication using MSAL.
redirect_uri
Description : Redirect URL after authentication.
Default Value : https://testpluging.bubbleapps.io/version-test/onedrive
(Can be modified according to the environment.)
access_mode
Description : Defines the access level; can be "read" for reading or "write" (or "Files.ReadWrite.All") for editing.
Recommendation : Configure based on the needs of the application.
allow_multiple
Description : Allows the selection of multiple files.
Type : Boolean (true or false).
maximum_count
Description : Maximum number of files that can be selected if allow_multiple
is true.
search_enabled
Description : Enables the search function within the picker.
close_label
Description : Custom label for the close button of the picker.
browse_this_device_enabled / browse_this_device_label / browse_this_device_mode
Description : Allows browsing files on the local device.
Usage : Configure as needed to enable the option to upload local files.
upload_enabled
Description : Allows direct uploading of files to OneDrive.
create_folder_enabled
Description : Enables the option to create folders in OneDrive from the picker.
theme
Description : Allows selecting a visual theme for the picker.
Valid Values : "default", "dark", "lists".
list.layout.type
Description : Defines the layout of the file list in the picker.
Valid Values : "details", "compact-details", "tiles".
title
Description : Title of the picker.
pick_action
Description : Defines the action to perform when a file is selected.
Common Values :
"download"
: Initiates automatic download."share"
: Generates a sharing link."move"
: Moves the file to another folder (requires additional configuration)."select"
: Only selects the file without performing any extra action.pick_label
Description : Custom label for the selection button.
auth_mode
Description : Defines the authentication mode.
Values :
"automatic"
: Uses MSAL for automatic authentication."manual"
: Uses an access token provided manually.manual_access_token
Description : Access token in manual mode.
Important : Must validate that the token is correct and not empty.
allowed_origins
Description : List of allowed origins (comma-separated) from which messages to the picker will be accepted.
inactivity_timeout
Description : Inactivity time (in minutes) after which the user's session will be silently closed.
selection_source_items
Description : Predefined items (in JSON format) that can be preselected or restrict the selection source.
types_mode, types_filters, types_access_mode
Description : Configures the file types and filters to apply in the picker.
(Example: Limit selection to only images or documents.)
pivots_onedrive, pivots_recent, pivots_shared
Description : Enables specific sections (tabs) in the picker to navigate OneDrive, recent files, or shared files.
Was this page helpful?
Thank you for your feedback!
Please Login First
Comments (00)