Skip to content

Commit 49248f5

Browse files
authored
Merge pull request #2861 from MicrosoftDocs/sbm-cal-control
Sbm cal control
2 parents ad6a5d3 + 6ddc19c commit 49248f5

20 files changed

+202
-1
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@
6767
href: ../user/create-a-record.md
6868
- name: Add activities to the timeline
6969
href: ../user/add-activities.md
70+
- name: Work with records in the new calendar view
71+
href: ../user/calendar-view.md
7072
- name: FAQ about activities
7173
href: ../user/faq-for-timeline-and-activity.md
7274
- name: View and create email through the activities grid
@@ -1119,6 +1121,8 @@
11191121
href: ./model-driven-apps/additional-controls-for-dynamics-365-for-phones-and-tablets.md
11201122
- name: Timer control overview
11211123
href: ./model-driven-apps/timer-control-legacy.md
1124+
- name: Add the calendar control to entities
1125+
href: ./model-driven-apps/add-calendar-control.md
11221126
- name: Use custom controls for data visualizations
11231127
href: ./model-driven-apps/use-custom-controls-data-visualizations.md
11241128
- name: Use Excel and Word templates
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: "Add the calendar control to entities in model-driven apps | MicrosoftDocs"
3+
description: "Learn how to add the calendar control to entities in model-driven apps."
4+
ms.date: 05/11/2020
5+
ms.service:
6+
- "dynamics-365-sales"
7+
ms.topic: article
8+
author: sbmjais
9+
ms.author: shjais
10+
manager: shujoshi
11+
---
12+
13+
# Add the calendar control to entities
14+
15+
The **Calendar Control V2** control displays scheduled activities and their associated details in a calendar. You can view, create, and delete your activities in a day, week, or month view. You must be a system customizer or a system administrator to add the **Calendar Control V2** control.
16+
17+
**To add the control**
18+
19+
1. In your app, select the **Settings** icon, and then select **Advanced Settings**.
20+
21+
> [!div class="mx-imgBorder"]
22+
> ![Advanced settings](media/advanced-settings.png "Advanced settings")
23+
24+
The **Business Management** page opens in a new browser tab.
25+
26+
2. On the navigation bar, select **Settings**, and then under **Customization**, select **Customizations**.
27+
28+
3. Select **Customize the System**.
29+
30+
4. Under **Components** in the solution explorer, expand **Entities**, and then select an entity. For example, **Activity**.
31+
32+
5. On the **Controls** tab, select **Add Control**.
33+
34+
> [!div class="mx-imgBorder"]
35+
> ![Add control command](media/add-control.png "Add control command")
36+
37+
6. In the **Add Control** dialog box, select **Calendar Control V2**, and then select **Add**.
38+
39+
> [!div class="mx-imgBorder"]
40+
> ![Add control dialog box](media/add-cal-control.png "Add control dialog box")
41+
42+
7. The calendar control is added to the list of controls.
43+
44+
> [!div class="mx-imgBorder"]
45+
> ![Calendar control added](media/cal-control-added.png "Calendar control added")
46+
47+
8. **Read-only grid** is the default option, so when users select an entity from the site map, they'll see a read-only grid of opportunities. To make the calendar view the default view instead, select the corresponding **Calendar Control V2** option buttons.
48+
49+
9. Select the edit icon for each of the mandatory fields, and then select the binding values.
50+
51+
> [!div class="mx-imgBorder"]
52+
> ![Binding values for mandatory fields](media/bind-values.png "Binding values for mandatory fields")
53+
54+
10. Select **Save** to save your changes.
55+
56+
11. To publish the changes you've made, select **Publish**.
57+
58+
### See also
59+
60+
[Work with records in the new calendar view](../../user/calendar-view.md)
Loading
Loading
Loading
Loading
Loading

powerapps-docs/user/add-activities.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: kvivek
66
ms.service: powerapps
77
ms.component: pa-user
88
ms.topic: conceptual
9-
ms.date: 03/10/2020
9+
ms.date: 05/11/2020
1010
ms.author: mduelae
1111
ms.custom: ""
1212
ms.reviewer: ""
@@ -216,6 +216,25 @@ Manage activities directly from the timeline wall including assigning an activit
216216
![Timeline command bar options](media/timeline-options3.png "Timeline command bar options")
217217
![Timeline command bar options](media/timeline-options4.png "Timeline command bar options")
218218

219+
## See activities in List or Calendar view
220+
221+
You can see the activities in the following views:
222+
223+
- **List**: Shows a list of all activities.
224+
225+
> [!div class="mx-imgBorder"]
226+
> ![List view](media/grid-view.png "List view")
227+
228+
- **Calendar**: Shows a calendar with a list of the day's scheduled activities and the associated deals.
229+
230+
> [!div class="mx-imgBorder"]
231+
> ![Old calendar view](media/old-cal-view.png "Old calendar view")
232+
233+
- **New Calendar**: Shows an interactive calendar with a list of the day's scheduled activities and the associated deals. More information: [Work with records in the new calendar view](calendar-view.md)
234+
235+
> [!div class="mx-imgBorder"]
236+
> ![New calendar view](media/cal-view.png "New calendar view")
237+
219238
## See also
220239

221240
[Set up timeline control](../maker/model-driven-apps/set-up-timeline-control.md)

