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
Please visit our <ahref="https://www.dynamsoft.com/customer/license/trialLicense?ver=latest&product=dwt"target="_blank">customer portal</a> to request for a trial license.
15
+
### Request trial license
16
16
17
-
## Full licenses
17
+
You can request a trial license of Dynamic Web TWAIN via our <ahref="https://www.dynamsoft.com/customer/license/trialLicense?ver=latest&product=dwt"target="_blank">customer portal</a> or [contacting support](https://www.dynamsoft.com/company/contact/).
18
18
19
-
Dynamic Web TWAIN has the following licensing options:
For Per Client Device/ Per Page license, you need to use <ahref="{{site.info}}api/Dynamsoft_WebTwainEnv.html#organizationid"target="_blank">organizationID</a> to set.
23
+
1. Open `dynamsoft.webtwain.config.js` from your local project or search `ProductKey`to locate the code for license setting.
24
24
25
-
```javascript
26
-
Dynamsoft.DWT.organizationID="123456"; // replace the number 123456 with YOUR-ORGANIZATION-ID
27
-
```
25
+
2. Update `ProductKey` in the code.
28
26
29
-
Please note that this licensing mode is only supported from `DWT` 17.0 and needs to be used with Dynamsoft License Server (`DLS` for short). See more about <ahref="https://www.dynamsoft.com/license-tracking/docs/selfhosting/managelts.html?ver=latest"target="_blank">What is a DLS</a>
27
+
```javascript
28
+
Dynamsoft.DWT.ProductKey='t0076lQAAAGNcO61He******'; // update the ProductKey with yours
29
+
```
30
30
31
-
LTS supports two deployment methods: <ahref="https://www.dynamsoft.com/license-tracking/docs/dshosting/index.html?ver=latest"target="_blank">Dynamsoft-hosting</a> and <ahref="https://www.dynamsoft.com/license-tracking/docs/selfhosting/index.html?ver=latest"target="_blank">Self-hosting</a>. See <ahref="https://www.dynamsoft.com/license-server/docs/about/licensefaq.html?ver=latest#how-secure-is-the-dynamsoft-license-server"target="_blank">How secure is the Dynamsoft License Server</a>
31
+
3. Refresh your scan page and try again.
32
32
33
-
If you use Self-hosting, you also need to set <ahref="{{site.info}}api/Dynamsoft_WebTwainEnv.html#licenseserver"target="_blank">licenseServer</a>
Depending on the type of full license you are using, you can add/update the full license via the `ProductKey` or `organizationID` API (available for Dynamic Web TWAIN v17.0+).
41
38
42
-
For <ahref="https://www.dynamsoft.com/Products/WebTWAIN_License.aspx#per_server"target="_blank">Per Server</a> license, you need to use <ahref="{{site.info}}api/WebTwain_Util.html#productkey"target="_blank">ProductKey</a> to set.
39
+
### Update ProductKey
43
40
44
-
In most cases, you can just make the change in the file `dynamsoft.webtwain.config.js` .
41
+
If you are using a **ProductKey**, you can search `ProductKey` to locate the code for license setting which resides in the `dynamsoft.webtwain.config.js`file for most cases.
45
42
46
43
```javascript
47
-
// If you have multiple license keys, just separate them with semicolons.
Dynamsoft.DWT.ProductKey='t0076lQAAAGNcO61He******'; // update the ProductKey with yours
49
45
```
50
46
51
-
If it is set elsewhere, you need to find it and replace it. For example, if you are making use of the <ahref="https://www.npmjs.com/package/dwt"target="_blank">dwt package</a> ( `dynamsoft.webtwain.min.js` or `dynamsoft.webtwain.min.mjs` ), the file `dynamsoft.webtwain.config.js` doesn't exist and you should already have the above line of code in your own JavaScript where you can update the license when needed.
52
-
53
-
### Other Licenses
47
+
If you have multiple license keys, separate them with semicolons like below:
54
48
55
-
The license setting way is the same as Per Server License, please refer to the above Per Server License section.
49
+
```javascript
56
50
57
-
#### Notes:
58
-
Please note that `DLS` license <strong>organizationID and ProductKey cannot be used together</strong>. And you need to connect to `DLS` to track license usage.
* <ahref="https://www.dynamsoft.com/license-tracking/docs/common/statistics.html"target="_blank">View the license usage statistics</a>
64
-
* <ahref="https://www.dynamsoft.com/license-tracking/docs/common/usagealerts.html"target="_blank">Get notified about license status</a>
56
+
If you are using an **organizationID**, you can simply update the `organizationID` in your code.
65
57
66
-
> Read more about <ahref="https://www.dynamsoft.com/license-tracking/docs/common/mechanism.html"target="_blank">the mechanism</a> behind license tracking.
58
+
```javascript
59
+
Dynamsoft.DWT.organizationID="123456"; // replace the number 123456 with YOUR-ORGANIZATION-ID
60
+
```
67
61
68
-
## Terms
62
+
## License Agreement
69
63
70
64
View the <ahref="https://www.dynamsoft.com/Products/WebTwain_license.aspx"target="_blank">Dynamic Web TWAIN License Agreement</a>.
0 commit comments