This short guide shows how to create and name a service component in the Uniface IDE. You need an existing project and write access to your development repository.
The steps are based on Rocket Uniface 10 Community Edition 10.4.03, patch 021, on Windows 11.
1. Open your project
Open your project in the Uniface IDE, for example through Recent Objects on the start page. In the project editor, select Define Project.
2. Select the Service template
Open Templates on the left and find Component: Service.
Select this exact template. Component: Entity Service and Modeled Component: Service are different templates.
3. Add the component
Right-click Component: Service and select Insert into Structure.
The IDE adds a new component to the project with an automatically generated name, such as UCSVC_1. The name may differ in your repository.
4. Name your service
Double-click the new component to open it, then:
- Select Define Structure.
- Right-click the top-level component row.
- Select Rename.
- Enter a name, such as HELLO_SERVICE.
- Press Enter to confirm.
Choose a name that is not already used in your repository. Check that the new name appears in the component structure and editor tab, then save your changes using the IDE’s Save action.
Your service component is now created and named, ready for you to add its implementation.
Top comments (0)