Hi
I wish to share my complete Email + Concatenare + Collection + ClearCollect + SaveData / LoadData, esp. Concat functions & HTML5 (partial support).
Email & Concat functions are not clearly described in LEARN.
Hence, with numerous trial, information from forums (Project Siena and PowerApps, with respect), attach a sample apps screenshot: This apps is written for my Son for Online Shopping from his clients.
Key Function:
- Use Concat to collect Records (from Gallery -> Collection) and organized with HTML
- Use & to create proper spacing, <br> for line break, <b>, <u>,..for fonts formating, Html5 (table, ul, ol and many other formating table,.. though not all are supported, such as border).
- Show the actual results in Email.
Hopefully, more improvment can be made on this and also hope that it helps those wish to use proper Concat for sending email (regardless of the number of records inside the gallery/collection as it will append into email automatically).
Happy reading and beautiful Sunday.
Solved! Go to Solution.
Hey this is great hpkeong, thanks! My variation on the submit checkmark was: Concatenate("This is a hidden HTML field:","<br><br>","<b>DataCardValue10</b>",DataCardValue10.Text). On my first test I'm getting the HTML markup appearing in my email body, but it's not a big deal I've probably just got some syntax wrong. The good news is I'm automatically getting a concatenation of the plain text I put in plus the values from other fields in the PowerApp, in a way that's very transparent to the end user in the PowerApp.
All the best,
Bruce
P.S. Lots of room for improvement on this from the PowerApps / Flow team(s), but at least I can keep putting one foot in front of the other!
Hey this is great hpkeong, thanks! My variation on the submit checkmark was: Concatenate("This is a hidden HTML field:","<br><br>","<b>DataCardValue10</b>",DataCardValue10.Text). On my first test I'm getting the HTML markup appearing in my email body, but it's not a big deal I've probably just got some syntax wrong. The good news is I'm automatically getting a concatenation of the plain text I put in plus the values from other fields in the PowerApp, in a way that's very transparent to the end user in the PowerApp.
All the best,
Bruce
P.S. Lots of room for improvement on this from the PowerApps / Flow team(s), but at least I can keep putting one foot in front of the other!
Access to Nested Galleries.
<table> & Concat(Gallery1.Allitems,"<tr><td>" & Head1 & "</td></tr></table>
creates a HTML table with one row for each item in Galley1 with a column containing the text of card Head1.
I need to nest a gallery in each row of Gallery1 (like your example).
My problem is what is the syntax to access the nested gallery. For example: To build a nested table from Gallery2 SubTitle card.
<table> & Concat(Gallery1.Allitems,"<tr><td>" & Head1 & "</td> <td> <table>" & Concat(Gallery2.AllItems, "<tr><td> " & SubTitle & "</td></tr> ) &" </table> </td></tr></table>
It seem that there must be an array of Gallery2's somewhere. One possible syntax would be something like:
Concat(ThisItem.Gallery2.AllItems,)....
or
Concat(Gallery2(ThisItem).AllItems,...)
Any ideas?
Thanks
hi the link is gone, can you please give us the link again to your library of functions
@hpkeong wrote:Hi
I wish to share my complete Email + Concatenare + Collection + ClearCollect + SaveData / LoadData, esp. Concat functions & HTML5 (partial support).
Email & Concat functions are not clearly described in LEARN.
Hence, with numerous trial, information from forums (Project Siena and PowerApps, with respect), attach a sample apps screenshot: This apps is written for my Son for Online Shopping from his clients.
Key Function:
- Use Concat to collect Records (from Gallery -> Collection) and organized with HTML
- Use & to create proper spacing, <br> for line break, <b>, <u>,..for fonts formating, Html5 (table, ul, ol and many other formating table,.. though not all are supported, such as border).
- Show the actual results in Email.
Hopefully, more improvment can be made on this and also hope that it helps those wish to use proper Concat for sending email (regardless of the number of records inside the gallery/collection as it will append into email automatically).
Happy reading and beautiful Sunday.
Hi
I dont embed anylink.
If you want, private message me and i will email to you.
Thnks
Link for me too .. thanks for your help!
Hi @Misa
I am sorry I have removed this apps and no more formula left.
Anyway please refer to the screenshot and retype. It workds.
Thanks
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
180 | |
137 | |
96 | |
83 |