MoreBeerMorePower

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

Power Apps

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

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…

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

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

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…

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 …

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 …

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…

SaveData & LoadData on Power Apps Web Player [Experimental feature]

So far, Offline-capable canvas apps are supported only on mobile player or app running in Teams environment. Because there are some differences in functionality between apps that run in Teams and canvas apps created in a normal environment…

ダブルクォーテーションで囲みがあるCSVをうまくコレクションに取り込む

2021/9/21に投稿されたJohn LiuのブログとReza DorraniのYoutube動画を組み合わせて、日本語を含む (ダブルクォーテーションなどで囲まれていたり囲まれていなかったりする) CSVをうまくPower Appsのコレクションに取り込めたので、方法を書いておきます。 R…

モデル駆動型アプリでのアプリ内通知の設定

モデル駆動型アプリでのアプリ内通知は2021年8月末にパブリックプレビューが開始された新機能です。 これまでもPush通知は提供されてきましたが、これはモバイルアプリ限定で動作するものでした。 アプリ内通知はモバイルアプリ利用中のみならず、ブラウザー…

Power Apps で使える背景画像ジェネレーター

最近はずっとSVGを使ってアプリを装飾するような試みを続けていますが、今回は背景画像を作れるアプリを作ってみました。 ダウンロードはコミュニティサンプルからどうぞ。 powerusers.microsoft.com このアプリでは、SVGのPatternという仕組みを利用して、…

カラーパレットや色の変換をしてくれるAPI : The Color API のカスタムコネクターを作りました

カラーパレットを作ってくれるようなサービスはいろいろありますが、API経由で実行できて&無料で使えるものとなるとそれほど多くはないようです。 The Color APIはレスポンスがPower AppsやPower Automateで使いやすい形式でしたので、カスタムコネクターを…

10K Google Material Icons in Power Apps

Power Apps で Google Material Icons を使う場合、GithubにあるアイコンのURLを画像コントロールに指定する方法もありますが、これだとアイコンの色が変えられないのが難点です。 アプリのテーマに合わせた色のアイコンを利用できるように、アイコンを一覧…

Power Apps でジグソーパズルを作成しました

コミュニティのサンプルからダウンロードして遊べます。 powerusers.microsoft.com ジグソーパズルを作った際のポイント 1. ギャラリーで複数のアイテムにドラッグ&ドロップ機能を追加 Power Apps でドラッグ&ドロップ機能を作るためにはタイマーとスライ…

Power Apps で スライドパズルを作成してみた

[2021/08/28:シャッフルのロジックを追記しました] スライドパズルをPower Appsで作ってみた こういうやつです。小さいころ、当時の戦隊シリーズのヒーローが書いてあるやつで遊んだなー。 15ゲーム スライドパズル 15パズル (プレミアムバージョン1個とノ…

アプリを共有したユーザーの一覧を Power Automate でCSVファイルとして保存する

PowerShellなんて使えませんという方向けに。 Power Apps でアプリを共有したユーザーの一覧をCSVファイルにしたいシーンがあったので、以下のようなフローを作ってみました。 特に難しいことをしているわけではないです。Power Apps for Makersというコネク…

簡単だけど便利そうなUserAgent stringを表示するPCF作ってみた

Power Appsで実行している環境を知りたい場合の方法はこれまでいくつか考えられてきました。 例えばデバイスがGPSの信号をとれるかどうか や、フローを実行してPowerAppsからのリクエストを見る方法などです。 GPSのほうはPCでもGPSの信号を取得できるとモバ…

Power Apps の Canvas App Component で バーコード作成 (JAN/EAN/CODE-39)

このような感じで、入力された13桁の数字から、JAN/EANのバーコードを生成するコンポーネントを作成しました。 ダウンロードは以下のコミュニティサンプルからどうぞ。 powerusers.microsoft.com [Update 2021/8/6] CODE-39への対応を追加しました。 チェッ…

Create a Teams chat from Power Apps

Short post showing how to use the new actions that have been recently added to the Teams connector - "Create a chat" in Power Apps. 0. Add Teams connector as data source To use Teams action from Power Apps, add Teams connector from "Data" …

Two types of Canvas App

Background In a recent update of canvas studio (> v3.21063) , it was found that the feature to import/export canvas app components will be retired in the future. With this retirement, app makers will need to use the Component library to sh…

Power Apps の UI コントロール用 コンポーネントサンプル

Power Apps Community のサンプルに投稿しましたので、まとめです。 1. Radial Slider (円スライダー) 海外コミュニティのフォーラムで「円スライダーないか?」みたいな質問があったので、パパセンセイのアプリを改造してコンポーネントとして作成しました…