1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Qiitaのアクセス数取得自動化 Teams編⑥

1
Last updated at Posted at 2026-11-09

データ連携に奮闘中の皆様、いかがお過ごしでしょうか。

引き続き、Teams編のHULFTSquareの構築をしてまいりましょう!

前回は、JSONでスキーマを作成しました。

■HULFTSquareスクリプト作成
1.「msg作成」をクリックします。
image.png

2.「出力データ」を右クリックし、「仮スキーマを設定」を押します。
image.png

3.「仮スキーマ」を右クリックし、「リソースからスキーマを読み込む」を押します。
image.png

4.作成したスキーマを選択し、「完了」を押します。
image.png

5.仮スキーマに、JSONのフォーマットが読み込まれたことを確認します。
image.png

6.「単一行文字列定数」をドロップします。
image.png

7.「単一行文字列定数」を入力し、「完了」を押します。
 ・コメント:1
 ・一行文字列:1
image.png

8.同じ要領で、「単一行文字列定数」をコピーし、8個作ります。
image.png

9-1.「単一行文字列定数」1をクリックし、以下を記載して「完了」を押します。
 ・コメント:message
 ・一行文字列:message
image.png

9-2.「単一行文字列定数」2をクリックし、以下を記載して「完了」を押します。
 ・コメント:application/vnd.microsoft.card.adaptive
 ・一行文字列:application/vnd.microsoft.card.adaptive
image.png

9-3.「単一行文字列定数」3をクリックし、以下を記載して「完了」を押します。
 ・コメント:AdaptiveCard
 ・一行文字列:AdaptiveCard
image.png

9-4.「単一行文字列定数」4をクリックし、以下を記載して「完了」を押します。
 ・コメント:1.4
 ・一行文字列:1.4
image.png

9-5.「単一行文字列定数」5をクリックし、以下を記載して「完了」を押します。
 ・コメント:TextBlock
 ・一行文字列:TextBlock
image.png

9-6.「単一行文字列定数」6をクリックし、以下を記載して「完了」を押します。
 ・コメント:String
 ・一行文字列:String
image.png

9-7.「単一行文字列定数」7をクリックし、以下を記載して「完了」を押します。
 ・コメント:Object
 ・一行文字列:Object
image.png

9-7.「単一行文字列定数」8をクリックし、以下を記載して「完了」を押します。
 ・コメント:Array
 ・一行文字列:Array
image.png

10.8個の「単一行文字列定数」にテキストが入ったことを確認します。
image.png

11-1.「message」と「type」をつなぎます。
image.png

11-2.「application/vnd.microsoft.card.adaptive」と「contentType」をつなぎます。
image.png

11-3.「AdaptiveCard」と「type」をつなぎます。
image.png

11-4.「1.4」と「version」をつなぎます。
image.png

11-5.「TextBlock」と「type」をつなぎます。
image.png

11-6.「String」と「type」6個をつなぎます。
image.png

11-7.「Object」と「type」3個をつなぎます。
image.png

11-8.「Array」と「type」2個をつなぎます。
image.png

11-9.「通知msg」と「text」をつなぎます。
image.png

次は、POST実行部分を作成します。

【連載記事】

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?