Skip to main content

PowerApps - Default SharePoint People Picker Field To Be Logged In User

When you're building a PowerApp connected to a SharePoint List Form and you would like to capture the details of the person who is filling out the form.

I understand that this is already captured via the 'Created By' SharePoint System field, but sometimes customers like to capture requestor name, phone, etc on the form itself rather than having to go to SharePoint to view it all.

  • You've already created a PowerApp and added a 'Form' Control that uses a SharePoint List as a Data Source.
  • Your SharePoint List contains a People Picker Field
  • To pull back details about users, add another Data Source: View  Tab > Data Sources > Add Data Source > Office 365 Users
  • Click on the Card in the form that contains your People Picker Field
  • Go To Advanced and click 'Unlock to change properties' so that you can select the field itself
  • Click on the People Picker Field itself, then select the 'Default' function and type Office365Users.MyProfile()

Now when you open up the PowerApp it should automatically populate the People Picker field with the user who is logged in.

You can use the same concept to auto-populate other fields inside your form with specific user details.  For more info check out this Microsoft article explaining the Office 365 User Data Source:


Popular posts from this blog

Export Group Membership From Active Directory Using Power Query

If you need to export a list of staff from an Active Directory Group, follow these steps.  Allows you to gather all the names & usernames of staff in a particular group and save the information into Excel.

Step By Step How To:
Open up Excel > Power Query TabClick From Other Sources > From Active Directory:(In Excel 2016 this is found under: Data Tab > New Query > From Other Sources > From Active Directory) screenshots from Excel 2016 on left, Excel 2010 w/ Power Query Add-on right A popup will ask you to enter your domain name.  It should already be populated with the correct information but if not, input your companies domain name & Click OK:
In the Navigator that opens up, expand your domain tree and double click group:

You should now see a list of all groups in Active Directory in the Power Query Editor:
In order to find & filter for a specific Group, Click the Down-Arrow for the 'distinguishedName' column > Text Filters > Contains...
Type the name…

HP Laserjet 1022 Printer - Can't Print on Windows 10

If you are having trouble getting your laserjet working on Windows 10, here's how I resolved the problem:

Go to Devices & PrintersFind your printer & go to Printer Properties > Advanced TabSet Driver to: HP LaserJet 1022 Class Driver & ApplyIf HP LaserJet 1022 Class Driver is not available.  download from this site: a test page.

SharePoint Online - Branding with CSS

This post is related to a larger group of posts called Migrate SharePoint to Office 365 - Planning & Steps

I've gone with a Publishing Site Collection so that I can use the 'Alternate CSS URL' in Site Settings > Master Page.

First off, thanks to the following websites which helped get me started: Here's what the end result will look like (if you have the same fonts):

Now for the CSS...

/* Design By : Brett Randall*/
/*     Design Colours: Greens/Greys/Blues */
/*     Last Modified : 28/02/2017*/
/*     Description: CSS to rebrand SharePoint Online Publishing Site Collection that is using seattle.master */

-- -…