Good afternoon,
I have to populate an excel template (that is standardized and can't be altered) via Plumsail's connector (Create XLSX from Template). Link to Plumsail's service tutorial for create from xlsx template:
https://plumsail.com/docs/documents/v1.x/flow/how-tos/documents/create-xlsx-from-template.html
What I have so far is JSON input from Powerapps, of all the changes I'd like to populate the excel template with. I'm able to populate the template so far, with changes (elements in JSON input), however, I'm only able to populate the values with the repeated elements. I presume this is because I haven't mapped out based on a condition. The JSON input has 129 objects, with 129 unique component numbers and it's corresponding data.
In the excel spreadsheet, there is a matrix that I have to populate these values with. Across 4 common columns, there are 11 "systems", which contain 'x' number of 'components' for a total of '129' unique rows of data. Each component has a unique number (e.g. 1.01, 1.02, 3.01, 6.10, etc.)
I'm looking for a solution where I can map/lookup out these elements (based on if it's a specific component#) and put it in a Compose (formatted as an array - as this is Plumsail's requirement). In the attached spreadsheet, you'll see that I've formatted the values to equate to the compose array names.
I'd appreciate any feedback. If you need more detail, please let me know!
Cheers,
Anthony
Excel Template, formatted cell in yellow (there are 129 rows of data across four columns)
Start of Flow, take the input of json from Powerapps
Use a select to trim out unnecessary data - may not be actually required
Compose used to populate Excel template using Plumsail's connector - this format is required
Example of system 1's components and pulling the 'repeated values' as i don't currently have it mapped to that particular component
This is the output of the template, however as noted, it is repeating returned values as i did not map them corresponding to the unique component number