Appendix A - Application Config file - HxGN EAM - 12.0 - Customization & Programming - Hexagon

HxGN EAM Web Services Toolkit Programmer Help

Language
English
Product
HxGN EAM
Search by Category
Customization & Programming
HxGN EAM Version
12

The Application Congif File is generated from the app.config source file. It will have the same name as the executable with an exe.config extension – i.e., if the application executable is named AddWorkOrder.exe then the config file will be named AddWorkOrder.exe.config. Here are the contents:

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

<appSettings>

<!-- WebServicesURL is the URL to call the web services against.

NOTE: Will default to WSDL defined value if not set here. example:

<add key="WebServicesURL" value="http://localhost/axis/services/EWSConnector"/>

-->

<!-- Work Order default input values -->

<add key="DefaultOrg" value="" />

<add key="DefaultDeptCode" value="" />

<add key="DefaultEquipment" value="" />

<add key="DefaultEquipmentOrg" value="" />

<add key="DefaultTypeCode" value="" />

<add key="DefaultStatusCode" value="" /prompted

<!-- Login default values

UserID - The User Id to prefill on the login screen.

Remove or comment out to force entry of the User ID

RememberLogin - If the value is NOT "true", the user will be prompted for his login credentials every time the Submit button is pressed. This value defaults to "true" if not defined. -->

Regardless of the value, the user will need to enter his login credentials at least once.

<add key="UserID" value="" />

<add key="RememberLogin" value="true" />

</appSettings>

</configuration