MoreBeerMorePower

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

Power Apps

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…

モデル駆動型アプリのカスタムページでお手軽多言語対応

For non-Japanese readers : https://mofumofupower.hatenablog.com/entry/localize_custompage_en キャンバスアプリで多言語対応のアプリを作成する場合、その多くは各言語用のテキストを収めた静的データ (Excelテーブルのインポートなど) を利用し、キャ…

Detect Unauthorized Git repo used in Power Apps co-authoring

Git version control, aka Co-Authoring feature is AWESOME! Co-authoring in canvas apps (experimental) - Power Apps | Microsoft Docs But... admins may be concerned that the source code may leak to inappropriate (= not managed by organization…

Building "DecodeUrl" function in Power Apps

Power Apps has capability to encode text to percent-encoded style (ex: EncodeUrl("@") -> %40), however, there is no decoding function (DecodeUrl). So far, highly nested Substitute functions are used to decode a percent-encoded text. (See r…

Encode/Decode Base64 in Power Apps without Flow

In previous post, I showed how to convert a base using multiple conversion tables. As an application of this technique, I will show the encoding plain text to Base64 and decoding Base64. Char() function To make conversion table, I have use…

Power AppsでDEC2BIN

Power Appsで10進数を2進数に変換する需要がどこまであるかわかりませんが、絶対忘れそうなので備忘録として残しておきます。 number に変換したい10進数を、placeに2進数での桁数を設定して、 With( { number:41, place:6 }, Concat(Sequence(place,place,-…

Handling base32 string in Power Apps

Base32 is much less common than Base64, so Power Apps/Power Automate don't have capabilities to handle it. Recently, Base32 encoded string is used in New Zealand COVID passport, and it is provided as QR code. Ref: New Zealand Covid Pass Sp…

Listing All Power Apps functions

Power Apps is supporting over 100 functions in canvas app studio, and is officially listed below: docs.microsoft.com This is official list, however, we sometimes would find undocumented functions in studio - such as RandBetween, ScanBarcod…

モデル駆動型アプリで追加言語を有効にする手順

普段キャンバスアプリを作るとき/使うときには、諸々の理由により表示言語を英語に設定しているのですが、モデル駆動型アプリを使い始めたらなぜかブラウザー言語を英語にしているのに全部日本語で表示されて困っていました。 個人設定を見てみても、言語の…

Preview page orientation with RTL language in Custom pages

RTL language in Model-driven app In model-driven app, if the user set their personal language option as Right-to-Left (RTL) languages, app automatically flip its page orientation RTL reflecting user preference. Interestingly, Not only buil…

Power Appsの新しい料金プラン「Pay-as-you-go」を設定する

Ignite 2021に合わせて発表されたPower Appsの新しい料金プラン「Pay-as-you-go」では、従量課金と固定月額制の中間にあたるような、1アクティブユーザー毎&1アプリ毎の月額プランです。 このプランがこれまでの固定月額制と大きくことなる部分は、組織のAz…