Hi all,
I have created a table in PowerAutomate, and I am trying to change the width of one of the columns, but I am having a couple of issues. I am a new user here and it won't let me upload pictures, so I will explain the best I can.
I have two SharePoint lists, a parent list and a child list. Each parent list could have a dynamic amount of child items (could be zero, could be multiple). I am trying to create a table (or at least multiple tables) that has the information of the relevant parent item at the top, along with relevant child items below.
To do this, I have initially used the 'Get Items' Action, to get only the specific Parent Item I am looking for, along with the child items related to this parent item. For table B (table I am creating to display child information), I am 'Initializing an Empty Variable (Array)' as a placeholder. I then am appending the columns I want in the table to the variable by using the following code / action items:
Append to array variable (which automatically applies to each child item that has been pulled in)
{"VariableTitle1":Variable1, "VariableTitle2": Variable2}
From here, I create a HTML table from this Array, and use that as an input into my final document.
It works out great and creates a nice table with the relevant information, but when I am trying to change the formatting, specifically the width of the columns (I would like column 1(VariableTitle1) to be 10% width, and column2 to be 90%) I am running into issues. (Have not figured out if it is possible to change the width when 'appending to an array' or not) I am not sure if there is a better way to do this that would make this easier, but any help would be appreciated.
Thanks.

Report
All responses (
Answers (