Skip to content

Commit 71b2380

Browse files
authored
Live publish
2 parents eb37f76 + 2cba26b commit 71b2380

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

powerapps-docs/maker/portals/configure/add-chart.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: sandhangitmsft
55
ms.service: powerapps
66
ms.topic: conceptual
77
ms.custom:
8-
ms.date: 09/22/2020
8+
ms.date: 09/30/2020
99
ms.author: sandhan
1010
ms.reviewer: tapanm
1111
---
@@ -16,18 +16,19 @@ You add a chart to a webpage by using a Liquid tag named [Chart](../liquid/porta
1616

1717
- The **Copy** field on a webpage.
1818
- In the **Source** field on a [Web template](../liquid/store-content-web-templates.md).
19-
20-
For example, `{% chart id:EE3C733D-5693-DE11-97D4-00155DA3B01E %}`
2119

2220
![Chart example](../media/dynamics365-chart-example.png "Chart example")
2321

24-
You can also specify the ID of a view (saved query) to filter the query. For example:
22+
For example, to show leads by source and filtered for only open leads view:
2523

2624
```
2725
<!—Leads by Source – Open Leads -->
2826
{% chart id:"EE3C733D-5693-DE11-97D4-00155DA3B01E" viewid:"00000000-0000-0000-00AA-000010001006" %}
2927
```
3028

29+
> [!IMPORTANT]
30+
> You must specify the values for both the [`chart id`](#get-the-id-of-a-chart) and the [`viewid`](#get-the-id-of-a-view) parameters to render a chart on a portals webpage.
31+
3132
## Get the ID of a chart
3233

3334
1. Go to the target entity, for example, **Sales** > **Leads**.
@@ -44,7 +45,12 @@ You can also specify the ID of a view (saved query) to filter the query. For exa
4445

4546
7. Paste the `visualizationid` value into your Liquid chart tag declaration for the chart ID parameter, for example:
4647

47-
`{% chart id:EE3C733D-5693-DE11-97D4-00155DA3B01E %}`
48+
```
49+
<!—Leads by Source – Open Leads -->
50+
{% chart id:"EE3C733D-5693-DE11-97D4-00155DA3B01E" viewid:"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" %}
51+
```
52+
53+
Now that the Liquid chart tag declaration has the chart ID, follow the next steps to get the view ID.
4854
4955
## Get the ID of a view
5056

powerapps-docs/user/faq-for-timeline-and-activity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ When you select the **Print Preview** option in Dynamics 365 the **Timeline Wall
6060

6161
[Add an appointment, email, phone call, note, or task activity to the timeline](add-activities.md)
6262

63-
[Timeline section in the Customer Service Hub app](https://docs.microsoft.com/dynamics365/customer-service/customer-service-hub-user-guide-basics#timeline)
63+
[Dynamics 365 Sales: Frequently asked questions](https://docs.microsoft.com/dynamics365/sales-enterprise/faqs-sales#entity-activity)
6464

6565

0 commit comments

Comments
 (0)