Hi
When populating an array into a Google Doc how can i make each item populate on a new line please?
Thanks
Kyle
Hi
When populating an array into a Google Doc how can i make each item populate on a new line please?
Thanks
Kyle
If it is just a simple array, you can use the built-in function get
e.g.:
{{ get(array; index) }}
For more information, see
Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —
parseDate
| Tokens for formatDate
Thanks so much will try that
so would it be {{ get(4. golden nuggets: Ideas; index) }} ?
yes, paste it into your field and then replace the array
with the mapped variable.
Thank you will try now!
Unfortunately that didn’t work. It didn’t output anything at all. What is index?
index is the position in the array.
so if you want the first item,
{{ get(4.`golden nuggets: Ideas`; 1) }}
If you need further assistance, please provide the following:
Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.
You can upload images here using the Upload icon in the text editor:
Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.
(Note: Exporting your scenario will not include private information or keys to your connections)
Uploading it here will look like this:
blueprint.json (12.3 KB)
Please provide the input and output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Save each bundle contents in your text editor as a bundle.txt
file, and upload it here into this discussion thread.
Uploading them here will look like this:
module-1-input-bundle.txt (12.3 KB)
module-1-output-bundle.txt (12.3 KB)
If you are unable to upload files on this forum, alternatively you can paste the formatted bundles in this manner:
Either add three backticks ```
before and after the code, like this:
```
input/output bundle content goes here
```
Or use the format code button in the editor:
Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.
Following these steps will allow others to assist you here. Thanks!
Hi @KyleBehrend
You will be adding the content into the doc as HTML format
so you can add a
where you rquire a line break
If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel
If you don’t want to map individual items in an array, you can also use the built-in function join
e.g.:
{{ join(4.`golden nuggets: Ideas`; "<br>") }}
For more information, see https://www.make.com/en/help/functions/array-functions#join-array--separator-