In this blog – we will see how to use Host objects in PowerApps Canvas App.
Host object is specifically used to get the information about host which is running the specific app.
We can get – OS type, session id, tenant id and browser agent details from host object.
- Login to https://make.powerapps.com/
- Create a new Canvas App
- Add labels and text box controls by navigating to insert menu.
Navigate to Text property of BAtxtinput field and type Host.BrowserAgent as value.
Navigate to Text property of OSTypetxtinput field and type Host.OSType as value.
Navigate to Text property of SessionIDtxtinput field and type Host.SessionID as value.
Navigate to Text property of TenantIDtxtInput field and type Host.TenantID as value.
This way we learnt to use host objects in Canvas App.