Fill copied Excel file with CSV or JSON content

  • Fill copied Excel file with CSV or JSON content

    Posted by DSC Communities on May 31, 2022 at 11:04 pm

    Fill copied Excel file with CSV or JSON contentFollow
    Fabian Heil
    Fabian HeilMay 31, 2022 04:00 AM
    Hi, i want to fill an excel template with content coming from a PowerApp. I have an Excel template …
    1. Fill copied Excel file with CSV or JSON content

    Fabian Heil
    Posted May 31, 2022 04:00 AM
    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
    Will Page
    Posted Jun 01, 2022 12:27 AM
    Edited by Will Page Jun 01, 2022 12:30 AM
    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
    ——————————

    replied 3 years, 4 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Fill copied Excel file with CSV or JSON content’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!