forked from microsoft/PowerBI-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings_embed.html
50 lines (44 loc) · 2.25 KB
/
settings_embed.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<div id="report-embed-table">
<div class="pageTitle">
<h4>Embed Report</h4>
</div>
<h8>Select mode to embed your report in:</h8>
<div class="spacer" />
<div id="modeSelector">
<div onclick="OpenViewMode();"><input type="radio" name="embedMode" value="view" checked="checked"> View mode </input></div>
<div onclick="OpenEditMode();"><input type="radio" name="embedMode" value="edit"> Edit mode</input></div>
<div onclick="OpenCreateMode();"><input type="radio" name="embedMode" value="create"> Create mode</input></div>
</div>
<div id="embedModeInput">
<h8>Fill in the fields below to get the code to embed your report.</h8>
<div class="spacer" />
<div class="inputLine">
<div class="inputLineTitle">Embed Token</div>
<input type="text" id="txtAccessToken" onchange="UpdateSession(this, SessionKeys.AccessToken);" />
</div>
<div class="inputLine">
<div class="inputLineTitle">Embed URL</div>
<input type="text" id="txtReportEmbed" onchange="UpdateSession(this, SessionKeys.EmbedUrl);" value="https://embedded.powerbi.com/appTokenReportEmbed"/>
</div>
<div class="inputLine">
<div class="inputLineTitle">Report Id</div>
<input type="text" id="txtEmbedReportId" onchange="UpdateSession(this, SessionKeys.EmbedId);"/>
</div>
</div>
<div id="createModeInput">
<h8>Fill in the fields below to get the code to embed your report.</h8>
<div class="spacer" />
<div class="inputLine">
<div class="inputLineTitle">Embed Token</div>
<input type="text" id="txtCreateAccessToken" onchange="UpdateSession(this, SessionKeys.AccessToken);" />
</div>
<div class="inputLine">
<div class="inputLineTitle">Embed URL</div>
<input type="text" id="txtCreateReportEmbed" onchange="UpdateSession(this, SessionKeys.EmbedUrl);" value="https://embedded.powerbi.com/appTokenReportEmbed"/>
</div>
<div class="inputLine">
<div class="inputLineTitle">Dataset Id</div>
<input type="text" id="txtEmbedDatasetId" onchange="UpdateSession(this, SessionKeys.EmbedId);"/>
</div>
</div>
</div>