cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
P-M
Helper I
Helper I

Creating a Signature (Textinput) based off of multiple informations/variables

Hello.

 

I've been wanting to create a signature generator for my company, using Information we already have stored in Office365 (specific to the user).

The way I've been thinking to approach this is to use all the given information/variables and put them together in such a way that I'll have a neatly formatted signature.

 

However I have issues putting this information together. I've been thinking of using a rich text editor for this, so that after edits are possible. How would I feed all this information I have into the Rich Text Editor? I was thinking that all the user would have to do is a press a button, that would then grab all the data, assemble it together and then display it on the given rich text editor. 

 

I've attached an image of what this would look like, roughly.

 

Another question would be: Is it possible to give the text formatting before they are inserted into the rich text editor?

 

 

Thank you for your continued assistance.

 
 
 
1 ACCEPTED SOLUTION

Accepted Solutions

Try loading the attached App and see what you think.

 

Very basic, I have added a text box for each element and set the default to the Office 365 User Details.

The values can be changed manually once the app has been run and it will update the HTMLText field.

View solution in original post

7 REPLIES 7
MrDannyHarry
Resolver I
Resolver I

Just a few questions.

 

- Do you want them to be able to edit the signature after?

- If not you could use a HTML Text element and design the signature in there.

- Do you want them to be able to edit the signature after?

It would be great if they could do so easily, I wouldn't mind implementing additional Textboxes that would also serve this purpose.

 

- If not you could use a HTML Text element and design the signature in there.

I believe that through HTML I can get the result I'd want more easily, how would I go about building the HTML code that I need in PowerApps?

 

Thank you for your help!

You can pull information from 365 by using the office365Users Connector.

This will allow you to use commands like 

 

Office365Users.MyProfile().Mail
Office365Users.MyProfile().DisplayName
Office365Users.MyProfile().TelephoneNumber
 
So the way I would do a static Signature without editing.
 

 

 

"With kind Regards, <br><br>" &

Office365Users.MyProfile().DisplayName & "<br>" &
Office365Users.MyProfile().JobTitle & "<br>" &
Office365Users.MyProfile().OfficeLocation & "<br>
<img src='URL TO LOGO'>"

 

 

I will quickly design something to edit the signature and attach to here in a few mins.</div>

 

Try loading the attached App and see what you think.

 

Very basic, I have added a text box for each element and set the default to the Office 365 User Details.

The values can be changed manually once the app has been run and it will update the HTMLText field.

View solution in original post

This one has the URL Field as well.

I can't thank you enough.

 

I will try it out in an hour or so!

If I run into anymore issues or need help with anything else, I will make another post here.

 

Have a wonderful day!

 

No problem at all!

 

Hope it works well for you. If you find the solution works please mark as solution 🙂

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,843)