Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dinamic text using send email outlook function

Hi everyone,


I have a question, how can I create  "Table" in a  Office365Outlook.SendEmailV2 in the "body section", I'm going to show some example, beacuse it's no a table as I said, it's organized text. 


This is the body that i want to create in the "body section", looks like table, but i would like to organized like that.



    DataCardValue89_1.Selected.Result = "CONTRATA";
        "Cierre de contrato Aliado: " & DataCardValue95_1 & " / " & DataCardValue73_1.SelectedText.Value;
        "Se informa mediante el presente el cierre del contrato " & DataCardValue95_1 & ", perteneciente al referido proporcionado por mi aliado " & DataCardValue50_2&


This is my code.


My required its organized, as you can see in the first pic, the title "Datos Aliado" and "Datos del referido contratante".


Is it possible to organized like that?


I'm going to waiting for your comments.


Best regards.

Super User
Super User


Can you please share where you are getting the details under each Datos heading from?  This is not clear from your first message.  Please share a screenshot of your app or the variable/control name.


Your code just says this which is not a valid reference because you did not indicate any property.



Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Not applicable

HI @mdevaney 


Thank you for your soon reply,
This part: 

  "Se informa mediante el presente el cierre del contrato " & DataCardValue95_1 & ", perteneciente al referido proporcionado por mi aliado " & DataCardValue50_2&

Its part of the boy, then the other part i would like to structure like the first pic a put.


Somenthing like this.



Make that stucture in the SendEmailOutlook Code, so in the email body will be appear like the example. 

Sorry, but I still understand where the data is coming from that will populate your email for the Datos del Alido section.  

Right now you have xxxx for everything.  I understand that is a placeholder.  Where is the data coming from?  Collection?  ComboBox? SP List?  Mutliple sources?

Screenshots can help explain effectively too!

Not applicable

Hi @mdevaney ,


All the data comes from SP List.

Show you the pics.


The email body takes the data from here.


Hope this help

Helpful resources

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,582)