Designer > Process Central Forms and Configuration > Creating a Process Central Configuration File
  

Creating a Process Central Configuration File

The Process Central Web application contains Forms, Tasks, and Reports that you configure for navigation.
A basic configuration file resides in Process Server to provide the initial configuration for navigation filters. You can view the file from the Catalog Resources page of the Process Console.
You can create additional configuration files that customize the navigation filters, on a user by user or group by group basis, and also describe the forms and reports to be deployed.
You can also replace the basic configuration file with your own file in Process Server. All elements from the basic configuration file are required, and by default the basic file is deployed. Your modifications override the basic settings.
To create an Process Central Configuration (.avcconfig) file
  1. 1. Select File > New > Central Configuration.
  2. 2. Accept the default location and filename for the file or modify them. The default location is the deploy folder, and the filename is based on the project name.
  3. The file opens in an XML editor, and the main sections of the file are commented out. See Editing Tips below for help in editing the file.
Overview of Configuration File Sections:
Section
Configuration filters you can add
Task Role Filters: See Configuring Task Role Filters
  • - Items in the Role drop-down
  • - Items in the Show drop-down
  • - Folder names in the Tasks list
  • - Show or hide folders based on users and groups (allowed roles)
  • - Custom column names for tasks
  • - Task list filtering
  • - Folder names in the Forms list or Reports list
  • - Show or hide folders based on users and groups (allowed roles)
Localization
Contributions to Process Central, Forms and Tasks
Create your own scripts, CSS, and other elements. Specify them in the <centralIncludes> section. For details, see Including Your Own Styles Scripts and Meta Data for Process Central.
Editing Tips:

Configuring Form Filters

For an overview of form, see Creating a Process Central Process Form.
The Forms section of the Process Central configuration file configures the following:
Here is an example of a configuration in Process Central showing a custom folder containing two forms.
Fill in the values as shown in the following example:
<tns:requestCategoryDefs>
<tns:requestCategoryDef id="loans_category"
name="Loan Approval">
<avccom:requestDef id="loan_request"
name="Customer Request Form">
<!-- Use this section only to restrict access to requests.
Delete it if not used.
<avccom:allowedRoles>
<avccom:role>FILL_IN_ROLE_1</avccom:role>
<avccom:role>FILL_IN_ROLE_2</avccom:role>
</avccom:allowedRoles>
-->
<avccom:description>
Submit a request for loan approval.
</avccom:description>
<avccom:formLocation>
project:/tutorial/form/request/loanRequest.html
</avccom:formLocation>
</avccom:requestDef>
</tns:requestCategoryDef>
</tns:requestCategoryDefs>

Configuring Reports Filters

You can design Business Intelligence and Reporting Tools (BIRT) reports in Process Developer and deploy them for display in Process Central as well as in the Process Console. For details, see Process Server and Process Central Reports.
The Reports section of the Process Central configuration file configures the following:
Fill in the values as shown in the following example:
<tns:reportCategoryDefs>
<tns:reportCategoryDef id="loans_category"
name="Loan Approval">
<avccom:reportDef id="loan_report"
name="Loan Approval Report">
<!-- Use this section only to restrict access to reports.
Delete it if not used.
<avccom:allowedRoles>
<avccom:role>FILL_IN_ROLE_1</avccom:role>
<avccom:role>FILL_IN_ROLE_2</avccom:role>
</avccom:allowedRoles>
-->
<avccom:description>
Loan Application Approvals By Month
</avccom:description>
<avccom:formLocation>
project:/tutorial/reports/loansReport.rptdesign
</avccom:formLocation>
<avccom:formPreview>
project:/tutorial/form/preview/loanRptPreview.html
</avccom:formPreview>
</avccom:reportDef>
</tns:reportCategoryDef>
</tns:reportCategoryDefs>

Including Your Own Styles Scripts and Meta Data for Process Central

In a new avcconfig file, there is a section where you can specify your own CSS files, scripts, and meta data for use in Process Central.
Instead of linking in CSS, scripts, and meta data in form and tasks, you reference it from a .avcconfig file in the <centralIncludes> section.
The <centralIncludes> section can include the following elements that are common <head> element in a XHTML file:
When you create a new avcconfig file, by default, only one section of the file is generated:
<tns:centralIncludes>
<link xmlns="http://www.w3.org/1999/xhtml" href="../example.css" rel="stylesheet" type="text/css">
</tns:centralIncludes>
To use your own style sheet:
  1. 1. If desired, review the default Process Central CSS files. To do this, open Process Central and view the Page Source. Find the section of the source file linking to the CSS files and select a link. The style sheet for basic UI styles for fonts and colors is ae-avc.css.
  2. 2. If desired, copy styles from ae-avc.css or other CSS and make your own modifications.
  3. 3. In forms and tasks, use the class names from the CSS file, as desired.
  4. 4. Deploy your CSS file.
  5. 5. In an avcconfig file, add the name of the CSS in the <tns:centralIncludes> section and deploy the config file. For example:
  6. <link xmlns="http://www.w3.org/1999/xhtml"
    href="../example.css" rel="stylesheet" type="text/css">
    Where the href path can be one of the following: