Renaming a Customization Project

If a customer or a regions posses completely new customization project, For example an extension component form a region, need may arise to rename its project, window and assembly names in accordance with new layered application architecture naming standards. In this scenario, developers can follow following steps to rename solution, project, assembly and all its underline windows to the new standards. Depending on the complexity of the customization, developers may have to carry out additional steps other than given below to complete the renaming process.

Contents

Prerequisites

Prior to performing following steps, Developer must make sure that the customization is uplifted to the layered application architecture way (IFS Applications 9) by following Uplifting of a completely new form window guideline.

Renaming the Solution and Project

Following procedure describes how to rename Solution, Project and Project properties in order to adhere to new naming standards.

Procedure:

Example:

[assembly: Ifs.Fnd.Core.FndComponent("edicom""Ext")]

Layer name can be either Ext or Core depending on the situation

Renaming Windows

Developer should apply following procedure to each and every window (Form, table or dialog) in the project to rename them in accordance with new naming standard.

Procedure:

Example: frmEdiComTransport.cs to frmEdiComTransport_Ext.cs

Note: when following above step, <item name>.Designer.cs and <item name>.resx files will automatically be re named

Example:

namespace Ifs.Application.Edicom_Ext

Note: Re factoring operation will change namespace in entire project thus this is a one time step.

Example:

public partial class frmEdiComTransport_Ext : cFormWindow

Note: Click Yes to the Visual Studio warning on editing a resource file                   

Example: ../source/Ifs.Application.Edicom_Ext

Correcting the Navigator

After renaming process, existing navigator-functional.xml and its entries will become invalid. To correct them, developer may need to follow following steps

Example: from navigator-functional.xml to navigator-functional_<layer name>.xml

Example: Source="<component>\client\navigator-functional_<layer name>.xml"

At this point, correcting the navigator is complete. More information on editing navigator xml using Edit Navigator option can be found here.

Updating the dictionary

After the move process, the client dictionary needs to be updated. It can be done by running the Generate Dictionary functionality available with IFS Development Tools menu in Visual Studio. More information on generating the dictionary is available here.

Updating presentation object repository

Presentation object corresponding to renamed items should be updated by scanning the entire component. Developer may follow following steps to generate correct presentation object repository.

More information on the presentation object scanner and its usage can be found here.