cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

Collection and subsequent HTML email missing values, Sharepoint list shows values

Hello, 

 

As part of the OnSelect properties of the Submit button in my PowerApp:

  • A Collection is created with all Form values
  • ClearCollect(entireForm,
    {field_1:field1.Text,
    field_2:field2.Text})
  • An HTML email is created and sent
  • 'Outlook.com'.SendEmail(Office365Users.MyProfile().Mail,"Completed Form",
    email_htmlResults.HtmlText, {IsHtml:true});
  • And the form is submitted to the Sharepoint list
  • SubmitForm(form_Name)

The problem I have is: 

  • Some of the Cards in the Form have .Update Properties such as:
  • If(card_field_1.Visible=true,field_1.Text,"Not Evaluated")
  • Basically, if the card is visible, send the text in the text box to Sharepoint. 
  • If the card is not visible, send "Not Evaluated" to Sharepoint. 

 

  • "Not Evaluated" is making its way to Sharepoint: 
  • 2018-04-11_9-50-25.png

 

  • But "Not Evaluated" is NOT showing up in the HTML email. 
  • 2018-04-11_9-59-12.png

 

What should I look at to debug this issue? Do I need some kind of "Wait 200 milliseconds before sending Email" or...?

 

Thank you

1 REPLY 1
Community Support Team
Community Support Team

Re: Collection and subsequent HTML email missing values, Sharepoint list shows values

Hi @ericonline,

 

If you only send the HTML email without other actions like create the form .etc, will you get the same result?

 

Also, check if below thread could help:

https://community.powerapps.com/t5/General-Discussion/Create-email-using-PowerApps-data/m-p/21925

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 385 members 5,018 guests
Please welcome our newest community members: