Skip to content

Developing with IFS Developer Studio

Prerequisites

The following prerequisites must be met before you start developing using IFS Developer Studio;

  • You should have Customer Solution Developer or Technician access to a cloud build place.
  • IFS Developer Studio is downloaded and installed. The tool can be downloaded from IFS Developer Portal
  • You have established an Azure VPN connection between your workstation and the development environment on a cloud build place.
  • You have installed a GIT client on your workstation.
  • You have created a topic branch for your development.

Setting up the Local Development Environment

Working with Core-Cust Separated workspace is very similar to working with BuildHome as done in IFS Applications 10.

Before starting to work in Developer Studio, the workspace has to be separated, the cust workspace should only contain customized files.

The following steps can be followed to set up a new customization project in Developer Studio.

  1. Create a directory structure on your local disk to save the project as shown in below image.

    Note: You can give a preferred name for the folders. Core and Cust folders can be located in two different folders.

  2. Create the "workspace" directory inside “Cust” folder to clone the components.

    Note: The name of the folder inside "Cust" folder should be exactly "workspace". E.g: D:\CustomizationProject\Cust\workspace

  3. Clone your customer solution repository into the 'workspace' folder.

    git clone <customer-solution-repo-url> <local path of the 'workspace' folder>

    Eg:- git clone <customer-solution-repo-url> <D:/CustomizationProject/Cust/workspace>

  4. Checkout to the topic branch created for development purposes.

    git checkout <topic-branch-name>

    Refer the following sections to read more about creating topic branches:

  5. Download the core code zip file for the version that is to be applied to the customer solution repository from the 'IFS Cloud Core Codes' dropdown as shown below. This step is not mandatory if you have already downloaded and extracted the core files of the specific release to your local machine.

    Note: The previous service update versions of the major release are also shown in the dropdown to facilitate any hot fixes that may be required.

    Note: Once the Release Update has been applied to the Customer Solution repository, the core code zip file of the version applied to the solution repository can be downloaded via the button shown in the screenshot below.

  6. Next, the zip file can be extracted manually or can be left as it is to be extracted via the Developer Studio tool as shown in step 11.

    If the core code is extracted manually, move it to the 'Core' folder created in step 1. (E.g:- Folder path of the core files will be D:/CustomizationProject/Core/22.2.1/checkout)

  7. Open ‘IFS Developer Studio’ and create new project [File -> New Project]

    • Select ‘IFS’ from categories and
    • ‘IFS Customization Project’ from Projects

  8. Press ‘Next’ and select ‘Existing’ as project folder type.

  9. Enter the folder path to the 'Cust' folder created in step 1 as the 'Project Folder'.

    E.g: D:\CustomizationProject\Cust

  10. Select '22R2' as the Target Version Release.

  11. There will be an option called 'Core Files' for projects with Target Version Release '22R2'.

    11.1. If the core files were not manually unzipped and you wish to unzip the files from within Developer Studio, follow the steps below:

    ​ a. Click on 'Browse' button next to the 'Core Files' field.

    ​ b. Select the core code zip file downloaded from the LE portal (Make sure the zip file is not inside the Core or Cust folders, as the tool will not allow to decompress files to a folder which is not empty).

    ​ c. A dialog will be popped up asking for a confirmation to decompress the files. ​ ​ d. Click 'Yes' to unzip the files from the tool itself.

    ​ e. Next, you need to point to the location the files needs to be extracted to. Select the 'Core' folder mentioned above as the location for the extracted files. The extracted core files will automatically be set to read-only when unzipping files from the tool. ​ ​ f. Click 'Open' to proceed with the extraction of files. ​

    Note: Once the file decompression within Developer Studio is complete, there might be instances where the path of the 'Core Files' field in the New Project Wizard will differ from the one you set up earlier (E.g:- D:\CustomizationProject\Core). In such cases, make sure to change the folder path to ensure the file path is set correctly so that it will point to the 'Core' folder.

    This is the path set to 'Core Files' field after decompression is completed: The path set to 'Core Files' field should be changed as follows:

    11.2. If the core files were manually unzipped outside Developer Studio, follow the below steps to setup the Developer Studio project:

    ​ a. Ensure that the core files are extracted to the 'Core' folder created above.

    ​ b. It is highly recommended to make the extracted folder and its files “Read Only”, to ensure that accidental changes are not done to the core files.

    ​ c. Click on the 'Browse' button next to the 'Core Files' field and select the extracted core code folder. ​

    Note: If the core files already exists for the release you are working with, you can point to those files instead of extracting the core files again, as those files are reusable for other projects too.

  12. The next two screens for Customer Information and Technologies can be skipped or completed as required.

  13. Add a new database connection using the information available on the environment you are using in the IFS Lifecycle Experience portal.

  14. Set host as the database link of the created environment and use the port number as 1521.

  15. Enter service name, username and password. This information is available under the environment section in the IFS Lifecycle Experience portal.

  16. Complete the 'New Project' wizard and start developing customizations. Use ‘Generate and Deploy’ command to deploy database code to the remote database

  17. With the core files set, you should be able to work with core files, just as with BuildHome in Apps10.

  18. There will be a node called 'Core Files' at the bottom in the navigator, where the core files can be browsed, and "customize this" can be chosen on the file. The customized file will appear in the customized workspace, and you can work as normally done with customizations.

  19. The core files folder is cached, and the cache is refreshed automatically if the folder data is changed. If for some reason this fails or a manual refresh is needed, it can be retriggered on the Core Files node.


Additional Notes

Layered customization vs non-layered customizations

Some files support layered customizations and the "customize this" option can be selected for these files and add the customized code in the separate file which is created.

Some files do not support layered customizations yet and these files have to be copied from the core files location in to the customization project and changed in the copied source code.

Layers.ini file

Once the developer studio project has been set up, a "layers.ini" file will be automatically created in the "workspace" folder of the local repository directory.

This layers.ini file must NOT be merged as a single commit to the master branch of the customer-solution repository as this will cause sanity build failure. In the event the layers.ini file needs to be committed to the master, it is recommended to commit it along with other customized files.