Power Automate Exchange

Please login or click SIGN UP FOR FREE to create your FlowUG account to join this user group.
 View Only
  • 1.  Fill copied Excel file with CSV or JSON content

    Posted 29 days ago
    Hi,

    i want to fill an excel template with content coming from a PowerApp.
    I have an Excel template with a formatted table and the column headers.
    When starting the workflow, i hand over a collection in JSON structure.

    So, i copy the template file and want to fill this copy with the data. But when i add the action "add row into a table", i need to define the file and table name dynamically.
    So, it cannot show the single columns of the file. It only shows a field "row".

    What structure is expected in the field "Row"?
    How can i fill a json structure into a copied excel file?












    ------------------------------
    Fabian Heil
    ------------------------------


  • 2.  RE: Fill copied Excel file with CSV or JSON content

    Top Contributor
    Posted 28 days ago
    Edited by Will Page 28 days ago
    Try specifying the template file, configuring the columns then changing the file identifier back to your dynamic content.

    If that doesn't work, you could specify the template, then after the file is populated, copy it then roll the template back to previous version using SharePoint API

    You could also try doing get file content, then populate the template, copy it then update file content using the output of the get file content from earlier.

    Remember to add a 2 minute delay after updating the excel file before copying it. There's a delay between adding rows and seeing them in the file.

    ------------------------------
    Will Page
    Technical consultant
    Christchurch, NZ
    ------------------------------