Skip to content

Commit 00bc52b

Browse files
j-p-allenjeff-allen-mongo
authored andcommitted
(DOCSP-7950): Remove tenant ID error code and remove tenant from embedding examples
1 parent 341ce2b commit 00bc52b

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

source/embedded-chart-options.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ an Unauthenticated chart and a Verified Signature chart:
148148

149149
https://charts.mongodb.com/charts-atlasproject1-piocy/embed/charts?
150150
id=93584ddb-1115-4a12-afd9-5129e47bbb0d&
151-
tenant=3397ee6d-5079-4a20-b097-cedd475220b5&
152151
filter={"imdb.rating":%20{$gte:%208}}&
153152
autorefresh=30
154153

@@ -198,7 +197,6 @@ an Unauthenticated chart and a Verified Signature chart:
198197

199198
https://charts.mongodb.com/charts-atlasproject1-piocy/embed/charts?
200199
id=93584ddb-1115-4a12-afd9-5129e47bbb0d&
201-
tenant=3397ee6d-5079-4a20-b097-cedd475220b5&
202200
timestamp=1564156636&
203201
expires-in=300&
204202
filter=%7B%22imdb.rating%22%3A%20%7B%24gte%3A%208%7D%7D&
@@ -238,7 +236,7 @@ every 30 seconds as defined by the ``autorefresh=30`` query parameter:
238236
<iframe style="border: none;border-radius: 2px;box-shadow: 0 2px
239237
10px 0 rgba(70, 76, 79, .2);" width="640" height="480" src="
240238
{charts-host}/embed/charts?id=b3ca720f-4b4a-40b4-a726-e7dc0c49aa1c&
241-
tenant=c184f559-a6d6-4c17-a524-fde31193e498&autorefresh=30"></iframe>
239+
autorefresh=30"></iframe>
242240

243241
Considerations
244242
~~~~~~~~~~~~~~
@@ -376,7 +374,6 @@ for readability.
376374
box-shadow: 0 2px 10px 0 rgba(70, 76, 79, .2);"
377375
width="640" height="480" src="
378376
https://charts.mongodb.com/charts-crllr/embed/charts?id=a1b2c3d4-a1b2-c3d4-9766-47b0b2daaff3&
379-
tenant=a1b2c3d4-a1b2-a1b2-a1b2-bb7f36c9def6&
380377
theme=dark
381378
"></iframe>
382379

@@ -409,7 +406,6 @@ the ``MongoDB`` logo:
409406
width="640" height="480" src="
410407
https://charts.mongodb.com/mongodb-charts-twsqq/embed/charts
411408
?id=a1b2c3d4-a1b2-c3d4-9766-47b0b2daaff3&
412-
tenant=a1b2c3d4-a1b2-a1b2-a1b2-bb7f36c9def6&
413409
theme=light&
414410
attribution=false
415411
"></iframe>

source/embedding-charts.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Procedure
6464
Embedded Charts Error Codes
6565
---------------------------
6666

67-
If an shared chart fails to render, an error code is displayed:
67+
If an embedded chart fails to render, an error code is displayed:
6868

6969
.. list-table::
7070
:header-rows: 1
@@ -76,11 +76,6 @@ If an shared chart fails to render, an error code is displayed:
7676
* - ``-1``
7777
- Unknown error.
7878

79-
* - ``1``
80-
- Invalid tenant ID. Check the ``tenant`` field in the iframe
81-
HTML and make sure it matches what you see in the
82-
:ref:`Embed Chart <embedding-procedure>` modal window.
83-
8479
* - ``2``
8580
- Item not found. Check the ``id`` field in the iframe
8681
HTML and make sure it matches what you see in the

0 commit comments

Comments
 (0)