MoreBeerMorePower

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

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角形のレーダーチャ…

Computer Vision Read APIで読み取ったレシート画像の行構造をLogic Apps上で再構成する

はじめに 先日Power AutomateとAI Builderを使って、レシート画像を読み取った方法のAzure版です。 mofumofupower.hatenablog.com この画像にあるように、ある程度の精度でレシートの行の構造を再現してみるという取り組みです。 ポイントになるのは、読み取…

【備忘録】Power Automate/Logic AppsでCosmos DBに保存したアイテムを一括削除

前回はCosmos DBのリソース作成と複合インデックスの登録までやりました。 さて、これから作っていこうとしているLogic AppsのフローではCosmos DBにいったんRead APIで写真を読み取った結果を格納するわけですが、そのままにしておくのもよくないので一連の…

【備忘録】Cosmos DBのリソース作成~複合インデックスの定義まで

Power Automate での データ置き場はSharePointリストとかDataverseとかExcelとかいろいろ選べるんですが、Logic Appsの時はどうしようかなーと思ってどうせならAzureのサービスをということでCosmos DBを使ったときの備忘録です。 今回やりたいのは、前回の…

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

前回は、AI Builderのテキスト認識を利用して Power Appsのアプリでレシート画像を読み込み、レシートの行の構造を再構成する方法を紹介しました。 AI Builder の テキスト認識で読み取った結果を整形する - Power Apps での方法 - MoreBeerMorePower その際…

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

[2023/07/04 Updated: To fix error due to recent change on Split function] 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…

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…

特定の文字で列の値をマスキングするColumn formatting

SharePoint Listで1行テキストの列を特定の文字でマスクし、クリックしたら値を表示するようなColumn formattingを作ってみました。 Masking field in view using SharePoint column formatting pic.twitter.com/s20BR5qbYx— Hiro (@mofumofu_dance) Decemb…

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

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

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…

SharePoint List Formatting : "Wixing Moon"

This example creates SVG image representing a wixing moon based on the value of number type column. JSON { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "style": { "display…

『SharePointへのHTTP要求』アクション活用術(基本・裏技)

この投稿は 2021/11/16 に実施したライブ配信の参考情報まとめです。 珍しくランチタイム勉強会 - Power Automate - YouTube 基本 : SharePointへのHTTP要求アクション すこし応用 : 一覧されていないURLへのリクエストなど すごく応用:サポートされていな…

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

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

WinForms で Power Fxをはじめてみる

ついに Power Fxのソースコードが公開されました! powerapps.microsoft.com 自前のサービスにPower Fxを使ったユーザー自身によるカスタマイズを用意できますね! そんなたいそうなことはできないので、WinFormsで本当に簡素なアプリを作ってみました。 今…

Power Apps アプリのバージョン管理をGitHubで行えるようになります

これまで Power Apps をチームで作成してきた方であれば度々出くわしたであろう問題、「アプリのバージョン管理どうしよう?」「複数人で開発するのにブランチって作れる?」など、残念ながら共同編集・共同作業のUXはあまり良いものではありませんでした。 …

Working with Formula column in Dataverse for Teams

Overview Formula column is one of data type in Dataverse for Teams leveraging Power Fx. You can add a formula column to table familiar with the Canvas app. In "Expression" box, you can build formula using other columns -Single/Multi line t…

Smoothly animated clock without Timer control

pic.twitter.com/sqb4bDtjdN— Hiro (@mofumofu_dance) 2021年10月19日 So far, I saw many app makers made animated clock leveraging repeating Timer and some variable to update HTML/SVG code. The animated clock in above Tweet is not using Timer …

Post a teams message with Tag mention from Power Automate

Posting a teams channel message with Tag mention is achieved using Graph API via flow with following Url https://graph.microsoft.com/v1.0/teams/<teamId>/channels/<channelId>/messages and request body (See Ref. Mention a tag with a flow – Expiscornovus from D</channelid></teamid>…

Alternative of OnStart - New property App.StartScreen

App.OnStart retired? As I have posted on Twitter, App.OnStart property will be retired, and "alternatives" will also be provided as new App property. Settings in Preview environment with v3.21101.10.200979774 Today, I discovered one of tho…

New Power Apps function - RandBetween

The Rand() function returns random number between 0-1. To get random number with arbitrary min. and max. value, you can use following expression using Rand(): min + (max-min)*Rand() Alternatively, using Shuffle(...) and Sequence(....), it …

Sending Flow bot message from Power Automate to group chat/meeting chat

Around the beginning of June, the post message action in Power Automate through the Teams connector was updated to allow you to send messages to group chats. The action requires the ID of the group chat or the ID of the meeting, but even i…

How to retrieve Power Apps authoring versions

Sometimes I saw a sorrow about Power Apps authoring experience, like: "It was working fine until last week, then I edited it with the latest Studio and it looks broken!" or "I don't see an option in the Studio version list!" As you may kno…