DriveWorks 22 SP0
DriveWorks 21 delivered a major update to DriveWorks' Forms Technology.
This has been a major body of work for our Development Team, re-architecting the underlying code. We of course wanted to maintain the quality you expect from us.
To get the latest version of DriveWorks into your hands now, we have prioritized the Integration Theme and Web Theme over the Application Theme. This means the Application Theme is not available.
We are continuing to work very hard on releasing the Application Theme in the near future, for more information, please check our knowledge base article: Info: Web Theme And Application Theme For DriveWorks 21.
DriveWorks Live can run directly as an application or as a service through Internet Information Services (IIS) v10 or later (requires Windows 10 or Windows Server 2016 operating systems or later).
See IIS Connection Limit on Windows 10 for more information.
The advantages of using IIS include:
Dynamic Compression means faster load times for DriveWorks User Forms that display dynamic content (Pictures, DriveWorks 3D Files etc.) on the Client browser.
This means that care must be taken when setting up credentials in IIS but has the benefit that the machine does not require logging on to run the application.
This article explains how to set up IIS so DriveWorks Live can be accessed without having to run the application.
Ensure Internet Information Services (IIS) is installed on the machine that will be the web server.
Please see How To: Install Internet Information Services (IIS) for more information.
Run DriveWorks Live (the application) on the Server machine before attempting to run through IIS
This includes the following steps:
This can be done either by:
Launching DriveWorks Live and connect to the License Server.
Please see Licensing DriveWorks Live for more information.
Or
Please see How To: License DriveWorks Live Using Environment Variables for more information.
To run DriveWorks Live through IIS, your Project should not use any mapped network drives. Mapped network drives are user specific, therefore it is much harder to ensure that the user you set up in IIS can access them.
All network locations should therefore be specified using a UNC (Uniform Naming Convention) path, for example:
\\< ServerName>\< ShareName>\ProjectFile.
Paths that should be specified using UNC include:
Windows Services do not have access to many applications, especially COM programs such as Microsoft Word and Excel.
Ensure any Specification Tasks that require Microsoft Word and Excel are placed in the:
This will allow these Tasks to be run by DriveWorks Autopilot and not DriveWorks Live (which it will not be able to do when running as a service through IIS).
The Specification Tasks this applies to include:
The image below explains which modules of DriveWorks will process data when the ReleaseDocuments task is placed on the two event types.
To maximize performance and for the best user experience, we recommend that as much processing as possible happens when in an Automatic state (Since the processing will be performed by DriveWorks Autopilot).
All DriveWorks plugins used must be installed locally on the machine hosting IIS.
Network located plugins will not run through IIS.
Follow the steps below to add the site to the IIS Manager.
Launch Internet Information Services (IIS) Manager.
This can be found by launching the Control Panel (from the Windows Start Button), selecting System and Security, then select Administrative Tools and then double clicking Internet Information Services (IIS) Manager.
From the Connections pane expand the computer name link and select the Sites node.
Right click on the Sites link and select Add Website.
On the Add Website dialog enter a Site Name
This name identifies the site in the IIS Manager only, it does not appear externally, although it is good practice to use the same name as your site (for instance www.driveworkslive.com).
Click the browse button at the end of the Physical Path field.
Browse to the location of the DriveWorks Live Theme that contains the web.config file required to be used with this site.
This will be one of the following locations:
Set the Binding Type to either:
Port 80 is the default port for http traffic and 443 for https.
If these ports are in use by another web service on your web server, these may need to change to the next available port.
For more on assigning bindings to sites, please see the TechNet article Add a Binding to a Site.
If using https:
For testing purposes, the built in self-signed certificate can be used.
For production, we strongly recommend an SSL certificate from a trusted certificate authority.
From the IIS Manager, select Application Pools from the Connections panel.
From the Application Pools list, locate the site that was added above and click the Advanced Settings link in the Actions panel.
From the Advanced Settings dialog:
From the .NET CLR Version drop down select .NET Framework v4.0.
From the Enable 32-Bit Applications drop down select:
Identity Setting
From the Identity setting, check the Identity the service is to run under is correct.
This should be a valid Windows User account that does not have administrative privilege's.
This avoids potential security risks for certain DriveWorks Live features that require IIS to access the WebView runtime application.
If the Identity is correct, click OK and proceed to Step 6.
If the Identity requires to be changed:
Select the site from the Connections panel.
Click the browse link in the Actions Panel.
This will launch the default web browser with the landing page of DriveWorks Live loaded.
To enable login to the page the group connection string or group aliases (see below) must be set up.
When using DriveWorks 3D in the 3D Preview control we recommend enabling JSON compression in IIS.
By default IIS does not include JSON in the standard compression methods, which DriveWorks 3D files use.
The IIS settings can be modified to compress JSON with the following method:
When using IIS, DriveWorks Live needs to know certain Connection and Configuration settings.
This is done using Connection Strings in the .config file.
The Group Connection String holds two pieces of information critical to ensuring DriveWorks Live runs with Internet Information Services (IIS).
To change the Group Connection String:
<driveworksLive>
<driveworksLive groupConnectionString="Provider=RemoteGroupProvider;Server=MachineName;Name=GroupName;">
Where:
MachineName is the name of the machine hosting DriveWorks Pro Server.
And GroupName is the name of the Shared Group to connect to.
Individual Groups do not allow multiple Connections.
However, if this is required for development purposes the string would be:
<driveworksLive groupConnectionString="Provider=LocalGroupProvider;Path=\\<ServerName>\<ShareName>\<GroupName>.drivegroup">
Where:
ServerName is the name of the machine where the Individual Group is located.
ShareName is the folder structure path to the Individual Group.
GroupName is the name of the Individual Group.
Name | Meaning |
---|---|
ProServerMachine | DriveWorks Pro Server is located on a machine named ProServerMachine. |
localhost | DriveWorks Pro Server is located on the local machine i.e. the same machine running IIS (not ideal scenario). |
Name | Meaning |
---|---|
ProductionGroup | The name of the Shared Group hosted on the DriveWorks Pro Server machine to connect to. |
MyCompanyGroup | The name of the Shared Group hosted on the DriveWorks Pro Server machine to connect to. |
Taking the first example from the Server Examples and Name Examples above, your Group Connection String should now look like this:
<driveworksLive groupConnectionString="Provider=RemoteGroupProvider;Server=ProServerMachine;Name=ProductionGroup;">
Web Themes can be customized, and the customization files can be moved from their default location.
In this case, DriveWorks Live needs to know where the customized files are.
%ProgramData%\DriveWorks\[version number]\Live\Themes\Web
The pathToConfiguration string holds information that tells IIS where the Theme customizations are located, when they have been moved from the default location (as specified in the note box above).
To change the Path to Configuration String:
%ProgramData%\DriveWorks\[version number]\Live\Themes\Web\DriveWorks.config
The full path of the new location should be noted.
<driveworksLive groupConnectionString="Provider=RemoteGroupProvider;Server=MachineName;Name=GroupName;">
If you have followed step 3 above you will see the groupConnectionString has been inserted.
<driveworksLive pathToConfiguration="NewLocation" groupConnectionString="Provider=RemoteGroupProvider;Server=MachineName;Name=GroupName;">
Where NewLocation is the full path to the location of the customized Theme files.
For example:
<driveworksLive pathToConfiguration="C:\DriveWorks\MyWebConfigurationFiles" groupConnectionString="Provider=RemoteGroupProvider;Server=MachineName;Name=GroupName;">
This is only required if your Projects use the Upload Control.
This value should be applied directly in the web.config file.
To change the maxRequestLength value:
%ProgramData%\DriveWorks\[version number]\Live\Themes\Web\web.config
The default location for the Application Theme web.config file is:
%ProgramData%\DriveWorks\[version number]\Live\Themes\Application\web.config
<httpRuntime targetFramework="4.6.1" maxRequestLength="<default value>"
If you have more than one Project using an Upload Control, or you have more than one Upload Control in a Project, this value should be the largest value applied in any File Size Limit property.
Web Theme
Locate the line below:
<requestFiltering allowDoubleEscaping="true" />
Change this to be:
<requestFiltering allowDoubleEscaping="true"> <requestLimits maxAllowedContentLength="<Value>" /> </requestFiltering>
Where Value is the same value used for the maxRequestLength in step 4 above.
Application Theme
Locate the line below:
<system.webServer>
Change this to be:
<system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="Value" /> </requestFiltering> </security>
Where Value is the same value used for the maxRequestLength in step 4 above.
See Load Balancing IIS for information on Load Balancing.
Another advantage of using IIS is that multiple web sites can be created that connect to either the same Group or different Groups.
This will be one of the following locations:
Knowledge Base Article Ref: | KB13103033 |
---|
See Also:
Use the Web Theme to create a web site for your DriveWorks Implementation.
Choose from a number of customizable skins to select your preferred user experience.
Gives your DriveWorks Implementation the look and feel of a desktop application in a browser.