MoreBeerMorePower

Power Platform中心だけど、ノーコード/ローコード系を書いてます。

Power Apps

Power Apps で レコード型のデータからキーバリュー型のテーブルに変換する方法 (Tips)

久しぶりの Power Apps のTipsです。 今回のTipsを考えたきっかけは、Power Appsのチャートコントロールに設定されている色を、アプリのテーマカラーに合わせられないかなと考えたことでした。下図右側のバーチャートがアプリのテーマを適用したものです。 …

モダンコントロールに関する新機能「Optimize for devices」

Power Apps のキャンバスアプリでプレビュー提供されているモダンコントロールに関する新機能が Authoring version 3.23112.10 で追加されましたのでご紹介です。 モダンコントロールがプレビュー/実験的機能として追加された当初、アプリ作成者の不満の1つ…

Quick Tips on How to apply New theming system to Classic controls

Intro - New theming system A new theme system is available in Power Apps v3.23075.7. This allows for consistent management of the colors of modern controls within the app, which was previously not possible to set. However, as noted at the …

Power Apps で XML Beautifier を作成 (vkBeautifyを移植)

今回はPower Apps 夏の自由研究として XMLを整形するアプリを Power Appsで作ってみました。 テキストボックスに入力されたインデントなどが適切に入っていないXMLを、ボタンをクリックすることで綺麗に整形してくれます。 XMLの整形 (XML Beautifier) を行…

Read CSV file content in Power Apps w/o Flow

The requirement to import CSV files in Power Apps is very popular, and is an expected feature in the case of bulk data registration, for example. So far, it has been known to pass a CSV file to Power Automate, and returns the resulting rea…

マルチバイト文字対応のBase64 Encoder

以前作成したPower Appsで利用可能なBase64 Encoder/Decoderですが、日本語を含むマルチバイト文字に対応していないという課題がありました。 mofumofupower.hatenablog.com Power Apps上でBase64エンコードできると、Office 365 Groupsコネクターを使ってGr…

Post Adaptive Cards directly from Canvas app

With the addition of Untyped object, many actions can now be executed in Power Apps. If an action parameter requires a dynamic object, Power Apps requires that parameter to be passed as an Untyped object. In this article, I will show you h…

Power Apps から Office365Groups.HttpRequestを利用する場合の注意点

前回の投稿に続き、Office 365 GroupsコネクターのHTTP要求アクションについて調べた結果の紹介です。 前回はGETした結果をPower Appsでどう処理するかでしたが、今回はPOSTで何かデータを送る場合の手続きについて、Power Apps単体でやろうと思ったときの注…

標準アクションで取得できない属性情報を取得しよう - Office 365 Groups & Untyped Object

はじめに 最近作ったアプリで使った方法の紹介です。 Azure AD上のグループを検索して、そのオーナーとメンバーを一覧表示するようなアプリを作りたいと考えました。作りは非常にシンプルで、検索ボックスとギャラリー3つの構成です。 まずはデータ接続とし…

Power Apps Modern Controlsを試してみよう

Authoring version 3.23033.14 で追加されたプレビュー機能「Try out the modern controls」の紹介です。 2023/3/27時点では10個のモダンコントロールが利用可能です。Fluent UIコントロールだけでなく、一部はPower Apps Creator Kitのコンポーネントから追…

Scan multiple Barcodes in single action - Barcode reader (Preview)

Previously, Barcode scanner control has benn used to scan several barcodes in Power Apps. It is really handy feature for case - such as managing inventory/stocks, but the control can scan only single barcode at single scan and target barco…

Power Apps から SharePoint リストの添付ファイルにファイルを登録する (フォーム不使用)

備忘録というよりほかに方法ないかなというフィードバック待ちの投稿です。 [20232/22追記] Rezaが非常にスマートなアプローチを紹介してくれてました。なぜこれを思いつかなかったんだ… このブログは読まなくていいのでぜひRezaの動画をご覧ください。 http…

Teams会議にPower Appsを追加する

概要や経緯など もともと2020年9月に、Teamsの会議をアプリでカスタマイズしよう!という文脈で、Power Appsを利用した会議エクスペリエンスのカスタマイズの話が出ていました。 techcommunity.microsoft.com なかなか公式から情報が公開されない中で、アプ…

【新機能】 PDF関数で Power Apps からPDFを作成する 【日本語対応!?】

【2022/10/12 部分的な日本語対応を確認したので更新】 Power Appsの最新 Authoring version 3.22094.7 で試験的な機能として "PDF function" が追加されました。 これまではPrint関数を利用することでキャンバスアプリの画面を印刷、PDF化していましたが、…

Named Formulas in Power Apps

Named formulas, one of the featured Updates in 2022 Release wave 2, is finally available. docs.microsoft.com The feature requires that Power Apps authoring version is greater than 3.22091.8, and currently it is experimental feature. Named …

