# Office Suite

## Defaults

The following list contains some of the defaults for the Office Suite:

Variable Name | Description
GDM-ADDIN | 1 = Menu add-ons for Office are installed during the program installation, 0=install no add-ons for Office.
GDM-CRE-VERSION | The content of this default can be the Name of an LGV-Procedure. Once this default is defined, storing back a read-only document will call this function to ask the user if he wants to create a new version of this document. Sample Function: GdmSample/CreVersion .
GDM-DOC-FAV | This default can hold a LGV procedure name, this procedure will then be used when a document without write access is checked back, a new version can be created asking the user if he wants to do so. A sample function GdmSample/CreateVersion is loaded and can be used as an example.
GDM-DOCTYP | Name of the menu which is used when working with several document types, DOCUSX must have the entry MENU.
GDM-DOCUSX | MENU= The MENU defined in GDM-DOCTYP is used.
GDM-ICONIFY-CLOSE | 1 = Client is minimized after check in . 0 = Client is not be minimized.
GDM-LINK | 0=Link of Agile e6 documents in Office is inactive, 1=Link in Office is active.
GDM-OFS-VERSION | The current OfficeSuite-Version .
GDM-PRE-SEL-DOC | 0=List for selecting a document is updated directly when loading a document from the Office application. 1= No update.
GDM-PRP-EXCHANGE | Defines the way in which document-properties will be exchanged. To values are possible: OFFLINE The properties will be exchanged using the offline-mode and write it directly to the file. This will be done using the dsofile.dll from Microsoft. OFFLINE is the default-setting. NATIVE The properties will be exchanged using directly the application like Word, Excel, PowerPoint, Visio 2003, and Visio 2007. This means the properties will be written by the application into the memory and then to the file. Vision always uses the NATIVE-Mode, whereas the other application can be switched using NATIVE or OFFLINE. Offline is the faster mode. With both settings the document properties need to be refreshed to show the changes. Otherwise changes will only be visible in the property-tab of the corresponding application.
GDM-PRS-TYP | Relationship type for person-document relationship.
GDM-REL-FLD-ACC | m=If there are any empty mandatory fields in the relationship mask an interactive prompt appears when relationships are created. w=If there are any empty entry fields an interactive prompt appears.
GDM-RELATION-FLD | 0=Relationship fields in the document mask are activated when the mask is opened. 1=Relationship fields are not activated when the mask is opened.
GDM-RESERVATION | Using this default it is possible to define if reservation should be checked during check-in/out. 1 = Reservation will be set, if the document has at leased write-access. 0 = Reservation will not be set.
GDM-REVISION | 1=Revision field is incremented for every check-in. 0=No incrementing.
GDM_STR_MSG_YES GDM_STR_MSG_NO | In the OfficeSuite-Default list there is a GDM_MSG_YES and GDM_MSG_NO to define witch dialog should be answered with YES or NO. The default GDM_STR_MSG_YES defines the messages to be answered if the user uses the structure checking function.
GDM-STR-TYPE | The expanded functionality (available as an add-on package) allows storing complete structures from a windows-drive. This is a batch-function witch should not need to interact with the system. For this reason the default GDM-STR-TYPE defines the name of the document-type used in Agile e6.
GDM-TEMPLATE-PROC | This default can hold the name of an LGV-Procedure; this procedure will then be executed when a document should be created based from a copy template. The function can be used to limit the template to display using the company assignment for example. Example: This is an example how to filter the template so that only side-specific templates will be shown Line C Statement
Line | C | Statement
10 | C | Check if we have to select site-dependent, otherwise display all template (no mask-join)
20 | C |
30 |  | GDM_TMP = ""
40 |  | select(GDM_USR_CIC)
50 |  | where("T_USER.C_NAME" = user())
60 |  | GDM_RES = exec_select(0)
70 |  | if (GDM_RES == 1)
80 |  | GDM_TMP = strprint("T_DOC_ORG.C_ID_1=T_DOC_DAT.C_ID&T_DOC_ORG.C_ID_2=T_ORG_DAT.C_ID&T_ORG_DAT.C_ID(+)= T_ORG_PRS.C_ID_1&T_ORG_PRS.C_ID_2(+)=T_PRS_DAT.C_ID&T_PRS_DAT.C_IC=I:%d",GDM_USR_CIC)
90 |  | GdmLink/SetJoin(GDM_TMP,"")
100 |  | endif
GDM-TRACE | Trace display in the message window , 0=ON, >0= OFF
GDM_ART_FLD_1 | Field 1 for item display .
GDM_ART_FLD_2 | Field 2 for item display.
GDM_ART_FLD_3 | Field 3 for item display (not yet active).
GDM_DOC_FLD_1 | Field 1 for document display .
GDM_DOC_FLD_2 | Field 2 for document display.
GDM_DOC_FLD_3 | Field 3 for document display (not yet active).
GDM_ORG_FLD_2 | Field 2 for company display.
GDM_ORG_FLD_3 | Field 3 for company display (not yet active).
GDM_PRO_FLD_1 | Field 1 for project display .
GDM_PRO_FLD_2 | Field 2 for project display.
GDM_PRO_FLD_3 | Field 3 for project display (not yet active).
GDM_PRS_FLD_1 | Field 1 for person display .
GDM_PRS_FLD_2 | Field 2 for person display.
GDM_PRS_FLD_3 | Field 3 for person display (not yet active).
GDM_STEP_CRESYSTEM | Value determined by T_FLE_DAT.STEP_CRE_SYSTEM. Important for DFM.