Skip to content

Commit 66fb9b5

Browse files
authored
(DOCSP-37582): Document disconnecting/reconnecting databases in Charts (#650)
* document disconnecting/reconnecting databases * fix small bug related to org sharing
1 parent c220da8 commit 66fb9b5

File tree

1 file changed

+66
-34
lines changed

1 file changed

+66
-34
lines changed

source/manage-data-sources.txt

Lines changed: 66 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ On the :guilabel:`Data Sources` page, an |service|
2020
:authrole:`Project Owner` can:
2121

2222
- :ref:`Connect a data source <connect-data-source>` to |charts|.
23-
- :ref:`Disconnect a data source <disconnect-data-source>` from
23+
- :ref:`Disconnect a data source or database <disconnect-data-source>` from
2424
|charts|.
2525
- Modify :ref:`data source settings <access-data-source-settings-page>`.
2626

@@ -57,6 +57,11 @@ To connect a data source to |charts-short|:
5757
connect. The database's data sources display, including
5858
:ref:`charts views <charts-views>`.
5959

60+
If the database is disconnected:
61+
62+
a. Click the :guilabel:`Connect` button next to the database.
63+
b. In the :guilabel:`Reconnect Database` dialog box, click :guilabel:`Reconnect`.
64+
6065
|charts-short| displays the following information about the data source:
6166

6267
.. list-table::
@@ -72,8 +77,7 @@ To connect a data source to |charts-short|:
7277

7378
* - :guilabel:`Organization`
7479
- Label that indicates whether you've enabled
75-
:ref:`organization-wide sharing <org-sharing-data-source>`
76-
at the deployment level.
80+
:ref:`organization-wide sharing <org-sharing-data-source>`.
7781

7882
* - :guilabel:`External Users`
7983
- Label that indicates whether:
@@ -131,10 +135,10 @@ To connect a data source to |charts-short|:
131135

132136
.. _disconnect-data-source:
133137

134-
Disconnect a Data Source from |charts|
135-
--------------------------------------
138+
Disconnect a Data Source or Database from |charts|
139+
--------------------------------------------------
136140

137-
Disconnect a data source from |charts-short| to remove its data from
141+
Disconnect a data source or database from |charts-short| to remove its data from
138142
your charts. If you disconnect a data source:
139143

140144
- Any charts you built that use the data source no longer
@@ -143,49 +147,77 @@ your charts. If you disconnect a data source:
143147
source no longer render and display an error.
144148
- You can't use the data source to build new charts.
145149

150+
If you disconnect a database, |charts-short| disconnects
151+
all of the data sources in the database. You can :ref:`reconnect
152+
<connect-data-source>` a data source or database later to
153+
resume rendering charts that use its data.
154+
146155
You can also :ref:`disconnect a deployment <disconnect-deployment>`.
147156
To delete a charts view, see :ref:`charts-views`.
148157

149-
If you disconnect a data source, you can :ref:`reconnect
150-
<connect-data-source>` it later to resume rendering charts that
151-
use its data.
152-
153158
.. note::
154159

155160
.. include:: /includes/sample-data-source-description.rst
156161

157-
To disconnect a data source from |charts-short|:
162+
To disconnect a data source or database from |charts-short|:
158163

159-
.. procedure::
160-
:style: normal
164+
.. tabs::
161165

162-
.. include:: /includes/steps-access-deployment.rst
166+
.. tab:: Disconnect Data Source
167+
:tabid: disconnect-data-source
163168

164-
.. step:: In the :guilabel:`Data Access` section, select the database that contains the data source.
169+
.. procedure::
170+
:style: normal
165171

166-
Select the database that contains the data source you want to
167-
disconnect. The database's data sources display.
172+
.. include:: /includes/steps-access-deployment.rst
168173

169-
.. step:: Click :guilabel:`Manage` next to the data source's information.
174+
.. step:: In the :guilabel:`Data Access` section, select the database that contains the data source.
170175

171-
The data source's details page displays.
176+
Select the database that contains the data source you want to
177+
disconnect. The database's data sources display.
172178

173-
.. step:: Check the connection status and disconnect the data source.
179+
.. step:: Click :guilabel:`Manage` next to the data source's information.
174180

175-
If the data source connection status is :guilabel:`Disconnected`,
176-
the data source is already disconnected from |charts|.
177-
178-
If the data source connection status is :guilabel:`Connected`:
179-
180-
a. Click the disconnect icon :icon-fa5:`unlink` next to the data
181-
source connection
182-
status. The :guilabel:`Disconnect Data Source` modal appears.
183-
#. Click :guilabel:`Check for connected charts` to
184-
learn whether any charts use the
185-
data source.
186-
#. Click :guilabel:`Disconnect`.
187-
188-
The data source disconnects from |charts-short|.
181+
The data source's details page displays.
182+
183+
.. step:: Check the connection status and disconnect the data source.
184+
185+
If the data source connection status is :guilabel:`Disconnected`,
186+
the data source is already disconnected from |charts|.
187+
188+
If the data source connection status is :guilabel:`Connected`:
189+
190+
a. Click the disconnect icon :icon-fa5:`unlink` next to the data
191+
source connection
192+
status. The :guilabel:`Disconnect Data Source` modal appears.
193+
#. Click :guilabel:`Check for connected charts` to
194+
learn whether any charts use the
195+
data source.
196+
#. Click :guilabel:`Disconnect`.
197+
198+
The data source disconnects from |charts-short|.
199+
200+
.. tab:: Disconnect Database
201+
:tabid: disconnect-database
202+
203+
.. procedure::
204+
:style: normal
205+
206+
.. include:: /includes/steps-access-deployment.rst
207+
208+
.. step:: In the :guilabel:`Data Access` section, select the database that you want to disconnect.
209+
210+
The database's data sources display.
211+
212+
.. step:: Disconnect the database.
213+
214+
To disconnect the database and all of its data sources:
215+
216+
a. Click the :guilabel:`Disconnect` button for the selected database.
217+
#. In the dialog box, click :guilabel:`Check for connected charts`.
218+
|charts-short| displays the number of charts that use the data sources
219+
in the database.
220+
#. Click :guilabel:`Disconnect` to confirm your selection.
189221

190222
.. _access-data-source-settings-page:
191223

0 commit comments

Comments
 (0)