Cmdlets for Microsoft Planner

Build 25.0.9434

データモデル

本製品 はtasks、plans、およびbuckets などのMicrosoft Planner データをリレーショナルテーブルとしてモデル化し、SQL を記述してMicrosoft Planner データをクエリおよび変更できるようにします。これらのオブジェクトへのライブ接続により、Microsoft Planner アカウントへのあらゆる変更は本製品 によって公開される接続に即座に反映されます。

テーブル

テーブル セクションには標準SQL テーブルの詳細が、ビュー セクションには読み取り専用SQL テーブルの一覧が記載されています。これらには、Microsoft Planner アカウントでのアクセスを想定したサンプルが含まれています。

以下のテーブルおよびビューは本製品 に同梱されています。

テーブル 説明
Buckets Defines custom columns for tasks, allowing users to categorize work into phases, task types, or departments for better organization.
PlanDetails Stores metadata and additional settings related to a specific plan, enhancing its customization and management.
Plans Represents individual plans, each associated with a group, to organize and track project-related tasks.
TaskDetails Holds detailed information for tasks, including attributes such as priority, due dates, and custom fields.
Tasks Manages individual tasks, providing functionality for planning, assigning, and tracking initiatives across various projects.
Groups Represents the groups created automatically when a new plan is initiated, serving as the foundational organizational unit for tasks and plans.
TaskAssignments Provides a unified view of all tasks assigned to various users, aiding in task tracking and accountability.
TaskComments Captures discussions, notes, and comments related to tasks within a plan, fostering collaboration and communication.
Users Tracks user-specific task views and preferences, enabling personalized task management experiences.

Default Filters

The Microsoft Planner API supports several ways of accessing most entities. For example, you can fetch Tasks entries in these ways:

  • Personal Tasks: Tasks that are assigned to the current user. The 本製品 uses this when querying Tasks with no filter but only when authenticating as a user. This method is unavailable when authenticating as a service principal.
  • Specific Tasks: Providing a WHERE TaskId = '...' filter reads a specific task.
  • Plan Tasks: Providing a WHERE PlanId = '...' filter reads all tasks belonging to that plan. This includes assigned and unassigned tasks. When authenticating as a service principal, the 本製品 first queries Groups to find all plans belonging to a group and then uses this API to fetch the tasks for each of those plans.
  • User Tasks: Providing a WHERE UserId = '...' filter reads all tasks assigned to that user.
  • Bucket Tasks: Providing a WHERE BucketId = '...' filter reads all tasks in a plan bucket. This includes assigned and unassigned tasks.

Each of these options retrieves a different collection of tasks and has different performance characteristics. For example, SELECT * FROM Tasks WHERE BucketId IN (SELECT BucketId FROM Buckets) fetches tasks using buckets, which requires fetching plans (buckets belong to plans), which requires fetching groups. On the other hand, SELECT * FROM Tasks WHERE UserId IN (SELECT UserId FROM Users) requests the tasks assigned to each individual user. Which one is faster depends upon how many users you have versus how complex your group and plan structure is.

If you do not get the data or performance you expect, review the table definitions to ensure you are using the right relationships to read data.

ストアドプロシージャ

ストアドプロシージャ は、SQLクエリを介して呼び出されるアクションです。標準的なCRUD 操作だけでなく、タスクボードフォーマットの更新、OAuth 資格情報の取得などのより高度なタスクも実行します。

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434