Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M365 roadmap graph connector #50

Merged
merged 6 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading