Skip to content

Commit

Permalink
M365 roadmap graph connector (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadamer authored Jun 4, 2024
1 parent f05235d commit 164fa3a
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 1 deletion.
5 changes: 5 additions & 0 deletions samples/dotnet-csharp-m365-roadmap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This sample contains a Microsoft Graph connector that shows how to Ingest M365 R
Version|Date|Comments
-------|----|--------
1.0|February 18, 2024|Initial release
1.1|May 12, 2024|Updated README.md, resultsLayout files

## Prerequisites

Expand All @@ -38,6 +39,10 @@ Version|Date|Comments
- [Create result type](https://learn.microsoft.com/microsoftsearch/manage-result-types) with default settings and the external connection you've just created
- Use the `resultLayout.json` file for the Adaptive Card code

-
## Results Layout
- Browse to the admin center then Search & intelligence then update the result layout with the resultLayout json file.

## Features

This sample shows how to Ingest M365 Roadmap content in Microsoft 365 using Microsoft Graph connectors using C# and .NET
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions samples/dotnet-csharp-m365-roadmap/assets/resultLayout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.6",
"body": [
{
"type": "TextBlock",
"text": "[${title}](${url})",
"size": "Large",
"weight": "Bolder",
"color": "Accent",
"wrap": true
},
{
"type": "TextBlock",
"text": "${description}",
"size": "Small",
"wrap": true,
"isSubtle": true,
"spacing": "None"
},
{
"type": "Container"
},
{
"type": "Container",
"separator": true
},
{
"type": "TextBlock",
"text": "[More info](${url})",
"size": "Small",
"spacing": "None",
"color": "Accent"
}
]
}
8 changes: 7 additions & 1 deletion samples/dotnet-csharp-m365-roadmap/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@
{
"type": "image",
"order": 100,
"url": "https://github.com/pnp/graph-connectors-samples/raw/main/samples/dotnet-csharp-m365-roadmap/assets/M365-Roadmap-Graph-Connector.png",
"url": "https://github.com/pnp/graph-connectors-samples/raw/main/samples/dotnet-csharp-m365-roadmap/assets/M365-Roadmap-Graph-Connector01.png",
"alt": "M365 Roadmap Graph Connector"
},
{
"type": "image",
"order": 200,
"url": "https://github.com/pnp/graph-connectors-samples/raw/main/samples/dotnet-csharp-m365-roadmap/assets/M365-Roadmap-Graph-Connector02.png",
"alt": "M365 Roadmap Graph Connector"
}
],
Expand Down

0 comments on commit 164fa3a

Please sign in to comment.