Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
時刻表検索アプリを作る
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
MiyakeMito
April 25, 2021
Technology
450
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
時刻表検索アプリを作る
時刻表検索アプリを作る
MiyakeMito
April 25, 2021
More Decks by MiyakeMito
See All by MiyakeMito
Power Automateアップデート情報
miyakemito
0
360
マルチステージとAI承認について
miyakemito
0
180
Copilot Studioについて
miyakemito
7
10k
Dataverseの検索列について
miyakemito
2
2k
AI Builder について
miyakemito
3
1.2k
Microsoft Copilot Studio についてざっくり説明
miyakemito
2
1.9k
Power Automateのデータ操作(Data Operation)について (Ver.モダンデザイナー)
miyakemito
5
4.2k
JSON攻略法.pdf
miyakemito
13
7.3k
ガンダムBotを1分でつくってみせろよ
miyakemito
1
930
Other Decks in Technology
See All in Technology
OpenTelemetry eBPF Instrumentationの舞台裏 / Behind the Scenes of OpenTelemetry eBPF Instrumentation
ymotongpoo
4
1.3k
Reactの設計論
uhyo
24
14k
リアーキテクチャ後の障害ゼロを目指したShadow Testingの取り組み
nihonbuson
PRO
1
150
データ_AIの事業の勝敗をわけるもの
nek0128
1
450
AIエージェントの一手は 誰も見ていない - Falco拡張OSS「Prempti」とeBPFで サーバーレス実行基盤を二層防御する
keitah
0
190
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
240
作って終わりじゃないサーバーレス 〜9年運用する大規模EC物流API基盤の設計・運用のリアル〜
zozotech
PRO
0
150
あけおめLINE 傾向とその対策
nasa9084
0
130
30座EKS, 180次升級淬煉的EKS Upgrade Skill 的歷程
eric8230
0
170
Vibe Coding で作ったプロダクトをどう安全に動かすか / How to Safely Run Products Built with Vibe Coding
glidenote
0
150
HRC_Frontend_Conference_Fukuoka_2026.pdf
ts020
0
750
HHKBエバンジェリストになる方法
941
0
110
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
6.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Music & Morning Musume
bryan
48
7.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Practical Orchestrator
shlominoach
192
12k
The Cult of Friendly URLs
andyhume
79
7k
Transcript
時刻表検索アプリ を作る
自己紹介 株式会社アイシーソフト https://www.icsoft.jp/ @MiTo60448639 https://qiita.com/MiyakeMito おうじゃさんといっしょMVP受賞(2021/03)
おうじゃさんといっしょ 毎週金曜日 19:00 ~ 23:00? Microsoft MVP おうじゃ(前田)さん はじめ 365
プロフェッショナルな方々で 形成されるコミュニティ https://oujasan-to-issho.connpass.com/
アジェンダ 時刻表アプリで利用する Power Automate Desiktop スクレイピング SharePoint Online リストへのデータアクセス LINE
と Power Automate 通信方法 を理解する
時刻表検索アプリ
しくみ ①スクレイピング ②追加 ③要求 ⑤応答 ④取得 時刻表 Power Automate Desktop
Power Automate
PADでの スクレイピング
テーブルのスクレイピング スクレイピングしたテーブルは、 「テキストの分割」で リスト変数として扱える。 路線ごとの停車駅一覧をスクレイ ピングする。
行数や列数が変動するテーブル
テーブルを動的にスクレイピング ① UI要素にループIndexを設定 ② 『列』や『行』の末端は『Web ページに次が含まれるか(UI要 素)』で判定 html > body
> table > tbody > tr:eq(%Loopindex1%) > td
注意 今回利用しましたYahoo路線案内は問題ありませんが (2021年4月現在) 利用規約で自動化を禁止しているサイトも存在します。 ご注意ください。
PADから SPOリストを編集
PADからSPOリストに接続 『SQL接続を開く』で接続 Provider=Microsoft.ACE.OLEDB.12.0;WSS; IMEX=0;RetrieveIds=Yes; DATABASE=[サイトURL];LIST=[リストID]; 『SQL接続を閉じる』で切断
PADからSPOリストデータを編集 『SQL ステートメントの実行』で SQLによるデータ操作が可能 ・取得 SELECT ・追加 INSERT INTO ・更新
UPDATE ・削除 DELETE FROM SQLの中に変数が指定可能 SELECT station,arrival,departure FROM List WHERE station = '%NewVar%'
LINEと POWER AUTOMATE の連携
LINEの設定 ① プロバイダーの作成 ② チャンネルの作成 Messaging APIの設定
Power Automate の設定 ① LINEからの受信 ② LINEからのメッセージを取得 ③ LINEへの送信 Flex
Message を利用すると リッチなメッセージが送れる
DEMOします
注意!! LINEとの通信部分は 有償ライセンスが必要です 期限なし無償の学習/開発用(個人向けプラン)がおすすめ Power Apps Community Plan https://powerapps.microsoft.com/ja-jp
フローの説明
フローの説明 時間が残っていれば・・・
まとめ PADのスクレイピングとSPOリストの編集 LINEとPower Automateとの通信 で 素敵アプリを作成いただけると嬉しいです
本日の内容 ▪ LINEから「ふだん使う路線の時刻表検索」を、Power Automate Desktop と Power Automate と Sharepoint
Online で作る https://qiita.com/MiyakeMito/private/fb07c535d1f796a97929 ▪ Power Automate DesktopでWebのUI要素有無を判断すると何かと 便利! https://qiita.com/MiyakeMito/items/f0bb3919dc219582d76d ▪ Power Automate Desktop で SharePoint Onlineリストのデータを ダイレクトに取得や操作する方法 https://qiita.com/MiyakeMito/items/4c9408744d7ed3486770 ▪ Power Automate と LINE で通信する方法 https://qiita.com/MiyakeMito/items/fb07c535d1f796a97929
ありがとうございました