Skip to content

Allow selection of one of each type instead of all or only one #69

@adionne-cc

Description

@adionne-cc

Hi! I've been working on adding a MergeLink with FilePicker at my company, and we want to allow the user to select one drive and one folder where we send all of the files from our system to their integrated provider. Currently the FilePicker only allows all or only one object to be selected. For my use case, this could lead to users choosing a couple of Drives and a few Folders when I only want them to select one of each. Preferably a folder within the selected drive.

Do you have any guidance on how to approach this? I attempted an approach where I had three useMergeLink objects with different filePickerConfigs in hopes that I could control it that way and allow them to first authenticate with their integration, then choose a drive, and then the next time it opens select a folder. useMergeLink appears not to like this because it flashes wide and narrow as it tries to decide if it should show the file picker.

Thanks in advance for any advice on this topic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions