Tag Archives: PowerApps

M365 Ultimate PowerShell

Loads all Microsoft 365 cloud PowerShell modules in a single window.  No more wasted time jumping between download pages and locating various Import-Module from each product team.  Collected all here centrally to provide M365 admins with a single PowerShell PS1 to install and import every command they might need.  Enables cloud admin productivity to quickly access every command. 

Cheers!  shades_smile

Video

Screenshot

image

GitHub Repo

References

VIDEO – PowerApps – Super Gallery

Working with Gallery control in PowerApps can be a limiting way to navigate records.   Many PowerApps include multiple screens with dedicated Gallery screens for navigation.   Helping users locate records (sort, filter, scroll, and search) would be better accomplished with SharePoint Views.   SharePoint List Views are more mature with full features for ad-hoc sort, filter, search and ability to save query (shared/personal) and provide hyperlinks to view ASPX pages.

Why not use SharePoint Views instead of Gallery control?

Turns out we can.   On SharePoint modern pages:

  1. Create new custom column with simple formula “=[ID]”
  2. Apply JSON custom formatting to generate link <A HREF=”…power app URL..ID=1”> which opens PowerApps, giving ID number for a single record to Edit
  3. Share View URL with end users to navigate records (sort/filter/search/paging)

This gives a robust and familiar navigation experience.  Use PowerApps for it’s strength (input validation) and use SharePoint list for it’s strength (navigate records).  Cheers.  shades_smile

Video

PowerApps – Super Gallery from Jeff Jones on Vimeo.

Screenshots

image

image

image

References

Code – GitHub Repo

Code – SuperGallery-Modern-VIEW-FORM-column

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "div",
  "children": [
    {
      "elmType": "a",
      "style": {
        "color": "white",
        "display": "inline-block",
        "padding": "4px",
        "background-color": "purple"
      },
      "attributes": {
        "target": "_blank",
        "href": "='https://apps.powerapps.com/play/015ba39a-db14-4d5f-80a9-c23881784383?tenantId=19e61d8c-a318-488b-8d4e-33bc232b3530&source=portal&screenColor=rgba(0%2C%20176%2C%20240%2C%201)&ID=' + [$ID]"
      },
      "children": [
        {
          "elmType": "span",
          "txtContent": "VIEW FORM"
        }
      ]
    }
  ]
}

VIDEO – SharePoint Saturday – Upload PowerApps picture with MS Flow

During SharePoint Saturday in Chicago, I attended a great session by Mark Vogt (https://www.emtecinc.com/) to LIVE BUILD a working PowerApp.    Attendees were able to follow along by creating the sample application on their own Office 365 tenant.

The demo video below shows the sample application with PowerApps, MS Flow, and how to leverage the Camera control to take mobile pictures and save to a SharePoint Picture Library.  One of the challenges was to convert format from DataURL (PowerApp Camera control) to Binary (SharePoint File).

Cheers!   shades_smile

Video

Image result for powerapp

Image result for powerapp

Image result for ms flow

Screenshots

image

image

image

MS Flow Code

'SPSat-UploadPicture'.Run("powerapp.jpg", Camera1.Photo)
dataUriToBinary(triggerBody()['Createfile_FileContent'])

References

Return to Top ▲Return to Top ▲