Skip to main content

Posts

Day hike at Queen Charlotte track - Ship Cove to Furneaux Lodge

Recent posts

Only show a control to an employee's manager in PowerApps (using SharePoint as a data source)

The Problem In my previous blog post , I wrote a basic tutorial on configuring PowerApps to conditionally show/hide and make mandatory/optional a control based on the answer provided in a previous control. In this blog post we will expand on that scenario to create a form that only shows a control called approval status to a user if that logged in user is the manager of the user specified in the employee control. This means when the manager is using the application, they can change the status to approved. Meanwhile, a user that is not a manager of the person specified in the employee cannot change the status to approved. The Solution Aside from containing a variety of native functions, PowerApps also allow us to add connections to add functionalities into our app. In this case we will add the Office 365 Users connection so that we can get information on: The user that is logged on The manager of the user specified in the employee control Note: Whilst this soluti

An intro to conditional validation and formatting in PowerApps (using SharePoint as a data source)

The Problem What if we need to create a form that changes it's behaviour based on the answer entered by the user. For example, we need to build a leave request form that: Shows the comment field if applying for a sick leave, but hides the comment field if applying for a annual leave Requires the requestor to write a comment if their sick leave is more than 1 day, but is optional if sick for just 1 day.  The default form interface for custom lists in SharePoint Online can be used for basic scenarios, but doesn't provide an easy way to add business logic described above ( unless you want to write some javascript ) In the past InfoPath would have been the tool of choice for many, however this tool is now in maintenance mode and whilst it will still be supported for a wee while  there will be no improvements or enhancements to the platform. The Solution This is where PowerApps come in. PowerApps is now the platform that is recommended by Microsoft as a way fo

Hiking around Rotoroa Island - stunning day trip from Auckland

Summary: Feeling the need to get away from the hustle and bustle of the city life? Rotoroa Island is a small island that is just over an hour's ferry ride away from the Auckland CBD, and is a perfect getaway offering picturesque beaches, walking trails and native animals. The island is less popular compared to it's cousin and as such in a lot of cases it feels like you are in your own beautiful private island in the middle of nowhere. Play the video above to get a preview of the island Rating: 5/5 - One of Auckland's best kept secrets Getting there: 75 minute ferry ride from Auckland's Ferry Terminal. A morning ferry drops passengers off and picks them up at the end of the day. Time: 3 -5 hours worth of walking tracks + a few hours of lazing/swimming in the beaches. Distance: 10km Difficulty: Easy. (Some steepish inclines and/or slippery gravel terrain so bring shoes with good grip) Facilities: Toilet, barbecue, drinking water and mobile pho