How to display all Gift Attributes for planned gift in form letter

Options

We have a Planned Gift form that includes all of the designations for the planned gift in the form of gift custom fields. What is the process to include all custom fields for a specific gift attribute in a form - or perhaps a sample flow to view?

Comments

  • @Reuben Schmitz not sure what type of form you have, but you should be able to get the custom field options from your table entries in database view and then most forms would allow you to create a dropdown from a list of values and you can enter the values from your table entries.

  • Dan, thanks for the input. However, I am not sure that will help.

    I have a screenshot of the form I am using. Basically, I want to create a Gift Button to merge the gift information into this form. The Gift Custom Field shows how a planned gift is to be distributed at death. I have a specific Gift Custom Field in mind. The Existing Designation is the Value and the Existing Percent will be the comment. There can be multiple Custom fields on a single gift. I would like to be able to list them out, per below. Is there a way to do this in a flow (either to list them all as a group/list or list them individually in each box)?

    70c01bac67f8d29d9d0478f538ce93bd-huge-im
  • @Reuben Schmitz

    Is this what you're trying to get? A table with all of the different custom Gift attributes and their values? I used the headings of your screenshot for context

    bbcfda69ab08634bddbcc23746f7eea8-huge-im

  • Yes, that would be it. I didn't think of an HTML table - will give that a try tomorrow.

  • Matt,

    I have created the table. However, it displays in the Output properly in the flow but when I insert the table into a Word document, it only displays HTML code. I tried inserting the Outputs of both the HTML table and the Compose, but again no difference. Any thoughts?

    f0fb416862765abd850f46799c3f440c-huge-im
    425c003dd3d2298bb9958a2cbd4b8931-huge-im
  • Matt,

    Second and less important follow-up question (once the HTML table properly displays): is there a way to limit the output to just two Custom Field Categories?

  • Hi @Reuben Schmitz, sorry it's taken me so long; this one had me spinning my wheels for awhile. This is the best solution I've been able to come up with.

    You'll need to create a table in Word template. Add the number of columns you need, 1 row for headers, and 1 row for data. Select the entire table and select the Repeating Selection Content Control.

    222c49d79c6baf5a14b5e932b4b17c60-huge-im

    In Power Automate, use the Populate Word action. The Repeating Selection Content Control can take an array of objects that will populate the table. At the start of your flow, initial an array variable and an object variable. After the List Gift action, save the output to the object variable and append it to the array variable. Populate the Repeating Control with the array variable and that will produce the table that you're needing. Hope that helps! Let me know if you run into any issues.

    1ce0fff1d3db4f390146babad59eba6e-huge-im

Categories