The following technote describes how to display general and environment attribute columns in WEL.
The following products will need to be installed in order to display general and environment attributes in WEL.1) ProjectWise Integration Server2) ProjectWise Administrator3) ProjectWise Explorer4) ProjectWise Web Server.
The following configurations are needed in order to complete the process. 1) A ProjectWwise Datastource2) A ProjectWise Environment within a Datasource 3) The Environment needs to be assigned to a Folder within the Datasource.4) Files need to be in the folder.
This section describes the default general document attributes that are shown in the main document frame regardless of the environment used for the folder being displayed.
Note: Documents will be sorted by the first field in the list in ascending order.
The following steps describe how to change and add the default attributes to be show in the main document frame in WEL:
1. Open the PWLiteServlet.properties file from C:\Program Files\Bentley\ProjectWise\WebServer\common\classes which is the default installation path for ProjectWise Web Server 2. Scroll down to the #general.attributes section. By default, the general attributes is commented out and is set to display only the default attributes which are Name, Description, Version File Size, and Updated. (See above Example 1)3. Uncomment the general.attributes section and add your desired general attributes from the given list and save the file.
For example:general.attributes= Department; Description; Document ID
Possible Values are as follows: Application, Created, Creator, Department, Description, Document ID, File Name, File Size, File Updated, File Updater, Document Name, Node, Out To, State, Status, Storage, Updated, Updater, Version, Workflow, Sequence
4. Restart the ProjectWise Web Server Service from Windows Services. Right click on My Computer Click on Manage Click on Services and Applications Then Click on Services and your ProjectWise Web Server Service will be listed.5. Log into ProjectWise to make sure the desired attributes are shown. It doesn't matter which folder is selected for the general attributes to be shown.
Example 1 shows the document main frame with default general attributes. In this section we will add environment attributes to the main document frame.
These entries are used to define which environment attributes for each environment will be displayed in the main document frame when documents from that particular environment are listed. This means that as users change from folder to folder, the list of attributes displayed will change.
The steps below describe how to set an Environment to a folder and how to edit the PWLiteServlet.Properties file.1. In ProjectWise Administrator, create an environment with your attributes. (See Example 2 below)
Please note: For information on creating an environment attribute see the Projectwise Administrator Help
2. In ProjectWise Explorer make sure the Environment is set to a folder. Right click on a folder and choose properties. On the General tab, use the pull down to select the environment (See Example 3 Below)
3. On the Web Server: Navigate to C:\Program Files\Bentley\ProjectWise\WebServer\common\classes and open file PWLiteServlet.properties. Open this file using notepad.
4. Go to the section "Adding Environment Attributes to main document frame". The following is a description of what each part of the command line is used for in the PWLiteServlet.properties
<server host name> - this is the host name of the server that has ProjectWise Webserver installed. Note: Log intoWEL and take a look at the location section - that is how the server host name needs to be entered in the PWLiteServlet.properties file. ( See Example 4 below) In this example add "\:": SQLand89463 (case sensitive).
<datasource name> - CASE-SENSITIVE: jutin<environment name> - CASE-SENSITIVE: Office<attribute name> - NOT CASE-SENSITIVE: Status;WFStatus;
Example of the entire syntax:<server host name>\:<datasource name>, <environment name>=<attribute name>;<attribute name>;<attribute name>
Example of the syntax with the correct entries to display to attribute columns using the example data above: SQLand89463\:jutin.Office=Status;WFStatus
Note: If you have multiple Environments, create a new line with the new environment name and attribute names and make sure that a folder has been set to the environment (from step 2.)
5. Save the PWLiteServlet.properties file6. Restart the Web Server Service (See Section 1 on how to restart the ProjectWise Web Server Service)7. Log into WEL and make sure the desired attributes from the environment are being displayed.
Note: It is possible to set general attributes with environment attributes together by un-commenting the general.attributes section and setting your environment attributes as well. See Example 6.
The syntax in the PWLiteServlet.Properties file will be as follows for Example 6:
SQLand89463\:jutin.Office=Department; Description; Document ID; Status; WFStatus
Product TechNotes and FAQs
ProjectWise TechNotes And FAQs
Bentley Technical Support KnowledgeBase
Bentley LEARN Server
Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!