Kilroy 365

Microsoft365 主にPowerPlatformについての備忘録

Power Apps Blog アップデート。 複数テーブル参照がプレビューになったよ。

最新情報のキャッチアップと、英語のお勉強兼ねて、できる時はPower Platform関連の公式ブログなど各種情報を翻訳してみようと思います。

いつまで続くかわからないけれど。

英語力についてはお察しだし、あくまで自分の備忘用というスタンスなので、もし参照されるとしても、参考程度でお願いします。

内容には一切責任を持ちませんので...

(間違いなど指摘してくださる方がおられましたらありがたいです)

 

では今回の内容に移っていきます。

元記事はこちら。

https://powerapps.microsoft.com/ja-jp/blog/category/new-features/

 

ここから翻訳です。

 

Multi-table lookups, a long awaited and much requested feature, are now live (Preview) for use via API.

待望の、リクエストの特に多かったマルチテーブル参照がAPIから利用可能になりました(プレビュー)。

 

Multi-table lookups (also sometimes known as polymorphic lookups) allow the creation of a lookup in one table that looks up records in multiple other tables at once.

マルチテーブル参照(ポリモーフイック参照としても知られる)は、複数の他のテーブルから一括してレコード参照しているテーブルに参照をかけられるようにできます。

 

This provides much greater flexibility in retrieving data within your environments.

これはあなたの環境からデータを引き出す際にさらに大きな自由度をあたえてくれます。

 

Imagine you are trying to create a lookup that lets you check out media to users.

ユーザーにメディアを見てもらうための参照を作ろうとしていると想像してみて下さい。

 

You have a table of Books, a table of Audio offerings, and a table of Video offerings.

本の情報、音声、ビデオを提供するテーブルがあるとします。

 

Prior to this, there was no easy way to create a lookup that would pull data from all three tables at once, and you may end up with three separate lookups:

Checkout-> Books
Checkout-> Audio
Checkout-> Video

この機能が出る以前なら、3つ全てのテーブルから一度にデータを引き出す参照を作る単純な方法は無く、本、音声、ビデオそれぞれ個別の参照をするしか仕方がなかったでしょう。


What if you were searching for both the physical book and audio book for a title you wanted? 

気になるタイトルを、本とオーディオブック両方探す場合はどうでしょう。

 

What if you wanted to find the soundtrack to a movie and a movie?

映画と、そのサントラを探したい場合はどうでしょう?

 

What if a friend recommended a movie to you but also said the book was great?

友人が映画を勧めてくれ、本も良かったと言っていた場合、どうでしょう?

 

Looking this data up across multiple tables would require individual lookups, require you to search and populate shared IDs into your checkout table, or write a custom solution.

こういったデータを複数のテーブルを横断して見つける場合、個別の参照と検索が必要で、参照するテーブルには共通するIDを設定するか、カスタムソリューション(フローなどかな?)を記述する必要があります。

 

With multi-table lookups, you can perform a lookup on 2 or more tables at the same time and locate the record you want from the referenced tables.

複数テーブル参照を使えば、二つ以上のテーブルを一度に参照し、参照したテーブルから対象のレコードを見つけることができます。

 

These lookups are all  1 to many relationships and will work in a similar way as the Customer lookup that is built into Dataverse, where Customer look ups search both Account and Contact.

これらの参照は全て、一対多のリレーションで、Dataverseに実装された、アカウントとコンタクト両方を検索するカスタマー参照と同様に動作します。

 

Using these multi-table lookups can reduce development time for your apps and provide a more streamlined user interface.

これらの複数テーブル参照はアプリ開発の時間を削減し、より効率的なUIを提供します。

 

For the current preview:

Lookups can be constructed and managed through API only
Model driven apps currently provide the best experience with the lookups
Maker UI support for creation and management is coming soon, and improved canvas app support is planned for the future.

現在のプレビューでは、

・参照の構築と管理はAPI経由のみ。

・いまのところ、この参照はモデル駆動型アプリでの体験がオススメです。

・構築と管理における開発者UIサポートは近いうちにリリースです、キャンバスアプリへのサポートも予定されています。

 

おわりに

 

訳は以上となります。

複数のテーブルから情報を一括で取って来れるのは便利そうですね!

まだモデル駆動型には手を出していないので、今後のキャンバスへの展開を期待しています♪