Use Genie Resource Files to Change Textual Elements

by Jonathan Jacobsen Wednesday, October 08, 2008 2:58 PM

The Genie config files allow changes to many textual elements within Genie, from field names and labels to the names of the Browse buttons.

However, not everything that appears on the Genie screens is exposed in the config files. Other text is stored in a resource file, one for different languages, that can be copied and edited using the procedure below. Note that there is currently no documentation for changing these files.

1. Locate the file "GlobalResource.RESX ". It is typically installed in C:\Program Files\Inmagic\Genie\App_GlobalResources.

2. Create a new plain text file in this same folder called "GlobalResource.en-US.RESX" (or if your instance of Genie is configured for a different locale, change en-US to that locale).

3. Copy the following from the GlobalResource.RESX file to the new .RESX file:

    • The header information: Everything from the top of the file to just before the first <data> tag.
    • Only those <data> tags containing messages that you want to be different than the original message.
    • The </root> tag from the bottom of the file.

4. Within the <data> tags you copied, edit the text between <value> and </value> to change the message.

For example, to change the name of the InfoCart to "Record List", you would copy all of the <data> tags that refer to the InfoCart and edit their values to incorporate Records List.


Changing Inmagic Genie dropdown lists to text boxes

by Jonathan Jacobsen Monday, July 21, 2008 5:30 PM

Several edit screens in Genie use dropdown lists,for example, Payment Methods, Order Types, Currencies etc. The wording for these can be edited in the myGenie.config file, eg.

<!-- PaymentMethods -->
   <Method Default="true">Credit Card</Method>
   <Method>Money Order</Method>
   <Method>Gift Card</Method>
   <Method>Wire Transfer</Method>

However some clients may not be used to having this type of information validated, or their existing data to be converted into Genie may have a variety of values that cannot be easily batch modified to fit.  In this case it is possible to change the edit screen and switch to a simple textbox and if required, add a link to browse a validation list instead.

In myEditScreens.config file change this:

<Field Name="OrdPaymentMethod" Type="DropDownList" CssClass="orders_edit_qtr_textinput"  ShowBrowse="false" Required="false" Width="170"/>


<Field Name="OrdPaymentMethod" Type="TextBox" CssClass="orders_edit_qtr_textinput"  ShowBrowse="true" Required="false" Width="170"/>

Dropdowns that should not be changed are CatSerFrequency (as this is used to set up arrival patterns in Serials using the calculation values specified in the myGenie config file); and the Suppliers dropdown in Orders (needed to show the linked Supplier name rather than the OrdSuppID). A good rule is to always make a backup before changing any config file setting.

Month List