powerapps-docs/user/calendar-view.md

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
---
2+
title: "Work with records in the new calendar view in model-driven apps | MicrosoftDocs"
3+
description: "Learn how to view, create, and delete activities in the new calendar view."
4+
ms.date: 05/11/2020
5+
ms.service:
6+
- "dynamics-365-sales"
7+
ms.topic: article
8+
author: sbmjais
9+
ms.author: shjais
10+
manager: shujoshi
11+
---
12+
13+
# Work with records in the new calendar view
14+
15+
The new calendar view displays scheduled activities and their associated details. You can view, create, and delete your activities in a day, week, or month view. For the new calendar view to be visible, the **Calendar Control V2** control must be added to an entity view by a system customizer or a system administrator. The **Calendar Control V2** control can be added to any entity.
16+
17+
By default, records are displayed in a read-only grid. When the **Calendar Control V2** control is added to an entity and the view is changed to the calendar view, records associated with the entity will be displayed in an interactive calendar.
18+
19+
## Switch to the new calendar view
20+
21+
The calendar view is made available when the calendar control is added to an entity view. If the calendar view isn't visible, contact your system customizer or a system administrator.
22+
23+
**To switch to the new calendar view**
24+
25+
1. In the site map, select an item. For example, **Activities**.
26+
27+
2. On the command bar, select the **More commands** icon, and then select **Show As** > **Calendar Control V2**.
28+
29+
> [!div class="mx-imgBorder"]
30+
> ![Switch to calendar view](media/switch-calendar-view.png "Switch to calendar view")
31+
32+
The activities are displayed in the new calendar view.
33+
34+
> [!div class="mx-imgBorder"]
35+
> ![Calendar view of activities](media/cal-view.png "Calendar view of activities")
36+
37+
## Work with the new calendar view
38+
39+
Using the new calendar view, you can:
40+
41+
- [Change the calendar view](#change-the-calendar-view).
42+
- [View details of a calendar item](#view-details-of-a-calendar-item).
43+
- [Create and delete records from the calendar](#create-and-delete-records-from-the-calendar).
44+
- [Search through records](#search-through-records).
45+
46+
### Change the calendar view
47+
48+
You can choose from these calendar views:
49+
50+
- **Month**: View the entire month.
51+
- **Week**: View the week from Sunday through Saturday, by default. You can change the first day of the week in system settings.
52+
- **Day**: View the current day.
53+
54+
**To change the view**
55+
56+
1. On the navigation bar of the calendar, select the view you're currently in: **Month**, **Day**, or **Week**.
57+
58+
> [!div class="mx-imgBorder"]
59+
> ![Select the current calendar view](media/cal-nav-bar.png "Select the current calendar view")
60+
61+
2. Select the view you want to change to.
62+
63+
> [!div class="mx-imgBorder"]
64+
> ![Select the calendar view you want](media/cal-change-view.png "Select the calendar view you want")
65+
66+
If you want to set a calendar view as the default view, you do that through personalization settings.
67+
68+
### View details of a calendar item
69+
70+
You can view a summary of a record by selecting it in the calendar. A pop-up window opens and displays the summary information.
71+
72+
> [!div class="mx-imgBorder"]
73+
> ![Details of a calendar item](media/details-pop-up.png "Details of a calendar item")
74+
75+
If you want to view complete details about the record, select **More Details** in the pop-up window.
76+
77+
### Create and delete records from the calendar
78+
79+
The new calendar view allows you to create and delete records from the calendar.
80+
81+
**To create a record**
82+
83+
1. In the calendar, select a date tile (in **Month** view) or a time slot (in **Day** or **Week** view) in which you want to create a record.
84+
85+
> [!div class="mx-imgBorder"]
86+
> ![Select a date tile in Month view](media/date-tile.png "Select a date tile in Month view")
87+
88+
> [!div class="mx-imgBorder"]
89+
> ![Select a time slot in Day or Week view](media/time-slot.png "Select a time slot in Day or Week view")
90+
91+
Depending on the entity on which the calendar control was added, an appropriate **New** form is opened. For example, if you're viewing leads, a form to create a new lead is opened. If you're viewing opportunities, a form to create a new opportunity is opened.
92+
93+
> [!NOTE]
94+
> - When you add the new calendar control on the Activity entity, an appointment is created when you create a record from the calendar.
95+
> - When you add the new calendar control on an entity other than Activity, the corresponding entity record is created when you create a record from the calendar.
96+
> - You can also create a new record by selecting and dragging across time slots in **Day** or **Week** view.
97+
98+
2. Enter the detail, and then save the record.
99+
100+
**To delete a record**
101+
102+
1. On the calendar, select the record you want to delete.
103+
104+
2. Select **Delete** in the pop-up window.
105+
106+
> [!div class="mx-imgBorder"]
107+
> ![Delete a calendar item](media/delete-record-cal.png "Delete a calendar item")
108+
109+
### Search through records
110+
111+
You can use the Search box to filter the records in the calendar based on a search term. For example, when you enter the keyword **Meeting**, it refreshes the calendar view to show only the records where the title begins with **Meeting**.
112+
113+
> [!div class="mx-imgBorder"]
114+
> ![Use a search term to filter calendar records](media/search-cal.png "Use a search term to filter calendar records")
115+
116+
### See also
117+
118+
[Add the calendar control to entities](../maker/model-driven-apps/add-calendar-control.md)
8.28 KB
Loading

0 commit comments

Comments
 (0)