Convert JSON data in Power Apps without Premium license

So far, since Power Apps has not supported the parsing of JSON objects or arrays, makers have been utilizing (somewhat complex) Regex techniques or premium action of Power Automate to handle the data in Power Apps. Refs: Power Apps Validat…

Save new canvas apps inside Dataverse solution by default (New feature)

Currently, to add an app to a solution, you must either manually add the app you created in the environment or select the solution and create a new app. In a default environment, this is a natural operation, but in other (more purpose-buil…

実行専用のアクセス許可で直接権限を持たないリスト・ファイルを読み書きする

Power Apps で何らかのデータソースを利用してアプリを作成する場合、よくある要望に『データには利用者に直接アクセス権限を与えたくない』というものがあります。 例えば人事情報など、利用者にはデータの一部を見せたいけど全体にアクセス権を与えられな…

CData Connect Cloud と Dataflows を利用した Dataverse への 外部データ取り込み

はじめに CData Connect Cloud 関連 6回目の投稿は Dataflows です! Dataflows は、いろんなサービスに散らばっているデータを Dataverse に集約するための機能で、さまざまなデータソースからDataverseへのデータ加工・取り込みを可能にします。 Power App…

Figmaを利用したPower Apps キャンバスアプリの作成

2022の Microsoft Build で大々的にアナウンスのあった Power Apps のExpress Design では、Figma でデザインしたアプリを実際の Power Apps 上で再現 (デザインのインポート) することができます。 Express Designのまとめについては 向井さん のブログをご…

CData Connect Cloud を利用してGoogle Analytics のデータを Power Apps から取得する

はじめに 本日リリースされました、CData さんの CData Connect Cloud を使って Google Analytics から Power Apps にデータを引っ張ってきてみましたので、その方法をご紹介します。 お知らせ✨クラウドデータ接続『CData Connect Cloud』を新たにリリースし…

SharePoint リストを Dataverse の Virtual Table として追加する

はじめに Virtual Tableは外部データをあたかもDataverseのテーブルであるかのように扱える機能で、非常に雑に言えばコネクターを使って取得される外部データの結果をテーブルのように見せている仕組みです。 物理的なDataverseのテーブルを作成するDataflow…

キャンバスアプリで数式を含むテキストの新しい書き方 $-String Interpolation

Power Appsのキャンバスアプリでテキストの中で数式を使うような場合 (例えば "ようこそ XXさん" のXXにユーザー名を入れるケース)、これまでは "&"で前後の文字列と数式を結合させていました。 Label.Text : "ようこそ" & User().FullName & "さん" このよ…

Dataverseの新しい仮想テーブル AAD Userが便利

Dataverse の テーブルに、新しく "AAD User" という仮想テーブルが追加されていました。 このテーブルは読み取り専用で、カラムのカスタマイズなどはできない、システムで用意されたテーブル といった形です。 名前のとおり、AAD上のユーザー情報を返してく…

Power Appsでコンポーネントをギャラリーやフォームに追加する裏技

Power Apps のコンポーネントを利用する上でもっとも悩ましい制限といえば、ギャラリーやフォームにコンポーネントを追加できないことではないでしょうか。 docs.microsoft.com ※キャンバスアプリコンポーネントはだめだけど、PCFで作ったコードコンポーネン…

New "Search" feature in Power Apps studio

Recently, the Find & Replace feature has been made available on the formula bar, which makes it easier to find the variable, function, or expression in a long lines. This Find & Replace is targeted within a single formula, a new preview fe…

Excel Onlineコネクターを利用する際の改善アップデートが登場!

[2022/03/17追記] 既定の環境でAuthoring version 3.22031.27が利用可能になり、これに伴い本投稿のアップデートも利用可能になりました。 2022/02/25 時点でstudio-version=v3.22023.15.215006110 でExcel Onlineコネクターに関する Power Apps上のアップデ…

Power Apps で SVGを利用したレーダーチャートコンポーネントの作成

Twitterで『Power Apps Communityのサンプルでレーダーチャートがある』という呟きを拝見したのがきっかけです。 powerusers.microsoft.com ただしこちらのコンポーネント、8角形と5角形のみで値も5段階のみということでした。 よく見る3角形のレーダーチャ…

AI Builder の テキスト認識で読み取った結果を整形する - Power Apps での方法

AI Builderを使って何らかアプリを作ってみよう!となった時、真っ先に思いつくのはテキスト認識を利用した画像の文字抽出かなと思います。 テキスト認識には事前構築済みのAIモデルがあり、頑張ってサンプル画像を大量に用意してトレーニングをさせることな…

How to localize content in Custom pages for Model Driven app

In this post, I will show how to provide localization in custom pages for model-driven app step by step. For standalone canvas apps, we usually use Language() function to detect users' language and LookUp some translated text from static d…