Tuesday, July 27, 2021

PowerApps for Teams: Broken items in ComboBox

I am enjoying my journey through the half-baked world of PowerApps within Teams (which if you haven't realized yet is a completely different thing than just building a normal PowerApp and linking to it within Teams).  The bad layouts, then limited choices, the awkward redesign of the base UI.  It all makes me so very happy.  Or not.

Today Microsoft has shown me that they aren't beyond failing at simply displaying the values in ComboBox for a hard-coded Collection.

Tuesday, July 13, 2021

Simplified Multi-Item Editing / Patching

Microsoft's methods for Patch(), Update(), and UpdateIf() make it somewhat stupid when it comes to editing/updating records en masse.  Trying to pull this off can get convoluted if you aren't careful.

This is an example method for taking a Gallery where you display/edit multiple items at once and then save them all as a part of a single command.

Tuesday, June 29, 2021

Bug in Teams Dataverse/PowerApps connector

Fortunately my level of trust with anything new on the Power Platform is near zero.  Everything must be tested before I will rely upon the most basic features available.  This caution paid off today in that I only wasted about 15 minutes before figuring out the problem.

I was getting the error: The function 'Patch' has some invalid arguments. The specified column X does not exist.  The column with the most similar name is X.

The issue?  You cannot (currently) Patch() a record from a Collection to Teams Dataverse (but you can to SharePoint, SQL, etc...)

Oddly enough, both work fine connecting to the standard Dataverse (non-Teams).

NOTE:  I have a "fix" from MS and will detail below

Monday, May 10, 2021

HTML Tables and Message Formatting

 I wrestled with what to label this one but decided to just keep it simple.  There isn't a great and straightforward way to create message templates within PowerApps currently and may find yourself struggling w/ HTML vs. Adaptive Cards depending upon the types of messages.  However, this at least will jumpstart your ability to create more standardized HTML Tables to include in your messages w/ minimal customization on your part.

Wednesday, July 22, 2020

Microsoft Dataflex/Dataverse/CDS - What is it and what does this mean?

NOTE: I updated this today (Aug 5th 2020) after meeting w/ some Microsoft representatives around what we currently know about Dataflex.

NOTE: As of August 12, 2020, it appears this will be renamed from "Dataflex".  Perhaps Microsoft staff used Bing to search for the term instead of Google and didn't realize that trademark was in use.

NOTE: As of November, 2020, they've re-rebranded the CDS to be Dataverse.

Microsoft announced yesterday (July 22, 2020) a new (old-ish) method for accessing/storing data for "Teams apps" which still brings some questions of what in the world a "Teams app" is and/or what is included in what license and what we essentially can do with it.

I don't have a lot of answers beyond what Microsoft has shared to date per Dataflex:
  • it is included in base Teams licenses
  • "Dataflex" is a subset of "Dataflex Pro"
  • "Dataflex Pro" is a rebrand of the CDS ($$$)
And while I have been driving down a road toward divorcing PowerApps and Microsoft Forms from the ultimate data storage repositories and using semistructured data formats (i.e. JSON) for much of my recent recommendations, this seems to be an attempt to truly pin down some of the issues around deploying, supporting, and ultimately governing some aspects of the o365 landscape within Teams.

Sunday, May 10, 2020

Low-code/no-code delivery model: NoSQL style JSON storage in SharePoint

I have a dream.

A dream where I can spin up a PowerApp (or Microsoft Form) in a few minutes, publish it out and the SharePoint list will magically be created.  A dream where others will then pick up the baton and perform the data optimizations and connectivity for an array of data sources while avoiding Microsoft CDS licensing requirements.  A dream where I can deploy applications in minutes and over the span of the next few hours, days, weeks, the rest of the work to fully build out the data architecture for the application can occur over a longer timeline w/o losing data or slowing down deployments.

I dream this dream almost every day.

NOTE: It is now June 2025 and any new visitors can read this knowing that I am a master at forecasting the future state and what Microsoft is planning.


Thursday, March 5, 2020

Faux Drag and Drop using Hidden Sliders

One of the key features missing from a UI perspective from PowerApps currently is the ability to drag/drop items on the screen.  It definitely limits some of your options in building interfaces and controls that work in a way users might expect.

However, there are notes elsewhere on how to mimic this behavior in some limited fashion using sliders.  This walks you through a common use case of having a Gallery where you can move items into various stages similar to a Kanban board in a manner that will seem intuitive to users.



Monday, December 9, 2019

OMFG HOW I HATE FLOW / POWER AUTOMATE!!!!!!

I am angry.

Very angry.

I hate everyone involved in the creation of this tool.  Even if you are trying to make it better.

I just want you all to get space herpes.

Today's rant is brought to you by an entire team of people who suck at their jobs.  Or...perhaps some people who are being told to not make things easier for people working with SharePoint data and to focus on making it super-easy to use the CDS/Dataflex/Dataverse/whatever data store...

NOTE:  If you're visiting this in 2025, then know that you need to switch between the Classic and New viewer for an array of tasks.  So before you completely abandon this thing, just know that some stuff should still be done in the old view, while some stuff should be done in the new "experience".  YOU CANNOT ONLY USE ONE OF THESE SO BE PREPARED TO SWAP BETWEEN THEM WHEN (NOT IF) THINGS DON'T WORK AS PLANNED.

Tuesday, November 26, 2019

Dynamic Icons

This is pretty simple and is mainly just a place to dump this code for others to use.  If you're wanting to programmatically change icons on your page and populate/change them based upon inputs from "somewhere else", then you'll need a collection of icons that you can perform a LookUp() against.

For example, say you want a generic toolbar to use in all of your apps and to control that based upon some settings you might import from Excel or retrieve from SharePoint.  This would allow you to have a Collection of Icons displayed that would be populated with only what you need.

 

Wednesday, November 13, 2019

How to create sliding trays

I wrote a broader discussion on Animating PowerApps previously.  That article was a fairly broad discussion per animating in general.


This article is covering a start->finish design on setting up a sliding tray allowing users to show/hide application controls at run-time.