You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/add-functionality/add-event.md
+39-3Lines changed: 39 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,7 @@ specific events.
31
31
32
32
## Events
33
33
34
-
Each supported event is described in the table below. You get the EventType from
35
-
`microstrategy.dossier.EventType`.
34
+
Each supported event is described in the table below. You get the EventType from `microstrategy.dossier.EventType` or `microstrategy.embeddingContexts.EventType`.
description: The Embedding SDK allows you to quickly integrate a Strategy document consumption page into a web application in a responsive manner. It also provides resources to add functionalities such as selecting components.
4
+
---
5
+
6
+
The Embedding SDK allows you to quickly integrate a Strategy document consumption page into a web application in a responsive manner. It also provides resources to add functionalities such as selecting components.
7
+
8
+
There are three basic steps for embedding a Strategy document consumption page.
9
+
10
+
1. In the initial page of your web application, add a link to the Strategy JavaScript Embedding SDK.
Replace `{YOUR_LIBRARY_SERVER_URL}` with your actual Strategy Library Server URL, e.g., [https://demo.microstrategy.com/MicroStrategyLibrary](https://demo.microstrategy.com/MicroStrategyLibrary).
17
+
18
+
1. Create a `<div>` as the placeholder where you want to embed the dashboard consumption page.
19
+
20
+
```html
21
+
<divid="container"></div>
22
+
```
23
+
24
+
1. Call the `microstrategy.embeddingContexts.embedDocumentConsumptionPage(props)` method to embed the dashboard consumption page in the container.
0 commit comments