Attributes Configuration

You can customize the Electrical & Electronics Architecture app by adding new attributes. The customization is defined through the JSON file named EEW_CUSTO.cfg.

This page discusses:

Environment: On premises only

Configuration File

Notes:
  • The customization is only possible if the customization file exists and is located in the WEB-INF/EEW/ directory.
  • Before defining the customization file, types corresponding to new attributes must be created using the Data Model Customization app and saved in the PLM database. For more information, see Installation and Setup: Customize: 3DEXPERIENCE Platform: 3DSpace: 3DSpace Data Model: Data Model Customization.

Edit or create the EEW_CUSTO.cfg file, and insert a mapping between the attribute name and the name to be displayed in Electrical & Electronics Architecture.

Each class has the following fields:

  • eeTypeName: corresponds to the EE type name.
  • dbType: corresponds to the customized type. It contains the custoClass attribute, which corresponds to the mapping between EE type and customized type.

Each attribute has the following fields:

  • eeAttribute: corresponds to the attribute name in the PLM database.
  • dbAttribute: corresponds to the name to be found in Electrical & Electronics Architecture.

The Tomcat server must be restarted to take the file content into account.

Example

{
	"mappingClasses": [
		{
			"eeTypeName": "EEConnectorPrototype",
			"dbType": {
				"custoClass" : "RFLVPMLogicalConnection"
			}
		},		 
		{
			"eeTypeName": "FFunction",
			"dbType": {
				"custoClass" : "RFLPLMTechFunctionReference"
		    },
			"attributes" : [
				{
					"eeAttribute": "Type",
					"dbAttribute": "VPLMatt/RFLPLMTechFunctionReference/E_Type"
				},
				{
					"eeAttribute": "Nature",
					"dbAttribute": "VPLMatt/RFLPLMTechFunctionReference/E_nature"
				},
				{
					"eeAttribute": "E_state",
					"dbAttribute": "VPLMatt/RFLPLMTechFunctionReference/E_state"
				},
			]
		},
	]
}