![]() Nothing wrong here!īut when you want to add some HTML to your email and set the Is HTML property of your Send an email action to Yes, the comment will be showed without the line breaks again:Īgain, you have to replace the newline character with an HTML line break, but in this case the character is the URL encoded variant of Char(10), which is %0A. When you run the Flow, Approve the request and enter some multiline comments, the comments will be showed including the line breaks. When you use an Approval action inside your Flow and you want something to do with the comments that are filled in by the Approver, you use the comments from the Dynamic content of your Approval action. Well, same rules as the HTML text apply here: you just have to replace the Char(10) character with an HTML line break and then it will work: But now, the input will be showed without the line breaks. Nothing wrong here!īut we want our email message to have some dynamic content and it to be formatted and styled according to our company branding right? So we add a bit of HTML and add the attribute to our Office365.SendEmail() function. When you add a Button control and set its OnSelect property to send an email (using the Office 365 Outlook connector) and set the body attribute to TextInput1.Text, the input inside the email body will be showed including the line breaks. So how can we show a line break in our HTML text control? The answer is simple: replace the Char(10) character with a HTML line break, which is by using the Substitute() function: Substitute( A line break in a Text input control is formatted as Char(10) which isn’t recognized as HTML. The basic Text input control does not transform the input into an HTML format. This is because the control expects its text to be in HTML format. When you add an HTML text control and set its HTMLText property to TextInput1.Text, your control will show the input without the line breaks. When you add a Label control and set its Text property to TextInput1.Text, your control will show the input including the line breaks. #Copy word table to excel without line breaks how toI will show you what happens with this input within different controls/actions and how to process line breaks correctly Label Let’s say you want to use the input somewhere else. In PowerApps, you can add a Text input control and set its Mode property to Multiline. ![]() ![]() In this blog, I will explain you the how-and-what about line breaks in PowerApps and Flow. You may have also noticed that your Microsoft Flow approval comments will not (always) return line breaks. When using PowerApps multi-line text inputs, behavior on line breaks is not always consistent. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |