You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/integration_with_salesforce.md
+32-20Lines changed: 32 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,38 +7,49 @@ description: Learn how to integrate DHTMLX Kanban into Salesforce. This guide ex
7
7
# Integration with Salesforce
8
8
9
9
:::tip
10
-
You should be familiar with the basic concepts and patterns of [**Saleforce**](https://www.salesforce.com/) before reading this documentation. To refresh your knowledge, please refer to the [**Saleforce documentation**](https://developer.salesforce.com/docs).
10
+
You should be familiar with the basic concepts and patterns of [**Salesforce**](https://www.salesforce.com/) before reading this documentation. To refresh your knowledge, please refer to the [**Salesforce documentation**](https://developer.salesforce.com/docs).
11
11
:::
12
12
13
-
DHTMLX Kanban is compatible with [Salesforce](https://www.salesforce.com/). We have prepared code examples on how to use DHTMLX Kanban with Saleforce. For more information, refer to the corresponding [**Example on GitHub**](https://github.com/DHTMLX/salesforce-lwc-demo).
14
-
15
-
The JavaScript Kanban widget automatically detects that it operates within a [Salesforce](https://www.salesforce.com/) environment and configures the integration logic internally.
13
+
DHTMLX Kanban is compatible with [Salesforce](https://www.salesforce.com/) platform. We have prepared code examples on how to add DHTMLX Kanban into Salesforce environment. For more information, refer to the corresponding [Example on GitHub](https://github.com/DHTMLX/salesforce-lwc-demo).
16
14
17
15
:::note
18
-
In most cases, you do not need to call any [Salesforce-specific methods](#available-methods) manually.
16
+
The JavaScript Kanban widget automatically detects that it operates within a [Salesforce](https://www.salesforce.com/) environment and configures the integration logic internally. In most cases, you do not need to call any [Salesforce-specific methods](#selesforce-specific-methods) manually.
19
17
:::
20
18
21
19
## Preparing environment
22
20
23
-
If you want to add JS Kanban into your Salesforce project, you need to mark the root container with the `data-wx-root="true"` HTML attribute. This attribute allows the library to locate the main node for mounting **Kanban** and **Toolbar** widgets.
21
+
If you want to add Kanban into your Salesforce project, you need to mark the *root* container with the `data-wx-root="true"` HTML attribute. This attribute allows the library to locate the main node for mounting **Kanban** and **Toolbar** widgets.
Nested elements with `data-wx-portal-root="1"` serve as containers for DHTMLX components (for example, **Toolbar** and **Kanban**).
32
+
Nested elements marked with the `data-wx-portal-root="1"` attribute serve as containers for DHTMLX components (for example, **Toolbar** and **Kanban**).
35
33
36
34
## Salesforce environment API
37
35
38
-
The DHTMLX Kanban includes the `salesForceEnv` helper class that stores methods for manual control of the Salesforce environment.
39
-
Normally, these methods are not required, but they can be available only as a fallback in case automatic detection fails.
36
+
The DHTMLX Kanban includes the `salesForceEnv` helper class that stores methods for manual control of the Salesforce environment. You can import the `salesForceEnv` helper class as follows:
37
+
38
+
```jsx {4}
39
+
import {
40
+
Kanban,
41
+
Toolbar,
42
+
salesForceEnv
43
+
} from"@dhx/trial-kanban";
44
+
```
45
+
46
+
:::note
47
+
Normally, salesforce-specific methods are not required, but they can be available only as a fallback in case automatic detection fails.
48
+
:::
49
+
50
+
### Salesforce-specific methods
40
51
41
-
### Available methods
52
+
You can use the following methods of the `salesForceEnv` helper class:
Now the DHTMLX Kanban component is fully integrated into your **Salesforce Lightning** environment. The widget automatically handles DOM hierarchy and event binding inside LWC. You can continue configuring Kanban through its standard API and customize its appearance and logic according to your project needs. The final example you can find on [**GitHub**](https://github.com/DHTMLX/salesforce-lwc-demo).
89
+
Now the DHTMLX Kanban component is fully integrated into your **Salesforce Lightning** environment. The widget automatically handles DOM hierarchy and event binding inside LWC. You can continue configuring Kanban through its standard API and customize Kanban appearance and logic according to your project needs. The final example you can find on [**GitHub**](https://github.com/DHTMLX/salesforce-lwc-demo).
Copy file name to clipboardExpand all lines: docs/news/whats_new.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,11 @@ If you are updating Kanban from an older version, check [Migration to newer vers
10
10
11
11
## Version 1.7.0
12
12
13
-
Released on September Day, 2025
13
+
Released on October Day, 2025
14
+
15
+
### New functionality
16
+
17
+
Starting from v1.7 you can leverage JavaScript Kanban within Salesforce environment. Refer to the following guide for more information: [Integration with Selesforce](guides/integration_with_salesforce.md). You can also explore our [GitHub example](https://github.com/DHTMLX/salesforce-lwc-demo) or run [Online demo](https://dhtmlx-dev-ed.develop.lightning.force.com/) (*Login*: ***user***, *Password*: ***demo***).
0 commit comments