Skip to content

A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.

6.6 KB
Raw Blame
{
  "solution": { "uniqueName": "ContosoSupportDesk", "displayName": "Contoso Support Desk", "publisherPrefix": "new" },
  "app": { "name": "Support Desk", "description": "Manage customers, their support tickets, and ticket comments" },
  "entities": [
    {
      "schemaName": "new_customer",
      "displayName": "Customer",
      "pluralName": "Customers",
      "primaryAttribute": { "schemaName": "new_name", "displayName": "Customer Name" },
      "columns": [
        { "schemaName": "new_segment", "displayName": "Segment", "type": "Choice", "options": ["Enterprise", "Mid-Market", "Small Business"] },
        { "schemaName": "new_accountmanager", "displayName": "Account Manager", "type": "Text" }
      ]
    },
    {
      "schemaName": "new_ticket",
      "displayName": "Ticket",
      "pluralName": "Tickets",
      "primaryAttribute": { "schemaName": "new_name", "displayName": "Title" },
      "columns": [
        { "schemaName": "new_priority", "displayName": "Priority", "type": "Choice", "options": ["Low", "Medium", "High", "Critical"] },
        { "schemaName": "new_status", "displayName": "Status", "type": "Choice", "options": ["New", "In Progress", "Resolved", "Closed"] },
        { "schemaName": "new_duedate", "displayName": "Due Date", "type": "DateTime" },
        { "schemaName": "new_description", "displayName": "Description", "type": "Memo" }
      ]
    },
    {
      "schemaName": "new_comment",
      "displayName": "Comment",
      "pluralName": "Comments",
      "primaryAttribute": { "schemaName": "new_name", "displayName": "Comment" },
      "columns": [
        { "schemaName": "new_body", "displayName": "Body", "type": "Memo" },
        { "schemaName": "new_author", "displayName": "Author", "type": "Text" },
        { "schemaName": "new_postedon", "displayName": "Posted On", "type": "DateTime" }
      ]
    }
  ],
  "relationships": [
    { "type": "OneToMany", "referenced": "new_customer", "referencing": "new_ticket",
      "lookup": { "schemaName": "new_CustomerId", "displayName": "Customer" } },
    { "type": "OneToMany", "referenced": "new_ticket", "referencing": "new_comment",
      "lookup": { "schemaName": "new_TicketId", "displayName": "Ticket" } }
  ],
  "forms": [
    {
      "entity": "new_customer",
      "type": "main",
      "name": "Customer",
      "layout": "auto",
      "subgrids": [
        { "childEntity": "new_ticket", "view": "Active Tickets", "label": "Related Tickets" }
      ]
    },
    {
      "entity": "new_ticket",
      "type": "main",
      "name": "Ticket",
      "layout": "auto",
      "purpose": "tracking",
      "subgrids": [
        { "childEntity": "new_comment", "view": "Active Comments", "label": "Related Comments" }
      ]
    },
    {
      "entity": "new_comment",
      "type": "main",
      "name": "Comment",
      "layout": "auto"
    }
  ],
  "views": [
    {
      "entity": "new_customer",
      "name": "Active Customers",
      "columns": ["new_name", "new_segment", "new_accountmanager"],
      "sort": [{ "attr": "new_name", "dir": "asc" }],
      "activeOnly": true
    },
    {
      "entity": "new_ticket",
      "name": "Active Tickets",
      "columns": ["new_name", "new_priority", "new_status", "new_duedate"],
      "sort": [{ "attr": "new_duedate", "dir": "asc" }],
      "activeOnly": true
    },
    {
      "entity": "new_comment",
      "name": "Active Comments",
      "columns": ["new_name", "new_author", "new_postedon"],
      "sort": [{ "attr": "new_postedon", "dir": "desc" }],
      "activeOnly": true
    }
  ],
  "charts": [
    { "entity": "new_ticket", "name": "Tickets by Priority", "groupBy": "new_priority", "measure": "count", "chartType": "Pie" },
    { "entity": "new_ticket", "name": "Tickets by Status", "groupBy": "new_status", "measure": "count", "chartType": "Column" }
  ],
  "appShell": {
    "areas": [
      {
        "label": "Service",
        "groups": [
          {
            "label": "Support",
            "subAreas": [
              { "entity": "new_customer", "title": "Customers" },
              { "entity": "new_ticket", "title": "Tickets" },
              { "entity": "new_comment", "title": "Comments" }
            ]
          }
        ]
      }
    ]
  },
  "sampleData": {
    "new_customer": [
      { "new_name": "Northwind Traders", "new_segment": "Enterprise", "new_accountmanager": "Dana Reyes" },
      { "new_name": "Contoso Ltd", "new_segment": "Mid-Market", "new_accountmanager": "Sam Patel" },
      { "new_name": "Fabrikam Inc", "new_segment": "Small Business", "new_accountmanager": "Lee Cho" }
    ],
    "new_ticket": [
      { "new_name": "Cannot log in to portal", "new_priority": "High", "new_status": "New", "new_duedate": "2026-06-25T17:00:00Z", "new_description": "Portal rejects valid credentials after the latest update.",
        "$parent": { "entity": "new_customer", "match": { "new_name": "Northwind Traders" } } },
      { "new_name": "Invoice total incorrect", "new_priority": "Medium", "new_status": "In Progress", "new_duedate": "2026-06-27T17:00:00Z", "new_description": "Monthly invoice total is higher than expected.",
        "$parent": { "entity": "new_customer", "match": { "new_name": "Northwind Traders" } } },
      { "new_name": "Export to Excel crashes", "new_priority": "Critical", "new_status": "New", "new_duedate": "2026-06-24T17:00:00Z", "new_description": "Export throws an unhandled exception on large datasets.",
        "$parent": { "entity": "new_customer", "match": { "new_name": "Contoso Ltd" } } },
      { "new_name": "Request additional licenses", "new_priority": "Low", "new_status": "Resolved", "new_duedate": "2026-06-20T17:00:00Z", "new_description": "Customer needs 25 more Pro licenses.",
        "$parent": { "entity": "new_customer", "match": { "new_name": "Fabrikam Inc" } } }
    ],
    "new_comment": [
      { "new_name": "Initial triage", "new_body": "Reproduced the issue on staging; escalating to engineering.", "new_author": "Dana Reyes", "new_postedon": "2026-06-19T09:30:00Z",
        "$parent": { "entity": "new_ticket", "match": { "new_name": "Cannot log in to portal" } } },
      { "new_name": "Customer update", "new_body": "Customer confirmed the workaround is acceptable until the fix ships.", "new_author": "Sam Patel", "new_postedon": "2026-06-19T14:10:00Z",
        "$parent": { "entity": "new_ticket", "match": { "new_name": "Cannot log in to portal" } } },
      { "new_name": "Root cause", "new_body": "Tax-rate misconfiguration found; correcting and re-running billing.", "new_author": "Lee Cho", "new_postedon": "2026-06-20T11:00:00Z",
        "$parent": { "entity": "new_ticket", "match": { "new_name": "Invoice total incorrect" } } }
    ]
  }
}