【Power Apps】Share Pointのユーザー列を取得後の処理

  • Share Pointのユーザー列を取得後の処理(単一選択)
    Share Pointのユーザー列をPower Automateで取得後の処理は以下の通り。

    ClearCollect(colコレクション,
        ForAll(
            Table(ParseJSON(PowerAutomate名称.Run().resultJson)),
            {
                ID: Value(ThisRecord.Value.ID),
                ユーザー氏名: Left(Text(ThisRecord.Value.ColumnUser.DisplayName), Find("(", Text(ThisRecord.Value.ColumnUser.DisplayName)) -1)
            }
        )
    )
    
  • Share Pointのユーザー列を取得後の処理(複数選択)
    Share Pointのユーザー列をPower Automateで取得後の処理は以下の通り。

    ClearCollect(colコレクション,
        ForAll(
            Table(ParseJSON(PowerAutomate名称.Run().resultJson)),
            {
                ID: Value(ThisRecord.Value.ID),
                ユーザー氏名: Concat(ForAll(Table(ThisRecord.Value.ColumnUser), {DisplayName: Text(ThisRecord.Value.DisplayName)}), Left(DisplayName, Find("(", DisplayName) -1), ";")
            }
        )
    )
    

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です