The CData Sync App provides a straightforward way to continuously pipeline your Confluence data to any database, data lake, or data warehouse, making it easily available for Analytics, Reporting, AI, and Machine Learning.
The Confluence connector can be used from the CData Sync application to pull data from Confluence and move it to any of the supported destinations.
Create a connection to Confluence by navigating to the Connections page in the Sync App application and selecting the corresponding icon in the Add Connections panel. If the Confluence icon is not available, click the Add More icon to download and install the Confluence connector from the CData site.
Required properties are listed under the Settings tab. The Advanced tab lists connection properties that are not typically required.
You can establish a connection to any Confluence Cloud account or Confluence Server instance. To connect set the URL connection property. For example, https://yoursitename.atlassian.net.
Confluence supports the following authentication methods: Basic Authentication, standard OAuth2.0 Authentication and SSO.
Aquire a Token
An API token is necessary for account authentication. To generate one, login to your Atlassian account and select API tokens > Create API token. The generated token is displayed.
Authenticate Using the Token
To authenticate to a Cloud account, provide the following (Note: Password has been deprecated for connecting to a Cloud Account and is now used only to connect to a Server Instance.):
To authenticate to a Server instance, specify the following:
Get an OAuth Access Token
Set the following connection properties to obtain the OAuthAccessToken:
Then call stored procedures to complete the OAuth exchange:
To connect to data, set the OAuthAccessToken connection property to the access token returned by the stored procedure. When the access token expires after ExpiresIn seconds, call the GetOAuthAccessToken stored procedure again to obtain a new access token.
Set the AuthScheme to Crowd. The following connection properties are used to connect to Crowd:
The following is an example connection string:
AuthScheme=Crowd;Url=https://yoursitename.atlassian.net;SSOLoginURL='https://<authority>/crowd/console/secure/saml/sso.action';User=crowdUserName;Password=crowdPassword;SSOExchangeUrl=https://<authority of Confluence instance>/plugins/servlet/samlconsumer;SSOAppName=CrowdAppName;SSOAppPassword=CrowdAppPassword;
Set the AuthScheme to Okta. The following connection properties are used to authenticate through Okta:
then you need to use combinations of SSOProperties input parameters to authenticate using Okta. Otherwise, you do not need to set any of these values.
In SSOProperties when required, set these input parameters:
Example connection string:
AuthScheme=Okta;Url=https://yoursitename.atlassian.net;SSOLoginURL='https://example.okta.com/home/appType/0bg4ivz6cJRZgCz5d6/46';User=oktaUserName;Password=oktaPassword;SSOExchangeUrl=https://<authority of Confluence instance>/plugins/servlet/samlconsumer;
You can use the following properties to gain more control over the data returned from Confluence:
This section details a selection of advanced features of the Confluence Sync App.
The Sync App allows you to define virtual tables, called user defined views, whose contents are decided by a pre-configured query. These views are useful when you cannot directly control queries being issued to the drivers. See User Defined Views for an overview of creating and configuring custom views.
Use SSL Configuration to adjust how Sync App handles TLS/SSL certificate negotiations. You can choose from various certificate formats; see the SSLServerCert property under "Connection String Options" for more information.
Configure the Sync App for compliance with Firewall and Proxy, including Windows proxies and HTTP proxies. You can also set up tunnel connections.
The Sync App offloads as much of the SELECT statement processing as possible to Confluence and then processes the rest of the query in memory (client-side).
See Query Processing for more information.
See Logging for an overview of configuration settings that can be used to refine CData logging. For basic logging, you only need to set two connection properties, but there are numerous features that support more refined logging, where you can select subsets of information to be logged using the LogModules connection property.
By default, the Sync App attempts to negotiate SSL/TLS by checking the server's certificate against the system's trusted certificate store.
To specify another certificate, see the SSLServerCert property for the available formats to do so.
The Confluence Sync App also supports setting client certificates. Set the following to connect using a client certificate.
To connect through the Windows system proxy, you do not need to set any additional connection properties. To connect to other proxies, set ProxyAutoDetect to false.
In addition, to authenticate to an HTTP proxy, set ProxyAuthScheme, ProxyUser, and ProxyPassword, in addition to ProxyServer and ProxyPort.
Set the following properties:
This section shows the available API objects and provides more information on executing SQL to Confluence APIs.
Views describes the available views. Views are statically defined to model AuditRecords, Pages, Blogposts, Comments, Attachments, Contributors, Labels, Spaces and Users.
Views are composed of columns and pseudo columns. Views are similar to tables in the way that data is represented; however, views do not support updates. Entities that are represented as views are typically read-only entities. Often, a stored procedure is available to update the data if such functionality is applicable to the data source.
Queries can be executed against a view as if it were a normal table, and the data that comes back is similar in that regard.
Dynamic views, such as queries exposed as views, and views for looking up specific combinations of project_team work items are supported.
Name | Description |
Attachments | Get information about a specific attachment. |
AuditRecords | Fetch a paginated list of AuditRecord instances dating back to a certain time. |
Blogposts | Get information about a specific blogpost. |
Comments | Get information about a specific comment. |
Contributors | Get information about the users who have contributed to the content. |
GroupMembers | Get users of a specific group. |
Groups | Get information about a specific group. |
Labels | Get information about the labels that a specific content has. |
PageAncestors | To look at a page hierarchy including who is the parent page. |
PageChildrens | To look at a page hierarchy including who is the child page. |
PageComments | Get comments specific to a page. |
PageContents | Get content from the page. |
Pages | Get information about a specific page. |
Spaces | Returns information about a number of spaces. |
Users | Get information about a user identified. |
ViewersAnalytics | Get the total number of distinct viewers a piece of content has. |
ViewsAnalytics | Get the total number of views a piece of content has. |
Get information about a specific attachment.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App. You can also search for Attachments using CQL (Confluence Query Language).
For example, the following queries are processed server side:
SELECT * FROM Attachments WHERE Id = '1234' SELECT * FROM Attachments WHERE Id IN ('1234','2345') SELECT * FROM Attachments WHERE Id = '294922' OR Type = 'attachment' SELECT * FROM Attachments WHERE CreatedDate <= '2019/03/29 15:00' AND Id IN ('1234','2345')
Additionally Id, Type, Title, CreatedDate, CreatedByUserName, AND LastUpdatedDatetime columns can be used in the ORDER BY clause, as following:
SELECT * FROM Attachments ORDER BY Id DESC SELECT * FROM Attachments ORDER BY CreatedByUserName ASC
Note: Filtering with CQL has the highest priority and all the other filters except "Excerpt" will be ignored when CQL filter is present in the query.
SELECT * FROM Attachments WHERE CQL = 'creator = currentUser() AND content = "1234" or space.type = "global"'
Name | Type | References | SupportedOperators | Description |
Id [KEY] | String | =,!=,IN,NOT IN | Id of the attachment. | |
Type | String | =,!=,IN,NOT IN | Type of the content. | |
Title | String | =,!=,LIKE,NOT LIKE,IN,NOT IN | Title of the attachment. | |
Status | String | Status of the attachment. | ||
SpaceKey | String |
Spaces.Key | =,!=,IN,NOT IN | The key of the space that the attachment belongs to. |
SpaceType | String |
Spaces.Type | =,!=,IN,NOT IN | The type of the space that the attachment belongs to. |
Position | String | Position of the attachment. | ||
URL | String | URL of the attachment. | ||
Excerpt | String | Excerpt of the attachment. | ||
IsLatest | Boolean | Indicator if this is the latest version of the attachment. | ||
CreatedByUserName | String | =,!=,IN,NOT IN | Username of the user who created the attachment. | |
CreatedByUserType | String | Type of the user who created the attachment. | ||
CreatedDate | Datetime | =,!=,>,>=,<,<= | Datetime for the creation of the attachment. | |
LastUpdatedDatetime | Datetime | =,!=,>,>=,<,<= | Datetime of the last updated version of the attachment. | |
LastUpdatedMessage | String | Message of the last updated version. | ||
LastUpdatedNumber | Integer | Number of the last updated version. | ||
LastUpdatedUserName | String | Username of the user who updated the latest version. | ||
LastUpdatedUserType | String | Type of the user who updated the latest version. | ||
LastUpdatedIsMinorEdit | Boolean | Indicator if this version is a minor edit. | ||
LastUpdatedIsHidden | Boolean | Indicator if the last updated version is hidden or not. | ||
PreviousVersionUserName | String | Username of the user who updated the previous version. | ||
PreviousVersionUserType | String | Type of the user who updated the previous version. | ||
PreviousVersionDatetime | Datetime | Datetime when the previous version was edited. | ||
PreviousVersionMessage | String | Message for the previously edited version. | ||
PreviousVersionNumber | String | Number of the previously edited version. | ||
PreviousVersionIsMinorEdit | Boolean | Indicator if the previous version was a minor edit. | ||
PreviousVersionIsHidden | Boolean | Indicator if the previous version was hidden or not. |
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description | |
CQL | String | CQL (Confluence Query Language) allows you to build structured queries. |
Fetch a paginated list of AuditRecord instances dating back to a certain time.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App.
For example, the following queries are processed server side:
SELECT * FROM AuditRecords WHERE SearchString = 'your search string' SELECT * FROM AuditRecords WHERE StartDate = '2019-08-12' SELECT * FROM AuditRecords WHERE EndDate = '2019-08-15'
Name | Type | References | SupportedOperators | Description |
AffectedObjectName | String | Name of the object that was affected by changes. | ||
AffectedObjectType | String | Type of the object that was affected by changes. | ||
AuthorDisplayName | String | Display name of the person who made the changes. | ||
AuthorType | String | Type of the author who made the changes. | ||
UserKey | String | Unique identifier of the author. | ||
UserName | String | User name of the author. | ||
Category | String | Category of the object. | ||
CreationDate | Datetime | Date when the object was created. | ||
Description | String | Description of the object. | ||
RemoteAddress | String | Remote address of the object. | ||
Summary | String | Summary of the object. | ||
IsSysAdmin | Boolean | Identifier whether object is system administered or not. | ||
SearchString | String | = | Text that is inserted by the user to search for a specific object. | |
StartDate | Datetime | = | Start date of the audit. | |
EndDate | Datetime | = | End date of the audit. |
Get information about a specific blogpost.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App. You can also search for Attachments using CQL (Confluence Query Language).
For example, the following queries are processed server side:
SELECT * FROM Blogposts WHERE Id = '1234' SELECT * FROM Blogposts WHERE Id IN ('1234','2345') SELECT * FROM Blogposts WHERE Id = '123458' AND Type = 'blogpost' SELECT * FROM Blogposts WHERE CreatedDate <= '2019/03/29 15:00' AND Id IN ('1234','2345')
Additionally Id, Type, Title, CreatedDate, CreatedByUserName, AND LastUpdatedDatetime columns can be used in the ORDER BY clause, as following:
SELECT * FROM Blogposts ORDER BY Id DESC SELECT * FROM Blogposts ORDER BY CreatedByUserName ASC
Note: Filtering with CQL has the highest priority and all the other filters except "Excerpt" will be ignored when CQL filter is present in the query.
SELECT * FROM Blogposts WHERE CQL = 'creator = currentUser() AND content = "1234" or space.type = "global"'
Name | Type | References | SupportedOperators | Description |
Id [KEY] | String | =,!=,IN,NOT IN | Id of the blogpost. | |
Type | String | =,!=,IN,NOT IN | Type of the content. | |
Title | String | =,!=,LIKE,NOT LIKE,IN,NOT IN | Title of the blogpost. | |
Status | String | Status of the blogpost. | ||
SpaceKey | String |
Spaces.Key | =,!=,IN,NOT IN | The key of the space that the blogpost belongs to. |
SpaceType | String |
Spaces.Type | =,!=,IN,NOT IN | The type of the space that the blogpost belongs to. |
Position | String | Position of the blogpost. | ||
URL | String | URL of the blogpost. | ||
Excerpt | String | Excerpt of the blogpost. | ||
IsLatest | Boolean | Indicator if this is the latest version of the blogpost. | ||
CreatedByUserName | String | =,!=,IN,NOT IN | Username of the user who created the blogpost. | |
CreatedByUserType | String | Type of the user who created the blogpost. | ||
CreatedDate | Datetime | =,!=,>,>=,<,<= | Datetime for the creation of the blogpost. | |
LastUpdatedDatetime | Datetime | =,!=,>,>=,<,<= | Datetime of the last updated version of the blogpost. | |
LastUpdatedMessage | String | Message of the last updated version. | ||
LastUpdatedNumber | Integer | Number of the last updated version. | ||
LastUpdatedUserName | String | Username of the user who updated the latest version. | ||
LastUpdatedUserType | String | Type of the user who updated the latest version. | ||
LastUpdatedIsMinorEdit | Boolean | Indicator if this version is a minor edit. | ||
LastUpdatedIsHidden | Boolean | Indicator if the last updated version is hidden or not. | ||
PreviousVersionUserName | String | Username of the user who updated the previous version. | ||
PreviousVersionUserType | String | Type of the user who updated the previous version. | ||
PreviousVersionDatetime | Datetime | Datetime when the previous version was edited. | ||
PreviousVersionMessage | String | Message for the previously edited version. | ||
PreviousVersionNumber | String | Number of the previously edited version. | ||
PreviousVersionIsMinorEdit | Boolean | Indicator if the previous version was a minor edit. | ||
PreviousVersionIsHidden | Boolean | Indicator if the previous version was hidden or not. |
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description | |
CQL | String | CQL (Confluence Query Language) allows you to build structured queries. |
Get information about a specific comment.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App. You can also search for Attachments using CQL (Confluence Query Language).
For example, the following queries are processed server side:
SELECT * FROM Comments WHERE Id = '1234' SELECT * FROM Comments WHERE Id IN ('1234','2345') SELECT * FROM Comments WHERE Id = '294922' OR Type = 'comment' SELECT * FROM Comments WHERE CreatedDate <= '2019/03/29 15:00' AND Id IN ('1234','2345')
Additionally Id, Type, Title, CreatedDate, CreatedByUserName, AND LastUpdatedDatetime columns can be used in the ORDER BY clause, as following:
SELECT * FROM Comments ORDER BY Id DESC SELECT * FROM Comments ORDER BY CreatedByUserName ASC
Note: Filtering with CQL has the highest priority and all the other filters except "Excerpt" will be ignored when CQL filter is present in the query.
SELECT * FROM Comments WHERE CQL = 'creator = currentUser() AND content = "1234" or space.type = "global"'
Name | Type | References | SupportedOperators | Description |
Id [KEY] | String | =,!=,IN,NOT IN | Id of the comment. | |
Type | String | =,!=,IN,NOT IN | Type of the content. | |
Title | String | =,!=,LIKE,NOT LIKE,IN,NOT IN | Title of the comment. | |
Status | String | Status of the comment. | ||
SpaceKey | String |
Spaces.Key | =,!=,IN,NOT IN | The key of the space that the comment belongs to. |
SpaceType | String |
Spaces.Type | =,!=,IN,NOT IN | The type of the space that the comment belongs to. |
Position | String | Position of the comment. | ||
URL | String | URL of the comment. | ||
Excerpt | String | Excerpt of the comment. | ||
IsLatest | Boolean | Indicator if this is the latest version of the comment. | ||
CreatedByUserName | String | =,!=,IN,NOT IN | Username of the user who created the comment. | |
CreatedByUserType | String | Type of the user who created the comment. | ||
CreatedDate | Datetime | =,!=,>,>=,<,<= | Datetime for the creation of the comment. | |
LastUpdatedDatetime | Datetime | =,!=,>,>=,<,<= | Datetime of the last updated version of the comment. | |
LastUpdatedMessage | String | Message of the last updated version. | ||
LastUpdatedNumber | Integer | Number of the last updated version. | ||
LastUpdatedUserName | String | Username of the user who updated the latest version. | ||
LastUpdatedUserType | String | Type of the user who updated the latest version. | ||
LastUpdatedIsMinorEdit | Boolean | Indicator if this version is a minor edit. | ||
LastUpdatedIsHidden | Boolean | Indicator if the last updated version is hidden or not. | ||
PreviousVersionUserName | String | Username of the user who updated the previous version. | ||
PreviousVersionUserType | String | Type of the user who updated the previous version. | ||
PreviousVersionDatetime | Datetime | Datetime when the previous version was edited. | ||
PreviousVersionMessage | String | Message for the previously edited version. | ||
PreviousVersionNumber | String | Number of the previously edited version. | ||
PreviousVersionIsMinorEdit | Boolean | Indicator if the previous version was a minor edit. | ||
PreviousVersionIsHidden | Boolean | Indicator if the previous version was hidden or not. |
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description | |
CQL | String | CQL (Confluence Query Language) allows you to build structured queries. |
Get information about the users who have contributed to the content.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App.
Note: ContentId is required in order to query the Contributors view.
For example, the following queries are processed server side:
SELECT * FROM Contributors WHERE ContentId = '1234' SELECT * FROM Contributors WHERE ContentId! = '1234' SELECT * FROM Contributors WHERE ContentId IN ('1234','2345') SELECT * FROM Contributors WHERE ContentId NOT IN ('1234','2345') SELECT * FROM Contributors WHERE AccountId = '12345678' SELECT * FROM Contributors WHERE AccountId! = '12345678' SELECT * FROM Contributors WHERE AccountId IN ('12345678','23456789') SELECT * FROM Contributors WHERE AccountId NOT IN ('12345678','23456789')
Additionally, ContentId column can be used in the ORDER BY clause, as following:
SELECT * FROM Contributors ORDER BY ContentId DESC
Name | Type | References | SupportedOperators | Description |
ContentId [KEY] | String | =,!=,IN,NOT IN | This is the Id of the content that support labels. This can be referenced from Attachments.Id, Pages.Id, Comments.Id or Blogposts.Id. | |
UserType | String | Type of the contributor. | ||
AccountId | String | =,!=,IN,NOT IN | Unique account Id of the contributor. NOTE: This column is exclusive to Confluence Cloud. | |
UserName | String | =,!=,IN,NOT IN | Unique user key of the contributor. NOTE: This column is exclusive to Confluence Server. |
Get users of a specific group.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App.
For example, the following queries are processed server side:
SELECT * FROM GroupMembers WHERE Name = 'test1'
Name | Type | References | SupportedOperators | Description |
AccountId | String | Account Id of the user. | ||
AccountType | String | Account Type of the user. | ||
DisplayName | String | Display name of the user. | ||
String | Email address of the user. | |||
PublicName | String | Public name or nickname of the user. | ||
ProfilePicturePath | String | Path of the profile picture of the user. | ||
ProfilePictureWidth | Int | Width of the profile picture of the user. | ||
ProfilePictureHeight | Int | Height of the profile picture of the user. | ||
ProfilePictureIsDefault | Boolean | If isDefault of the profile picture of the user. | ||
Operations | String | An operation and the target entity that it applies to | ||
Type | String | Type of the user. |
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description | |
Name | String | Name of the Group to which these members belong to |
Get information about a specific group.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App.
For example, the following queries are processed server side:
SELECT * FROM Groups WHERE Name = 'test' SELECT * FROM Groups WHERE Name IN ('test1', 'test2') SELECT * FROM Groups WHERE Id = 'ef75d879-6b69-4260-942a-ff5231e08be0'
Name | Type | References | SupportedOperators | Description |
Id [KEY] | String | = | Id of the group. | |
Name [KEY] | String | =,IN | Name of the group. | |
Type | String | Type of the group. |
Get information about the labels that a specific content has.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App.
Note: ContentId is required in order to query the Labels view.
For example, the following queries are processed server side:
SELECT * FROM Labels WHERE ContentId = '1234' SELECT * FROM Labels WHERE ContentId! = '1234' SELECT * FROM Labels WHERE ContentId IN ('1234','2345') SELECT * FROM Labels WHERE ContentId NOT IN ('1234','2345') SELECT * FROM Labels WHERE LabelName = 'test' SELECT * FROM Labels WHERE LabelName != 'test' SELECT * FROM Labels WHERE LabelName IN ('test1','test2') SELECT * FROM Labels WHERE LabelName NOT IN ('test1','test2')
Additionally, ContentId column can be used in the ORDER BY clause, as following:
SELECT * FROM Labels ORDER BY ContentId DESC
Name | Type | References | SupportedOperators | Description |
ContentId [KEY] | String | =,!=,IN,NOT IN | This is the Id of the content that support labels. This can be referenced from Attachments.Id, Pages.Id, or Blogposts.Id. | |
LabelId | String | Id of the label. | ||
LabelName | String | =,!=,IN,NOT IN | Name of the label. | |
LabelPrefix | String | Prefix of the label. |
To look at a page hierarchy including who is the parent page.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator.
Note: PageId is required in order to query the PageAncestors view.
For example, the following queries are processed server side:
SELECT * FROM PageAncestors WHERE PageId = '33106' SELECT * FROM PageAncestors WHERE PageId IN ('163902','33106')
Name | Type | References | SupportedOperators | Description |
Id [KEY] | String | The Id of the PageAncestors. | ||
ExpandableAncestors | String | The ExpandableAncestors of the PageAncestors. | ||
ExpandableBody | String | The ExpandableBody of the PageAncestors. | ||
ExpandableChildren | String | The ExpandableChildren of the PageAncestors. | ||
ExpandableChildTypes | String | The ExpandableChildTypes of the PageAncestors. | ||
ExpandableContainer | String | The ExpandableContainer of the PageAncestors. | ||
ExpandableDescendants | String | The ExpandableDescendants of the PageAncestors. | ||
ExpandableHistory | String | The ExpandableHistory of the PageAncestors. | ||
ExpandableMetadata | String | The ExpandableMetadata of the PageAncestors. | ||
ExpandableOperations | String | The ExpandableOperations of the PageAncestors. | ||
ExpandableRestrictions | String | The ExpandableRestrictions of the PageAncestors. | ||
ExpandableSchedulePublishDate | Datetime | The ExpandableSchedulePublishDate of the PageAncestors. | ||
ExpandableSpace | String | The ExpandableSpace of the PageAncestors. | ||
ExpandableVersion | String | The ExpandableVersion of the PageAncestors. | ||
LinksEditui | String | The LinksEditui of the PageAncestors. | ||
LinksSelf | String | The LinksSelf of the PageAncestors. | ||
LinksTinyui | String | The LinksTinyui of the PageAncestors. | ||
LinksWebui | String | The LinksWebui of the PageAncestors. | ||
ExtensionsPosition | String | The ExtensionsPosition of the PageAncestors. | ||
Status | String | The Status of the PageAncestors. | ||
Title | String | The Title of the PageAncestors. | ||
Type | String | The Type of the PageAncestors. | ||
PageId | String |
Pages.Id | =,IN | Pseudo column: The Id of the page. |
To look at a page hierarchy including who is the child page.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator.
Note: PageId is required in order to query the PageChildrens view.
For example, the following queries are processed server side:
SELECT * FROM PageChildrens WHERE PageId = '33106' SELECT * FROM PageChildrens WHERE PageId IN ('163902','33106')
Name | Type | References | SupportedOperators | Description |
Id [KEY] | String | The Id of the PageChildrens. | ||
ExpandableAncestors | String | The ExpandableAncestors of the PageChildrens. | ||
ExpandableBody | String | The ExpandableBody of the PageChildrens. | ||
ExpandableChildren | String | The ExpandableChildren of the PageChildrens. | ||
ExpandableChildTypes | String | The ExpandableChildTypes of the PageChildrens. | ||
ExpandableContainer | String | The ExpandableContainer of the PageChildrens. | ||
ExpandableDescendants | String | The ExpandableDescendants of the PageChildrens. | ||
ExpandableHistory | String | The ExpandableHistory of the PageChildrens. | ||
ExpandableMetadata | String | The ExpandableMetadata of the PageChildrens. | ||
ExpandableOperations | String | The ExpandableOperations of the PageChildrens. | ||
ExpandableRestrictions | String | The ExpandableRestrictions of the PageChildrens. | ||
ExpandableSchedulePublishDate | Datetime | The ExpandableSchedulePublishDate of the PageChildrens. | ||
ExpandableSpace | String | The ExpandableSpace of the PageChildrens. | ||
ExpandableVersion | String | The ExpandableVersion of the PageChildrens. | ||
LinksEditui | String | The LinksEditui of the PageChildrens. | ||
LinksSelf | String | The LinksSelf of the PageChildrens. | ||
LinksTinyui | String | The LinksTinyui of the PageChildrens. | ||
LinksWebui | String | The LinksWebui of the PageChildrens. | ||
ExtensionsPosition | Integer | The ExtensionsPosition of the PageChildrens. | ||
Status | String | The Status of the PageChildrens. | ||
Title | String | The Title of the PageChildrens. | ||
Type | String | The Type of the PageChildrens. | ||
PageId | String |
Pages.Id | =,IN | Pseudo column: The Id of the page. |
Get comments specific to a page.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator.
Note: PageId is required in order to query the PageComments view.
For example, the following queries are processed server side:
SELECT * FROM PageComments WHERE PageId = '163902' SELECT * FROM PageComments WHERE PageId IN ('163902','33106')
Name | Type | References | SupportedOperators | Description |
Id [KEY] | String | The Id of the comments mentioned in the Page. | ||
ExpandableAncestors | String | The ExpandableAncestors of the page comments. | ||
ExpandableChildren | String | The ExpandableChildren of the page comments. | ||
ExpandableContainer | String | The ExpandableContainer of the page comments. | ||
ExpandableDescendants | String | The ExpandableDescendants of the page comments. | ||
ExpandableHistory | String | The ExpandableHistory of the page comments. | ||
ExpandableMetadata | String | The ExpandableMetadata of the page comments. | ||
ExpandableOperations | String | The ExpandableOperations of the page comments. | ||
ExpandableRestrictions | String | The ExpandableRestrictions of the page comments. | ||
ExpandableSpace | String | The ExpandableSpace of the page comments. | ||
ExpandableVersion | String | The ExpandableVersion of the page comments. | ||
LinksSelf | String | The LinksSelf of the page comments. | ||
LinksWebui | String | The LinksWebui of the page comments. | ||
BodyExpandableAnonymousExportView | String | The BodyExpandableAnonymousExportView of the page comments. | ||
BodyExpandableEditor | String | The BodyExpandableEditor of the page comments. | ||
BodyExpandableExportView | String | The BodyExpandableExportView of the page comments. | ||
BodyExpandableStorage | String | The BodyExpandableStorage of the page comments. | ||
BodyExpandableStyledView | String | The BodyExpandableStyledView of the page comments. | ||
BodyViewExpandableContent | String | The BodyViewExpandableContent of the page comments. | ||
BodyViewExpandableWebresource | String | The BodyViewExpandableWebresource of the page comments. | ||
BodyViewRepresentation | String | The BodyViewRepresentation of the page comments. | ||
BodyViewValue | String | The BodyViewValue of the page comments. | ||
ExtensionsExpandableResolution | String | The ExtensionsExpandableResolution of the page comments. | ||
ExtensionsLocation | String | The ExtensionsLocation of the page comments. | ||
Status | String | The Status of the page comments. | ||
Title | String | The Title of the page comments. | ||
Type | String | The Type of the page comments. | ||
PageId | String |
Pages.Id | =,IN | Pseudo column: The Id of the page. |
Get content from the page.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator.
Note: PageId is required in order to query the PageContents view.
For example, the following queries are processed server side:
SELECT * FROM PageContents WHERE PageId = '163902' SELECT * FROM PageContents WHERE PageId IN ('163902','33106')
Name | Type | References | SupportedOperators | Description |
Id [KEY] | String | The Id of the page content. | ||
ExpandableAncestors | String | The ExpandableAncestors of the page content. | ||
ExpandableChildren | String | The ExpandableChildren of the page content. | ||
ExpandableChildTypes | String | The ExpandableChildTypes of the page content. | ||
ExpandableContainer | String | The ExpandableContainer of the page content. | ||
ExpandableDescendants | String | The ExpandableDescendants of the page content. | ||
ExpandableHistory | String | The ExpandableHistory of the page content. | ||
ExpandableMetadata | String | The ExpandableMetadata of the page content. | ||
ExpandableOperations | String | The ExpandableOperations of the page content. | ||
ExpandableRestrictions | String | The ExpandableRestrictions of the page content. | ||
ExpandableSchedulePublishDate | Datetime | The ExpandableSchedulePublishDate of the page content. | ||
ExpandableSpace | String | The ExpandableSpace of the page content. | ||
ExpandableVersion | String | The ExpandableVersion of the page content. | ||
LinksBase | String | The LinksBase of the page content. | ||
LinksCollection | String | The LinksCollection of the page content. | ||
LinksContext | String | The LinksContext of the page content. | ||
LinksEditui | String | The LinksEditui of the page content. | ||
LinksSelf | String | The LinksSelf of the page content. | ||
LinksTinyui | String | The LinksTinyui of the page content. | ||
LinksWebui | String | The LinksWebui of the page content. | ||
BodyExpandableAnonymousExportView | String | The BodyExpandableAnonymousExportView of the page content. | ||
BodyExpandableAtlasDocFormat | String | The BodyExpandableAtlasDocFormat of the page content. | ||
BodyExpandableDynamic | String | The BodyExpandableDynamic of the page content. | ||
BodyExpandableEditor | String | The BodyExpandableEditor of the page content. | ||
BodyExpandableEditor2 | String | The BodyExpandableEditor2 of the page content. | ||
BodyExpandableExportView | String | The BodyExpandableExportView of the page content. | ||
BodyExpandableStyledView | String | The BodyExpandableStyledView of the page content. | ||
BodyExpandableView | String | The BodyExpandableView of the page content. | ||
BodyStorageExpandableContent | String | The BodyStorageExpandableContent of the page content. | ||
BodyStorageEmbeddedContent | String | The BodyStorageEmbeddedContent of the page content. | ||
BodyStorageRepresentation | String | The BodyStorageRepresentation of the page content. | ||
BodyStorageValue | String | The BodyStorageValue of the page content. | ||
ExtensionsPosition | String | The ExtensionsPosition of the page content. | ||
Status | String | The Status of the page content. | ||
Title | String | The Title of the page content. | ||
Type | String | The Type of the page content. | ||
PageId | String |
Pages.Id | =,IN | Pseudo column: The Id of the page. |
Get information about a specific page.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App. You can also search for Attachments using CQL (Confluence Query Language).
For example, the following queries are processed server side:
SELECT * FROM Pages WHERE Id = '1234' SELECT * FROM Pages WHERE Id IN ('1234','2345') SELECT * FROM Pages WHERE Id = '294922' OR Type = 'page' SELECT * FROM Pages WHERE CreatedDate <= '2019/03/29 15:00' AND Id IN ('1234','2345')
Additionally Id, Type, Title, CreatedDate, CreatedByUserName, AND LastUpdatedDatetime columns can be used in the ORDER BY clause, as following:
SELECT * FROM Pages ORDER BY Id DESC SELECT * FROM Pages ORDER BY CreatedByUserName ASC
Note: Filtering with CQL has the highest priority and all the other filters except "Excerpt" will be ignored when CQL filter is present in the query.
SELECT * FROM Pages WHERE CQL = 'creator = currentUser() AND content = "1234" or space.type = "global"'
Name | Type | References | SupportedOperators | Description |
Id [KEY] | String | =,!=,IN,NOT IN | Id of the page. | |
Type | String | =,!=,IN,NOT IN | Type of the content. | |
Title | String | =,!=,LIKE,NOT LIKE,IN,NOT IN | Title of the page. | |
Status | String | Status of the page. | ||
SpaceKey | String |
Spaces.Key | =,!=,IN,NOT IN | The key of the space that the page belongs to. |
SpaceType | String |
Spaces.Type | =,!=,IN,NOT IN | The type of the space that the page belongs to. |
Position | String | Position of the page. | ||
URL | String | URL of the page. | ||
Excerpt | String | Excerpt of the page. | ||
IsLatest | Boolean | Indicator if this is the latest version of the page. | ||
CreatedByUserName | String | =,!=,IN,NOT IN | Username of the user who created the page. | |
CreatedByUserType | String | Type of the user who created the page. | ||
CreatedDate | Datetime | =,!=,>,>=,<,<= | Datetime for the creation of the page. | |
LastUpdatedDatetime | Datetime | =,!=,>,>=,<,<= | Datetime of the last updated version of the page. | |
LastUpdatedMessage | String | Message of the last updated version. | ||
LastUpdatedNumber | Integer | Number of the last updated version. | ||
LastUpdatedUserName | String | Username of the user who updated the latest version. | ||
LastUpdatedUserType | String | Type of the user who updated the latest version. | ||
LastUpdatedIsMinorEdit | Boolean | Indicator if this version is a minor edit. | ||
LastUpdatedIsHidden | Boolean | Indicator if the last updated version is hidden or not. | ||
PreviousVersionUserName | String | Username of the user who updated the previous version. | ||
PreviousVersionUserType | String | Type of the user who updated the previous version. | ||
PreviousVersionDatetime | Datetime | Datetime when the previous version was edited. | ||
PreviousVersionMessage | String | Message for the previously edited version. | ||
PreviousVersionNumber | String | Number of the previously edited version. | ||
PreviousVersionIsMinorEdit | Boolean | Indicator if the previous version was a minor edit. | ||
PreviousVersionIsHidden | Boolean | Indicator if the previous version was hidden or not. |
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description | |
CQL | String | CQL (Confluence Query Language) allows you to build structured queries. |
Returns information about a number of spaces.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App. You can also search for Attachments using CQL (Confluence Query Language).
For example, the following queries are processed server side:
SELECT * FROM Spaces WHERE Key = 'abc' SELECT * FROM Spaces WHERE Name IN ('name1','name2') SELECT * FROM Spaces WHERE Excerpt = 'driver development' SELECT * FROM Spaces WHERE Key = 'abc' AND Type = 'global'
Note: Filtering with CQL has the highest priority and all the other filters except "Excerpt" will be ignored when CQL filter is present in the query.
SELECT * FROM Spaces WHERE CQL = 'type = space AND space.title~"Driver Development"' AND Excerpt = 'indexed'
Name | Type | References | SupportedOperators | Description |
Id | String | Id of the space. | ||
Key [KEY] | String | =,!=,IN,NOT IN | Unique key of the space. | |
Name | String | =,LIKE,NOT LIKE | Name of the space. | |
IconPath | String | Path of the space icon. | ||
IconWidth | Integer | Width of the space icon. | ||
IconHeight | Integer | Height of the space icon. | ||
IsIconDefault | Boolean | Indicator if the icon is default. | ||
Excerpt | String | = | Excerpt of the space. | |
Type | String | =,!=,IN,NOT IN | Type of the space. | |
Url | String | Url of the space. | ||
LastModified | Datetime | Last modified datetime. |
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description | |
CQL | String | CQL (Confluence Query Language) allows you to build structured queries. |
Get information about a user identified.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App. You can also search for Attachments using CQL (Confluence Query Language).
For example, the following queries are processed server side:
SELECT * FROM Users WHERE AccountId = '1234' SELECT * FROM Users WHERE AccountId IN ('1234','2345') SELECT * FROM Users WHERE PublicName = 'confluenceuser'
Note: Filtering with CQL has the highest priority and all the other filters except "Excerpt" will be ignored when CQL filter is present in the query.
SELECT * FROM Users WHERE CQL = 'user.userKey = "4028d6096b696826016b696960860000" AND type = user' AND UserName = 'currentUser()'
Name | Type | References | SupportedOperators | Description |
AccountId [KEY] | String | =,!=,IN,NOT IN | Unique account id for the specific user. NOTE: This column is exclusive to Confluence Cloud. | |
AccountType | String | Type of the account for the specific user. NOTE: This column is exclusive to Confluence Cloud. | ||
PublicName | String | =,LIKE,NOT LIKE | Full name of the specific user. NOTE: This column is exclusive to Confluence Cloud. | |
String | Email of the specific user. NOTE: This column is exclusive to Confluence Cloud. | |||
UserKey [KEY] | String | =,!=,IN,NOT IN | Unique key for the specific user. NOTE: This column is exclusive to Confluence Server. | |
UserName | String | =,CONTAINS | User name of the specific user. NOTE: This column is exclusive to Confluence Server. | |
Status | String | Status of the specific user. NOTE: This column is exclusive to Confluence Server. | ||
Type | String | Type of the specific user. | ||
Excerpt | String | Excerpt of the user. | ||
ProfilePicturePath | String | Path of the profile picture file. | ||
ProfilePictureWidth | Integer | Profile picture width. | ||
ProfilePictureHeight | Integer | Profile picture height. | ||
IsDefaultPicture | Boolean | Indicator showing if the profile picture is never changed. | ||
DisplayName | String | Display name of the specific user. | ||
Url | String | Url of the user profile. | ||
LastModified | Datetime | Last modified timestamp of the user information. |
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description | |
CQL | String | CQL (Confluence Query Language) allows you to build structured queries. |
Get the total number of distinct viewers a piece of content has.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator.
For example, the following queries are processed server side:
SELECT * FROM ViewersAnalytics SELECT * FROM ViewersAnalytics WHERE FromDate='2023-01-02'
Name | Type | References | SupportedOperators | Description |
ContentId | String | =,IN | The Id of the page content. | |
NumberOfDistinctViewers | String | the total number of distinct viewers a piece of content has. |
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description | |
FromDate | Date | The number of views for the content from the date. |
Get the total number of views a piece of content has.
The Sync App will use the Confluence API to process WHERE clause conditions built with the following column and operator.
For example, the following queries are processed server side:
SELECT * FROM ViewsAnalytics SELECT * FROM ViewsAnalytics WHERE FromDate='2023-01-02'
Name | Type | References | SupportedOperators | Description |
ContentId | String | =,IN | The Id of the page content. | |
NumberOfViews | String | the total number of views a piece of content has. |
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description | |
FromDate | Date | The number of views for the content from the date. |
The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.
For more information on establishing a connection, see Establishing a Connection.
Property | Description |
AuthScheme | The type of authentication to use when connecting to Confluence. |
URL | The URL to your JIRA endpoint. |
User | The Confluence user account used to authenticate. |
Password | The password used to authenticate the user. |
APIToken | APIToken of the currently authenticated user. |
Timezone | Specify the timezone of the Confluence instance in order to use the datetime filters accordingly and retrieve the results according to your timezone. An example of a timezone would be America/New_York. |
Property | Description |
SSOLoginURL | The identity provider's login URL. |
SSOProperties | Additional properties required to connect to the identity provider in a semicolon-separated list. |
SSOExchangeUrl | The url used for consuming the SAML response and exchanging it with Confluence specific credentials. |
SSOAppName | App Name used with SSO for IdPs that require it. |
SSOAppPassword | App Password used with SSO for IdPs that require it. |
Property | Description |
OAuthVersion | The version of OAuth being used. |
OAuthClientId | The client Id assigned when you register your application with an OAuth authorization server. |
OAuthClientSecret | The client secret assigned when you register your application with an OAuth authorization server. |
Scope | This determines the scopes that the OAuth application requests from Confluence. |
CertificateStore | The certificate store used for Confluence authentication. |
CertificateStorePassword | The password of the certificate store used with Confluence authentication. |
CertificateSubject | The subject of the certificate used with Confluence Private Application authentication. |
CertificateStoreType | The type of certificate store used with Confluence Private Application authentication. |
Property | Description |
SSLClientCert | The TLS/SSL client certificate store for SSL Client Authentication (2-way SSL). |
SSLClientCertType | The type of key store containing the TLS/SSL client certificate. |
SSLClientCertPassword | The password for the TLS/SSL client certificate. |
SSLClientCertSubject | The subject of the TLS/SSL client certificate. |
SSLServerCert | The certificate to be accepted from the server when connecting using TLS/SSL. |
Property | Description |
FirewallType | The protocol used by a proxy-based firewall. |
FirewallServer | The name or IP address of a proxy-based firewall. |
FirewallPort | The TCP port for a proxy-based firewall. |
FirewallUser | The user name to use to authenticate with a proxy-based firewall. |
FirewallPassword | A password used to authenticate to a proxy-based firewall. |
Property | Description |
ProxyAutoDetect | This indicates whether to use the system proxy settings or not. This takes precedence over other proxy settings, so you'll need to set ProxyAutoDetect to FALSE in order use custom proxy settings. |
ProxyServer | The hostname or IP address of a proxy to route HTTP traffic through. |
ProxyPort | The TCP port the ProxyServer proxy is running on. |
ProxyAuthScheme | The authentication type to use to authenticate to the ProxyServer proxy. |
ProxyUser | A user name to be used to authenticate to the ProxyServer proxy. |
ProxyPassword | A password to be used to authenticate to the ProxyServer proxy. |
ProxySSLType | The SSL type to use when connecting to the ProxyServer proxy. |
ProxyExceptions | A semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer . |
Property | Description |
LogModules | Core modules to be included in the log file. |
Property | Description |
Location | A path to the directory that contains the schema files defining tables, views, and stored procedures. |
BrowsableSchemas | This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC. |
Tables | This property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC. |
Views | Restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC. |
Property | Description |
IncludeArchivedSpaces | Whether to include content from archived spaces in the result. This defaults to false. |
MaxRows | Limits the number of rows returned rows when no aggregation or group by is used in the query. This helps avoid performance issues at design time. |
Other | These hidden properties are used only in specific use cases. |
Pagesize | The maximum number of results to return per page from Confluence. |
PseudoColumns | This property indicates whether or not to include pseudo columns as columns to the table. |
SpaceKey | By specifying the SpaceKey, the search results will only display contents from this specific space. |
Timeout | The value in seconds until the timeout error is thrown, canceling the operation. |
UserDefinedViews | A filepath pointing to the JSON configuration file containing your custom views. |
This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.
Property | Description |
AuthScheme | The type of authentication to use when connecting to Confluence. |
URL | The URL to your JIRA endpoint. |
User | The Confluence user account used to authenticate. |
Password | The password used to authenticate the user. |
APIToken | APIToken of the currently authenticated user. |
Timezone | Specify the timezone of the Confluence instance in order to use the datetime filters accordingly and retrieve the results according to your timezone. An example of a timezone would be America/New_York. |
The type of authentication to use when connecting to Confluence.
The URL to your JIRA endpoint.
The URL to your JIRA endpoint; for example, https://yoursitename.atlassian.net.
The Confluence user account used to authenticate.
Together with Password, this field is used to authenticate against the Confluence server.
The password used to authenticate the user.
The User and Password are together used to authenticate with the server.
APIToken of the currently authenticated user.
APIToken of the currently authenticated user.
Specify the timezone of the Confluence instance in order to use the datetime filters accordingly and retrieve the results according to your timezone. An example of a timezone would be America/New_York.
Note: You can find the timezone in your Confluence Server by navigating to Settings -> General Configuration and then by clicking System Information on the left panel. On your Confluence Cloud, the timezone should be set. In order to set it, navigate to the User Profile icon on the bottom left corner and click Settings. In that section, you will be able to set the Timezone by clicking the Edit button.
This section provides a complete list of the SSO properties you can configure in the connection string for this provider.
Property | Description |
SSOLoginURL | The identity provider's login URL. |
SSOProperties | Additional properties required to connect to the identity provider in a semicolon-separated list. |
SSOExchangeUrl | The url used for consuming the SAML response and exchanging it with Confluence specific credentials. |
SSOAppName | App Name used with SSO for IdPs that require it. |
SSOAppPassword | App Password used with SSO for IdPs that require it. |
The identity provider's login URL.
The identity provider's login URL.
Additional properties required to connect to the identity provider in a semicolon-separated list.
Additional properties required to connect to the identity provider in a semicolon-separated list. is used in conjunction with the SSOLoginURL.
SSO configuration is discussed further in .
The url used for consuming the SAML response and exchanging it with Confluence specific credentials.
The CData Sync App will use the url specified here to consume a SAML response and retrieve Confluence specific credentials. The retrieved credentials are the final piece during the SSO connection that are used to communicate with Confluence.
App Name used with SSO for IdPs that require it.
Along with SSOAppPassword, may be be specified to identify and authenticate to your app configured in the SSO IdP. Currently only Crowd supports it.
App Password used with SSO for IdPs that require it.
Along with SSOAppName, may be be specified to identify and authenticate to your app configured in the SSO IdP. Currently only Crowd supports it.
This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.
Property | Description |
OAuthVersion | The version of OAuth being used. |
OAuthClientId | The client Id assigned when you register your application with an OAuth authorization server. |
OAuthClientSecret | The client secret assigned when you register your application with an OAuth authorization server. |
Scope | This determines the scopes that the OAuth application requests from Confluence. |
CertificateStore | The certificate store used for Confluence authentication. |
CertificateStorePassword | The password of the certificate store used with Confluence authentication. |
CertificateSubject | The subject of the certificate used with Confluence Private Application authentication. |
CertificateStoreType | The type of certificate store used with Confluence Private Application authentication. |
The version of OAuth being used.
The version of OAuth being used. The following options are available: 1.0,2.0
The client Id assigned when you register your application with an OAuth authorization server.
As part of registering an OAuth application, you will receive the OAuthClientId value, sometimes also called a consumer key, and a client secret, the OAuthClientSecret.
The client secret assigned when you register your application with an OAuth authorization server.
As part of registering an OAuth application, you will receive the OAuthClientId, also called a consumer key. You will also receive a client secret, also called a consumer secret. Set the client secret in the OAuthClientSecret property.
This determines the scopes that the OAuth application requests from Confluence.
Specify scope to obtain the initial access and refresh token.
By default the Sync App will request that the user authorize all required scopes. If you want to override this, you can set this property to a space-separated list of OAuth scopes. Please make sure that OAuth App Settings also has these scopes.
The certificate store used for Confluence authentication.
The location of the certificate store for the client certificate used in Confluence application authentication.
The password of the certificate store used with Confluence authentication.
If the certificate store is of a type that requires a password, this property is used to specify that password in order to open the certificate store.
The subject of the certificate used with Confluence Private Application authentication.
The subject of the client certificate used in Confluence private application authentication.
Confluence private application authentication uses SSL client authentication with digital certificates.
When loading a certificate the subject is used to locate the certificate in the store.
The certificate subject is a comma-separated list of distinguished name fields and values. For instance "CN=www.server.com, OU=test, C=US, [email protected]". Common fields and their meanings are displayed below.
Field | Meaning |
CN | Common Name. This is commonly a host name like www.server.com. |
O | Organization |
OU | Organizational Unit |
L | Locality |
S | State |
C | Country |
E | Email Address |
Note: If a field value contains a comma it must be quoted.
To specify the private certificate, you need to set CertificateSubject and the following additional properties:
The type of certificate store used with Confluence Private Application authentication.
The name of the certificate store for the client certificate used in Confluence private application authentication. Confluence private application authentication uses SSL client authentication with digital certificates.
The CertificateStoreType property can take one of the following values:
User - default | For Windows, this specifies that the certificate store is a certificate store owned by the current user. Note: This store type is not available in Java. |
Machine | For Windows, this specifies that the certificate store is a machine store. Note: this store type is not available in Java. |
PFXFile | The certificate store is the name of a PFX (PKCS12) file containing certificates. |
PFXBlob | The certificate store is a string (base-64-encoded) representing a certificate store in PFX (PKCS12) format. |
JKSFile | The certificate store is the name of a Java key store (JKS) file containing certificates. Note: this store type is only available in Java. |
JKSBlob | The certificate store is a string (base-64-encoded) representing a certificate store in Java key store (JKS) format. Note: this store type is only available in Java. |
PEMKeyFile | The certificate store is the name of a PEM-encoded file that contains a private key and an optional certificate. |
PublicKeyFile | The certificate store is the name of a file that contains a PEM- or DER-encoded public key certificate. |
PublicKeyBlob | The certificate store is a string (base-64-encoded) that contains a PEM- or DER-encoded public key certificate. |
SSHPublicKeyBlob | The certificate store is a string (base-64-encoded) that contains an SSH-style public key. |
P10BFile | The certificate store is the name of a PKCS10 file containing certificates. |
SSHPublicKeyFile | The certificate store is the name of a file that contains an SSH-style public key. |
PPKFile | The certificate store is the name of a file that contains a PPK (PuTTY Private Key). |
XMLFile | The certificate store is the name of a file that contains a certificate in XML format. |
XMLBlob | The certificate store is a string that contains a certificate in XML format. |
To specify the private certificate, you may need to set the following properties in addition to CertificateStoreType:
This section provides a complete list of the SSL properties you can configure in the connection string for this provider.
Property | Description |
SSLClientCert | The TLS/SSL client certificate store for SSL Client Authentication (2-way SSL). |
SSLClientCertType | The type of key store containing the TLS/SSL client certificate. |
SSLClientCertPassword | The password for the TLS/SSL client certificate. |
SSLClientCertSubject | The subject of the TLS/SSL client certificate. |
SSLServerCert | The certificate to be accepted from the server when connecting using TLS/SSL. |
The TLS/SSL client certificate store for SSL Client Authentication (2-way SSL).
The name of the certificate store for the client certificate.
The SSLClientCertType field specifies the type of the certificate store specified by SSLClientCert. If the store is password protected, specify the password in SSLClientCertPassword.
SSLClientCert is used in conjunction with the SSLClientCertSubject field in order to specify client certificates. If SSLClientCert has a value, and SSLClientCertSubject is set, a search for a certificate is initiated. See SSLClientCertSubject for more information.
Designations of certificate stores are platform-dependent.
The following are designations of the most common User and Machine certificate stores in Windows:
MY | A certificate store holding personal certificates with their associated private keys. |
CA | Certifying authority certificates. |
ROOT | Root certificates. |
SPC | Software publisher certificates. |
In Java, the certificate store normally is a file containing certificates and optional private keys.
When the certificate store type is PFXFile, this property must be set to the name of the file. When the type is PFXBlob, the property must be set to the binary contents of a PFX file (for example, PKCS12 certificate store).
The type of key store containing the TLS/SSL client certificate.
This property can take one of the following values:
USER - default | For Windows, this specifies that the certificate store is a certificate store owned by the current user. Note that this store type is not available in Java. |
MACHINE | For Windows, this specifies that the certificate store is a machine store. Note that this store type is not available in Java. |
PFXFILE | The certificate store is the name of a PFX (PKCS12) file containing certificates. |
PFXBLOB | The certificate store is a string (base-64-encoded) representing a certificate store in PFX (PKCS12) format. |
JKSFILE | The certificate store is the name of a Java key store (JKS) file containing certificates. Note that this store type is only available in Java. |
JKSBLOB | The certificate store is a string (base-64-encoded) representing a certificate store in JKS format. Note that this store type is only available in Java. |
PEMKEY_FILE | The certificate store is the name of a PEM-encoded file that contains a private key and an optional certificate. |
PEMKEY_BLOB | The certificate store is a string (base64-encoded) that contains a private key and an optional certificate. |
PUBLIC_KEY_FILE | The certificate store is the name of a file that contains a PEM- or DER-encoded public key certificate. |
PUBLIC_KEY_BLOB | The certificate store is a string (base-64-encoded) that contains a PEM- or DER-encoded public key certificate. |
SSHPUBLIC_KEY_FILE | The certificate store is the name of a file that contains an SSH-style public key. |
SSHPUBLIC_KEY_BLOB | The certificate store is a string (base-64-encoded) that contains an SSH-style public key. |
P7BFILE | The certificate store is the name of a PKCS7 file containing certificates. |
PPKFILE | The certificate store is the name of a file that contains a PuTTY Private Key (PPK). |
XMLFILE | The certificate store is the name of a file that contains a certificate in XML format. |
XMLBLOB | The certificate store is a string that contains a certificate in XML format. |
The password for the TLS/SSL client certificate.
If the certificate store is of a type that requires a password, this property is used to specify that password to open the certificate store.
The subject of the TLS/SSL client certificate.
When loading a certificate the subject is used to locate the certificate in the store.
If an exact match is not found, the store is searched for subjects containing the value of the property. If a match is still not found, the property is set to an empty string, and no certificate is selected.
The special value "*" picks the first certificate in the certificate store.
The certificate subject is a comma separated list of distinguished name fields and values. For example, "CN=www.server.com, OU=test, C=US, [email protected]". The common fields and their meanings are shown below.
Field | Meaning |
CN | Common Name. This is commonly a host name like www.server.com. |
O | Organization |
OU | Organizational Unit |
L | Locality |
S | State |
C | Country |
E | Email Address |
If a field value contains a comma, it must be quoted.
The certificate to be accepted from the server when connecting using TLS/SSL.
If using a TLS/SSL connection, this property can be used to specify the TLS/SSL certificate to be accepted from the server. Any other certificate that is not trusted by the machine is rejected.
This property can take the following forms:
Description | Example |
A full PEM Certificate (example shortened for brevity) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
A path to a local file containing the certificate | C:\cert.cer |
The public key (example shortened for brevity) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
The MD5 Thumbprint (hex values can also be either space or colon separated) | ecadbdda5a1529c58a1e9e09828d70e4 |
The SHA1 Thumbprint (hex values can also be either space or colon separated) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
If not specified, any certificate trusted by the machine is accepted.
Use '*' to signify to accept all certificates. Note that this is not recommended due to security concerns.
This section provides a complete list of the Firewall properties you can configure in the connection string for this provider.
Property | Description |
FirewallType | The protocol used by a proxy-based firewall. |
FirewallServer | The name or IP address of a proxy-based firewall. |
FirewallPort | The TCP port for a proxy-based firewall. |
FirewallUser | The user name to use to authenticate with a proxy-based firewall. |
FirewallPassword | A password used to authenticate to a proxy-based firewall. |
The protocol used by a proxy-based firewall.
This property specifies the protocol that the Sync App will use to tunnel traffic through the FirewallServer proxy. Note that by default, the Sync App connects to the system proxy; to disable this behavior and connect to one of the following proxy types, set ProxyAutoDetect to false.
Type | Default Port | Description |
TUNNEL | 80 | When this is set, the Sync App opens a connection to Confluence and traffic flows back and forth through the proxy. |
SOCKS4 | 1080 | When this is set, the Sync App sends data through the SOCKS 4 proxy specified by FirewallServer and FirewallPort and passes the FirewallUser value to the proxy, which determines if the connection request should be granted. |
SOCKS5 | 1080 | When this is set, the Sync App sends data through the SOCKS 5 proxy specified by FirewallServer and FirewallPort. If your proxy requires authentication, set FirewallUser and FirewallPassword to credentials the proxy recognizes. |
To connect to HTTP proxies, use ProxyServer and ProxyPort. To authenticate to HTTP proxies, use ProxyAuthScheme, ProxyUser, and ProxyPassword.
The name or IP address of a proxy-based firewall.
This property specifies the IP address, DNS name, or host name of a proxy allowing traversal of a firewall. The protocol is specified by FirewallType: Use FirewallServer with this property to connect through SOCKS or do tunneling. Use ProxyServer to connect to an HTTP proxy.
Note that the Sync App uses the system proxy by default. To use a different proxy, set ProxyAutoDetect to false.
The TCP port for a proxy-based firewall.
This specifies the TCP port for a proxy allowing traversal of a firewall. Use FirewallServer to specify the name or IP address. Specify the protocol with FirewallType.
The user name to use to authenticate with a proxy-based firewall.
The FirewallUser and FirewallPassword properties are used to authenticate against the proxy specified in FirewallServer and FirewallPort, following the authentication method specified in FirewallType.
A password used to authenticate to a proxy-based firewall.
This property is passed to the proxy specified by FirewallServer and FirewallPort, following the authentication method specified by FirewallType.
This section provides a complete list of the Proxy properties you can configure in the connection string for this provider.
Property | Description |
ProxyAutoDetect | This indicates whether to use the system proxy settings or not. This takes precedence over other proxy settings, so you'll need to set ProxyAutoDetect to FALSE in order use custom proxy settings. |
ProxyServer | The hostname or IP address of a proxy to route HTTP traffic through. |
ProxyPort | The TCP port the ProxyServer proxy is running on. |
ProxyAuthScheme | The authentication type to use to authenticate to the ProxyServer proxy. |
ProxyUser | A user name to be used to authenticate to the ProxyServer proxy. |
ProxyPassword | A password to be used to authenticate to the ProxyServer proxy. |
ProxySSLType | The SSL type to use when connecting to the ProxyServer proxy. |
ProxyExceptions | A semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer . |
This indicates whether to use the system proxy settings or not. This takes precedence over other proxy settings, so you'll need to set ProxyAutoDetect to FALSE in order use custom proxy settings.
This takes precedence over other proxy settings, so you'll need to set ProxyAutoDetect to FALSE in order use custom proxy settings.
To connect to an HTTP proxy, see ProxyServer. For other proxies, such as SOCKS or tunneling, see FirewallType.
The hostname or IP address of a proxy to route HTTP traffic through.
The hostname or IP address of a proxy to route HTTP traffic through. The Sync App can use the HTTP, Windows (NTLM), or Kerberos authentication types to authenticate to an HTTP proxy.
If you need to connect through a SOCKS proxy or tunnel the connection, see FirewallType.
By default, the Sync App uses the system proxy. If you need to use another proxy, set ProxyAutoDetect to false.
The TCP port the ProxyServer proxy is running on.
The port the HTTP proxy is running on that you want to redirect HTTP traffic through. Specify the HTTP proxy in ProxyServer. For other proxy types, see FirewallType.
The authentication type to use to authenticate to the ProxyServer proxy.
This value specifies the authentication type to use to authenticate to the HTTP proxy specified by ProxyServer and ProxyPort.
Note that the Sync App will use the system proxy settings by default, without further configuration needed; if you want to connect to another proxy, you will need to set ProxyAutoDetect to false, in addition to ProxyServer and ProxyPort. To authenticate, set ProxyAuthScheme and set ProxyUser and ProxyPassword, if needed.
The authentication type can be one of the following:
If you need to use another authentication type, such as SOCKS 5 authentication, see FirewallType.
A user name to be used to authenticate to the ProxyServer proxy.
The ProxyUser and ProxyPassword options are used to connect and authenticate against the HTTP proxy specified in ProxyServer.
You can select one of the available authentication types in ProxyAuthScheme. If you are using HTTP authentication, set this to the user name of a user recognized by the HTTP proxy. If you are using Windows or Kerberos authentication, set this property to a user name in one of the following formats:
user@domain domain\user
A password to be used to authenticate to the ProxyServer proxy.
This property is used to authenticate to an HTTP proxy server that supports NTLM (Windows), Kerberos, or HTTP authentication. To specify the HTTP proxy, you can set ProxyServer and ProxyPort. To specify the authentication type, set ProxyAuthScheme.
If you are using HTTP authentication, additionally set ProxyUser and ProxyPassword to HTTP proxy.
If you are using NTLM authentication, set ProxyUser and ProxyPassword to your Windows password. You may also need these to complete Kerberos authentication.
For SOCKS 5 authentication or tunneling, see FirewallType.
By default, the Sync App uses the system proxy. If you want to connect to another proxy, set ProxyAutoDetect to false.
The SSL type to use when connecting to the ProxyServer proxy.
This property determines when to use SSL for the connection to an HTTP proxy specified by ProxyServer. This value can be AUTO, ALWAYS, NEVER, or TUNNEL. The applicable values are the following:
AUTO | Default setting. If the URL is an HTTPS URL, the Sync App will use the TUNNEL option. If the URL is an HTTP URL, the component will use the NEVER option. |
ALWAYS | The connection is always SSL enabled. |
NEVER | The connection is not SSL enabled. |
TUNNEL | The connection is through a tunneling proxy. The proxy server opens a connection to the remote host and traffic flows back and forth through the proxy. |
A semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer .
The ProxyServer is used for all addresses, except for addresses defined in this property. Use semicolons to separate entries.
Note that the Sync App uses the system proxy settings by default, without further configuration needed; if you want to explicitly configure proxy exceptions for this connection, you need to set ProxyAutoDetect = false, and configure ProxyServer and ProxyPort. To authenticate, set ProxyAuthScheme and set ProxyUser and ProxyPassword, if needed.
This section provides a complete list of the Logging properties you can configure in the connection string for this provider.
Property | Description |
LogModules | Core modules to be included in the log file. |
Core modules to be included in the log file.
Only the modules specified (separated by ';') will be included in the log file. By default all modules are included.
See the Logging page for an overview.
This section provides a complete list of the Schema properties you can configure in the connection string for this provider.
Property | Description |
Location | A path to the directory that contains the schema files defining tables, views, and stored procedures. |
BrowsableSchemas | This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC. |
Tables | This property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC. |
Views | Restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC. |
A path to the directory that contains the schema files defining tables, views, and stored procedures.
The path to a directory which contains the schema files for the Sync App (.rsd files for tables and views, .rsb files for stored procedures). The folder location can be a relative path from the location of the executable. The Location property is only needed if you want to customize definitions (for example, change a column name, ignore a column, and so on) or extend the data model with new tables, views, or stored procedures.
If left unspecified, the default location is "%APPDATA%\\CData\\Confluence Data Provider\\Schema" with %APPDATA% being set to the user's configuration directory:
This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.
Listing the schemas from databases can be expensive. Providing a list of schemas in the connection string improves the performance.
This property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.
Listing the tables from some databases can be expensive. Providing a list of tables in the connection string improves the performance of the Sync App.
This property can also be used as an alternative to automatically listing views if you already know which ones you want to work with and there would otherwise be too many to work with.
Specify the tables you want in a comma-separated list. Each table should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space`.
Note that when connecting to a data source with multiple schemas or catalogs, you will need to provide the fully qualified name of the table in this property, as in the last example here, to avoid ambiguity between tables that exist in multiple catalogs or schemas.
Restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.
Listing the views from some databases can be expensive. Providing a list of views in the connection string improves the performance of the Sync App.
This property can also be used as an alternative to automatically listing views if you already know which ones you want to work with and there would otherwise be too many to work with.
Specify the views you want in a comma-separated list. Each view should be a valid SQL identifier with any special characters escaped using square brackets, double-quotes or backticks. For example, Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space`.
Note that when connecting to a data source with multiple schemas or catalogs, you will need to provide the fully qualified name of the table in this property, as in the last example here, to avoid ambiguity between tables that exist in multiple catalogs or schemas.
This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.
Property | Description |
IncludeArchivedSpaces | Whether to include content from archived spaces in the result. This defaults to false. |
MaxRows | Limits the number of rows returned rows when no aggregation or group by is used in the query. This helps avoid performance issues at design time. |
Other | These hidden properties are used only in specific use cases. |
Pagesize | The maximum number of results to return per page from Confluence. |
PseudoColumns | This property indicates whether or not to include pseudo columns as columns to the table. |
SpaceKey | By specifying the SpaceKey, the search results will only display contents from this specific space. |
Timeout | The value in seconds until the timeout error is thrown, canceling the operation. |
UserDefinedViews | A filepath pointing to the JSON configuration file containing your custom views. |
Whether to include content from archived spaces in the result. This defaults to false.
If this property is set to true, content such as comments, attachments, pages and blogspots belonging to an archived space will be included in the result.
Limits the number of rows returned rows when no aggregation or group by is used in the query. This helps avoid performance issues at design time.
Limits the number of rows returned rows when no aggregation or group by is used in the query. This helps avoid performance issues at design time.
These hidden properties are used only in specific use cases.
The properties listed below are available for specific use cases. Normal driver use cases and functionality should not require these properties.
Specify multiple properties in a semicolon-separated list.
DefaultColumnSize | Sets the default length of string fields when the data source does not provide column length in the metadata. The default value is 2000. |
ConvertDateTimeToGMT | Determines whether to convert date-time values to GMT, instead of the local time of the machine. |
RecordToFile=filename | Records the underlying socket data transfer to the specified file. |
The maximum number of results to return per page from Confluence.
The Pagesize property affects the maximum number of results to return per page from Confluence. Setting a higher value may result in better performance at the cost of additional memory allocated per page consumed.
This property indicates whether or not to include pseudo columns as columns to the table.
This setting is particularly helpful in Entity Framework, which does not allow you to set a value for a pseudo column unless it is a table column. The value of this connection setting is of the format "Table1=Column1, Table1=Column2, Table2=Column3". You can use the "*" character to include all tables and all columns; for example, "*=*".
By specifying the SpaceKey, the search results will only display contents from this specific space.
If SpaceKey is specified both in the SQL query as well as a connection property, the value in the SQL query will take precedence over the connection property.
The value in seconds until the timeout error is thrown, canceling the operation.
If Timeout = 0, operations do not time out. The operations run until they complete successfully or until they encounter an error condition.
If Timeout expires and the operation is not yet complete, the Sync App throws an exception.
A filepath pointing to the JSON configuration file containing your custom views.
User Defined Views are defined in a JSON-formatted configuration file called UserDefinedViews.json. The Sync App automatically detects the views specified in this file.
You can also have multiple view definitions and control them using the UserDefinedViews connection property. When you use this property, only the specified views are seen by the Sync App.
This User Defined View configuration file is formatted as follows:
For example:
{ "MyView": { "query": "SELECT * FROM Pages WHERE MyColumn = 'value'" }, "MyView2": { "query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)" } }Use the UserDefinedViews connection property to specify the location of your JSON configuration file. For example:
"UserDefinedViews", "C:\\Users\\yourusername\\Desktop\\tmp\\UserDefinedViews.json"