Skip to content

Commit 09c3314

Browse files
authored
Merge branch 'pnp:main' into main
2 parents 7b0e9c7 + 1c7e6ae commit 09c3314

35 files changed

+1804
-187
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
[
2+
{
3+
"$schema": "https://developer.microsoft.com/en-us/json-schemas/pnp/samples/v1.0/metadata-schema.json",
4+
"name": "pnp-powerplatform-snippets-office-365-users-get-manager-ac",
5+
"version": "1.0.0.0",
6+
"source": "pnp",
7+
"creationDateTime": "2024-09-15T00:00:00.000Z",
8+
"updateDateTime": "2024-09-15T00:00:00.000Z",
9+
"title": "Office 365 Users: Get Manager (Action)",
10+
"shortDescription": "This is a snippet that demonstrates how to get your manager details using the Office 365 Users action.",
11+
"longDescription": [
12+
"This is a snippet that demonstrates how to get your manager details using the Office 365 Users action. It uses an adaptive card as an output to not only display your manager details but to also start a Teams chat with them."
13+
],
14+
"url": "https://github.com/pnp/powerplatform-snippets/tree/main/copilot-studio/office-365-users-get-manager-ac/",
15+
"products": [
16+
"Power Platform",
17+
"Copilot Studio",
18+
"powerplatform-snippets",
19+
"copilot-studio-snippets"
20+
],
21+
"tags": [
22+
],
23+
"categories": [
24+
],
25+
"metadata": [
26+
{
27+
"key": "Product",
28+
"value": "Copilot Studio"
29+
},
30+
{
31+
"key": "Type",
32+
"value": "Topic"
33+
}
34+
],
35+
"thumbnails": [
36+
{
37+
"type": "image",
38+
"order": 100,
39+
"url": "https://raw.githubusercontent.com/pnp/powerplatform-snippets/main/templates/previewsnippets.png",
40+
"alt": "Preview PNG"
41+
}
42+
],
43+
"authors": [
44+
{
45+
"gitHubAccount": "gomomohapi",
46+
"name": "Gomolemo Mohapi",
47+
"pictureUrl": "https://github.com/gomomohapi.png"
48+
}
49+
]
50+
}
51+
]

copilot-studio/timeout-message-topic/README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,29 @@ Timeout Message (Topic) | [Elaiza Benitez](https://github.com/elaizabenitez) ([@
1515

1616
## Minimal path to awesome
1717

18-
1. Open a copilot in **Copilot Studio**
18+
1. Open an agent in **Copilot Studio**
1919
1. Select **Topics**
20-
1. Select **+ Create**
21-
1. Select **Topic**
20+
1. Select **+ Add a topic**
2221
1. Select **Create from blank**
2322
1. Select the **...** in the upper right corner and select **Open code editor**
2423
1. Click inside the code editor and **CTL + A for Windows** or **Command-A** for Mac to select all rows.
2524
1. Paste the contents of the **[YAML-file](./source/timeout-message.yaml)** inside the code editor.
2625

27-
![View of the code editor](./assets/code-editor-copied-YAML.jpg)
28-
29-
1. Replace **{ REPLACE-WITH-COPILOT-NAME }** with the name of your copilot.
30-
31-
![View of the code editor with a red line around the connection reference name](./assets/code-editor-with-copilot-name.jpg)
26+
![View of the code editor](./assets/code-editor-copied-YAML.png)
3227

3328
1. Enter a **Name** for your Topic.
3429
1. Select **Save**
35-
1. Test out the **Timeout Message** by publishing your copilot to **Microsoft Teams** and enter a trigger phase for one of your Topics.
36-
1. After receiving a response from your copilot, do not enter a message and leave idle for 10 minutes.
30+
1. Test out the **Timeout Message** by publishing your agent to **Microsoft Teams** and enter a trigger phase for one of your Topics.
31+
1. After receiving a response from your agent, do not enter a message and leave idle for 10 minutes.
3732
1. After 10 minutes, the trigger for inactivity will be executed and the timeout message will be displayed, you're **done**!
3833

39-
![View of the timeout message after the condition has been met](./assets/timeout-message-output-in-Microsoft-Teams.jpg)
34+
![View of the timeout message after the condition has been met](./assets/timeout-message-output-in-Microsoft-Teams.png)
35+
36+
### Note
37+
38+
If you want to change the timeout duration, select the **ellipsis (. . .) icon** in the trigger. The **Inactivity properties** pane will load and the inactivity duration value can be updated. Convert desired minutes into seconds. For example 10 minutes is 600 seconds.
39+
40+
![Inactivity duration](./assets/InactivityDuration.png)
4041

4142
## Disclaimer
4243

169 KB
Loading
Binary file not shown.
92 KB
Loading
Binary file not shown.
Binary file not shown.
180 KB
Loading
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Date Range Picker
2+
3+
This snippet implements a date range picker, enabling users to select a start and end date, thus improving the overall UX.
4+
5+
6+
![date-range-picker](./assets/date-range-picker.png)
7+
8+
9+
## Authors
10+
11+
Snippet|Author
12+
--------|---------
13+
Steve Bourdin | [GitHub](https://github.com/SteveBourdin) ([LinkedIn](https://www.linkedin.com/in/steve-bourdin-ab998762/) )
14+
15+
## Minimal path to awesome
16+
17+
1. Open your canvas app in **Power Apps**
18+
2. Copy the contents of the **[YAML-file](./source/date-range-picker.yaml)**
19+
3. Click on the three dots of the screen where you want to add the snippet and select "Paste"
20+
21+
22+
23+
## Code
24+
**[YAML-file](./source/date-range-picker.yaml)**
25+
26+
27+
## Disclaimer
28+
29+
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
30+
31+
<img src="https://m365-visitor-stats.azurewebsites.net/powerplatform-snippets/power-apps/date-range-picker" aria-hidden="true" />
30.3 KB
Loading

0 commit comments

Comments
 (0)