Power Apps の App.Onstartプロパティの非推奨の話

18K Views

May 28, 23

スライド概要

おうじゃさんといっしょ でLTさせて頂いた資料デス。
2023/05/11(木)
おうじゃとわいわいもくもくしたりする日 #99
https://oujasan-to-issho.connpass.com/event/282862/

profile-image

Microsoft 365 , Power Platform ( Power Apps | Power Automate )とか

シェア

またはPlayer版

埋め込む »CMSなどでJSが使えない場合

関連スライド

各ページのテキスト
1.

Power Apps の App.OnStart が非推奨の話 忘れないように備忘録てきな @flali_world おうじゃとわいわいもくもくしたりする日 #99 2023/05/11

2.

PROFILE フロッキー https://www.frog-pod.com/ NAME : ふらり @ ROBO BOY Twitter : @flali_world Blog : https://flali.hatenablog.com/ Docs : https://www.docswell.com/user/fworlddocs @flali_world 2

3.

App.OnStart がない 久しぶりにPower Apps を操作したら、App.OnStart が消えてました… 2 1 @flali_world 3

4.

どうやら非推奨になったらしい… 2021年10月頃より、パフォーマンスの問題で非推奨に… 引用: App.StartScreen: a new declarative alternative to Navigate in App.OnStart | Microsoft Power Apps @flali_world 4

5.

App.OnStart プロパティの主な利用用途 Navigate関数で 起動Screen指定 App.OnStart 初期設定値の定義 データソースの キャッシュなど @flali_world 5

6.

App.OnStart 非推奨で代替手段は? App.OnStart Navigate関数で 起動Screen指定 代替手段? 初期設定値の定義 代替手段? データソースの キャッシュなど 代替手段? @flali_world 6

7.

App.OnStart 非推奨で代替手段は? App.OnStart Navigate関数で 起動Screen指定 App.StartScreen 初期設定値の定義 代替手段? データソースの キャッシュなど 代替手段? @flali_world 7

8.

①App.StartScreen(開始Screenの指定ができる!) App.StartScreen を使うことで、アプリ起動時のScreenを指定できます! (2021年10月) 引用: App.StartScreen: a new declarative alternative to Navigate in App.OnStart | Microsoft Power Apps @flali_world 8

9.

②App.StartScreen(開始Screenの指定ができる!) ドキュメント 引用 : Power Apps の App オブジェクト - Power Platform | Microsoft Learn @flali_world 9

10.

App.OnStart 非推奨で代替手段は? App.OnStart Navigate関数で 起動Screen指定 App.StartScreen 初期設定値の定義 App.Formulas データソースの キャッシュなど 代替手段? @flali_world 10

11.

①App. Formulas(名前付き計算式、プレビュー) App.Formulas を使って、アプリで使う色の設定値やユーザー情報などを名前付 き計算式で格納できます。(2022年9月) 引用 : Power Fx: Introducing Named Formulas | Microsoft Power Apps @flali_world 11

12.

②App. Formulas(名前付き計算式、プレビュー) ドキュメント。既定でOFFなのと、プレビュー機能なので利用には注意。 アプリ内で値を更新できない点にも注意。グルーバル定数(だと思う) Power Apps の App オブジェクト - Power Platform | Microsoft Learn @flali_world 12

13.

③ Formulas の定義のしかた これまでの変数は関数で定義する方法でした。 Formulas プロパティでの設定はこれまでの設定方法と異なります。 これまでの変数の定義 Formulas プロパティ での定義 セミコロン必須! @flali_world 13

14.

App.OnStart 非推奨で代替手段は? App.OnStart Navigate関数で 起動Screen指定 App.StartScreen 初期設定値の定義 App.Formulas データソースの キャッシュなど まだ、なし @flali_world 14

15.

まだ、これからっぽいよ 代替案を作成中です。 引用 : Power Apps の App オブジェクト - Power Platform | Microsoft Learn @flali_world 15

16.

じゃぁ、App.OnStart 使えないとこまるじゃん ( Formulas も Preview だしね ) @flali_world 16

17.

一応、まだ使えます。 設定 > 全般(の下の方) > App.Start プロパティを有効にする を オン @flali_world 17

18.

このあたり、皆さんはどうされていますか? @flali_world 18

19.

🤖は、スタート画面にスタートボタンを設置で回避 @flali_world 19

20.

ちなみに今は既定でオンになているかもしれない 最近取得したばかりの試用版環境で確認してみました。 @flali_world 20

21.

Thank you !