cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ClaireAllen
Post Prodigy
Post Prodigy

Created By or User

Hello Community

 

I am building a Form and would like to display the Created By Name, Job Title & Department on the Form

I have created a label and entered a formula using Office365Users, but I know I have done something wrong and have tried to fix the issue, but no matter what I do, I can not get the information I need to display

 

I added a label but as it shows it has an error.

Could you help me with the Formula that I should be using to show the Created By Name, Job Title & Department or point me in the right directions, as I have the created by column from my SP List which is currently hidden on the Form.

UserProfile.jpg

Thank you in advance

Claire

 

1 ACCEPTED SOLUTION

Accepted Solutions

I thought you already had those on your form and wated to Join the field on another Label.

Having given more information, generally use:

Office365Users.UserProfile(User().Email).JobTitle
You could change the JobTitle to Department
 
------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

4 REPLIES 4
eka24
Super User
Super User

It would have been goo to show your current forumula.

But try:

"Created By "&Textbox1.Text&" With Title"&TitleTextBox.Text&" Department:"& DeptTextbox.Text
Those highlighted are fields on your form
------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

@eka24 ,

 

Thank you for coming back to me, this is the formula I had in my Label

ClaireAllen_0-1613044725228.png

I'm a little confused on "&Textbox1.Text&" With Title"&TitleTextBox.Text&" Department:"& DeptTextbox.Text
Are you saying I need to add new fields on to my form?

Kind regards

Claire

I thought you already had those on your form and wated to Join the field on another Label.

Having given more information, generally use:

Office365Users.UserProfile(User().Email).JobTitle
You could change the JobTitle to Department
 
------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Thank you @eka24 

That has worked as I wanted.

Kind regards

Claire

Helpful resources

Announcements
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.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,284)