Building a new business object to display images
Customize the properties for the new business object, then build and publish the new business object.
Do the following:
- Go to RiSE > Business Object Designer.
- Select New > Design Business Definition.
- (Definition tab) Enter the business object's information:
- Name the new object Name_Picture.
- (optional) Enter a Description.
- Click Create Object.
- Add properties to the business object, saving after you edit each tab:
- (Database tab) Add the Tables that contain the columns you want to use in your business object. Select the Name_Picture table. From the Available Columns list, select which columns to use.
- Click Add as Properties or Add All as Properties.
- Click Save.
- (Properties tab) Select properties from the list for which you want to define the property's characteristics.
- (Properties tab > Display sub-tab) Set the Display control to Image for the Picture_Logo property.
- Click Save.
- Build and publish the new business object.
Note: If an error occurs when publishing the business object, check the Database tab and ensure that appropriate Joins are defined if more than one table is listed in the Tables list.
Warning! Do not create new folders in the BOD Folders pane. All business objects must be stored in the system-defined Design Business Object Definition folder only. You must also not create subfolders under the Design Business Object Definition folder. Business objects created in or saved to any other location will break.
- Do not create and save business objects to any other location.
- Do not move existing business objects to any other location.
- Do not import business objects into any other location, regardless of the tool used to perform the import.