|
| 1 | +--- |
| 2 | +title: "FAQs for timeline control (section) in Power Apps | MicrosoftDocs" |
| 3 | +description: "FAQs for timeline control (section) in Power Apps" |
| 4 | +ms.date: 12/23/2019 |
| 5 | +ms.service: powerapps |
| 6 | +author: "kabala123" |
| 7 | +ms.assetid: 7F495EE1-1208-49DA-9B02-17855CEB2FDF |
| 8 | +ms.author: "kabala" |
| 9 | +manager: "shujoshi" |
| 10 | +search.audienceType: |
| 11 | + - maker |
| 12 | +search.app: |
| 13 | + - PowerApps |
| 14 | + - D365CE |
| 15 | +--- |
| 16 | + |
| 17 | +# FAQs for timeline control |
| 18 | + |
| 19 | +## Why do I receive the message "Records could not be loaded because of unexpected error"? |
| 20 | + |
| 21 | +The **Timeline** section retrieves data about and displays in the form cards. By default, the timeline retrieves data for the 10 standard activity entities, which are: |
| 22 | + |
| 23 | +- Email |
| 24 | +- Task |
| 25 | +- Incident resolution |
| 26 | +- Fax |
| 27 | +- Opportunity close |
| 28 | +- Letter |
| 29 | +- Appointment |
| 30 | +- Phone call |
| 31 | + |
| 32 | +When you perform the following procedures as an administrator, users will see an error at runtime: |
| 33 | + |
| 34 | +**Procedure** |
| 35 | +- Create any additional custom activities |
| 36 | +- Enable custom activities for mobile |
| 37 | +- Select a **Card Form** for all the custom activities |
| 38 | + |
| 39 | +**Error:** Records could not be loaded because of an unexpected error. |
| 40 | + |
| 41 | + > [!div class=mx-imgBorder] |
| 42 | + >  |
| 43 | +
|
| 44 | +This error is caused because the number of activity entities for the data retrieval has exceeded the maximum limit of 10. |
| 45 | + |
| 46 | + > [!div class=mx-imgBorder] |
| 47 | + >  |
| 48 | +
|
| 49 | +### Workaround |
| 50 | + |
| 51 | +To work around the issue, you must reduce the number of entities to 10 or fewer. To do this, follow the steps below. |
| 52 | + |
| 53 | +1. Sign in to your `https://<YourOrgURL>.dynamics.com/apps` environment. |
| 54 | + |
| 55 | +2. Open a model-driven app, and then on the command bar select **Settings**  > **Advanced Settings**. |
| 56 | + |
| 57 | +3. Go to **Settings** > **Customization** > **Customize the System**. The solution explorer page opens in a new browser window. |
| 58 | + |
| 59 | +4. Expand **Entities** under **Components** in the default solution pane. |
| 60 | + |
| 61 | +5. Select an entity and select **Forms**. For example, select the **Account** entity. |
| 62 | + |
| 63 | +6. Select the **Account for Interactive experience** record that is a **Main** form type. The **Account for Interactive experience** form opens in a new browser window. |
| 64 | + |
| 65 | + > [!div class=mx-imgBorder] |
| 66 | + >  |
| 67 | +
|
| 68 | + For Unified Interface, you need to use the form name that has `<Entity> for Interactive experience`. |
| 69 | + |
| 70 | +7. Double-click the **Conversation Tabs** field in the **Timeline** section. The **Activities Tab Properties** dialog is displayed. |
| 71 | + |
| 72 | + > [!div class=mx-imgBorder] |
| 73 | + >  |
| 74 | + |
| 75 | +8. Select the **Show selected** option for the **Show these activities** field in the **Filter by** container. |
| 76 | + |
| 77 | +9. Select the activities you want to display to the users. |
| 78 | + |
| 79 | +10. Select **OK**, and then select **Save**. |
| 80 | + |
| 81 | +11. Select **Publish** to publish the customizations. |
| 82 | + |
| 83 | + |
| 84 | +## Why I can't assign or delete an activity from the timeline? |
| 85 | + |
| 86 | +If you use the **HideCustomActions** rule to hide buttons, such as **Assign** and **Delete** in the ribbon command bar definition, then those buttons that are present in the Timeline control will not work. The buttons in the command bar are same as the buttons in the Timeline control; therefore, when a user selects the **Assign** or **Delete** button in the Timeline control, an error message is displayed. |
| 87 | + |
| 88 | +**You do not have permission to perform this action. Please contact your system administrator.** |
| 89 | + |
| 90 | +To mitigate the issue, unhide the buttons in the command bar definitions. |
| 91 | + |
| 92 | +## See also |
| 93 | + |
| 94 | +[Set up timeline control](set-up-timeline-control.md) |
| 95 | + |
| 96 | +[Timeline section in the Customer Service Hub app](https://docs.microsoft.com/dynamics365/customer-service/customer-service-hub-user-guide-basics#timeline) |
| 97 | + |
| 98 | +[Add an appointment, email, phone call, note, or task activity to the timeline](../../user/add-activities.md) |
0 commit comments