Power Apps Exchange

Please login or click SIGN UP FOR FREE to create your PowerAppsUG account to join this user group.
 View Only
Expand all | Collapse all

Saving multiple combo-box items/values to a SharePoint library when submitting a document via a canvas app form

  • 1.  Saving multiple combo-box items/values to a SharePoint library when submitting a document via a canvas app form

    Posted Mar 23, 2022 02:22 AM
    Hello Colleagues,

    I am still in the early stages of developing on the power-platform and I am struggling to get a form that has multiple combo box controls (to capture metadata for a document being uploaded to a SharePoint Online Library) with multiple selections enabled for each Combo-box control.

    I have currently setup a form with multiple drop down controls and an attachment control for the content to be submitted to the SP Library. On submit a flow(below) is triggered

    and the attached file is successfully uploaded to the document library in SharePoint.

    As a phase 2 of the requirement i am working on, i want to change the Combo box control(for lack of a better option if there is!) so that a user uploading content via the form can select 1 or more values from each of the combo-box controls on the form, click submit and those multiple values are added to each of the corresponding columns(choice with multiple selection enabled) in the SharePoint Library.

    Can you please provide me some guidance on how to accomplish this, or point me to resources i can refer to get this working.

    Thank you


    ------------------------------
    Simba Murombedzi
    Product Analyst
    Sydney NS
    ------------------------------


  • 2.  RE: Saving multiple combo-box items/values to a SharePoint library when submitting a document via a canvas app form

    Silver Contributor
    Posted Mar 24, 2022 04:44 AM
    Hi Simba,

    this requires the use of arrays in both PowerPlatform and in PowerAutomate.
    A nice video on how to use variables and arrays in PowerAutomate can be found here: https://www.youtube.com/watch?v=T10-JRtgCaE

    I haven't done this myself to be honest so I can't give you any example but this is the way I would try to accomplish it

    ------------------------------
    Koen Mathijs
    ------------------------------