Administrate Custom Objects

Contents

Custom Objects Page

The Custom Objects page can help you get an overview of all custom objects present in the system and see if they are currently in use.

CustomObjectsList

Open the context menu on a row and select Show Details... to view the custom object.

Approve/Disapprove

Most custom objects have an Approved flag to control if an object is ready for publishing and to temporarily disable parts of a configuration.

Publish/Unpublish

Publish

When publishing a Custom Object, Database Objects are generated from the configuration meta data and deployed to the database.

The following happens when you publish:

Unpublish

When unpublishing, all the deployed database objects except for the table will be removed. The table is kept so that the configuration can be updated and republished without losing any data. For information on how to completely remove a published logical unit see Cleanup Data.

Note: Unpublish removes the view and package from the server, this means that if other Custom Objects is referencing any of the attributes, they will not work anymore and possibly throw errors.

Translate Custom Objects

All prompts visible to the end users can be translated to different languages.

A prerequisite to be able to add translations to a Custom Object is that it has been published. The possibility to add translations will appear only after publishing (except for the Custom Objects that do not have the publishing step, e.g., Custom Pages).

To add translations to a Custom Object, translate the prompt of the Custom Attribute:

  1. Open the administration page and populate the record of the object you wish to translate.
  2. Open the context menu and click Translate...
  3. In the Custom Objects Translation dialog that opens, choose what language to translate.
  4. Enter the translation for each prompt.
  5. Close the dialog.

Translation of multiple attributes.

Translation of a single attribute.

Add to Package

Many Custom Object types can be added to Application Configuration Packages for common delivery to other environments. For the supported types, this concept replaces the legacy export/import functionality.

Export/Import

Custom objects can be exported to backup a configuration or to transfer to another environment. Using Export/Import makes it convenient to develop custom objects in a development environment and then transfer the configuration to the production environment after being verified. Normally, Application Configuration Packages should be used instead of the legacy Export/Import functionality.

To Export

  1. Open the administration page and populate the record of the object you wish to export.
  2. Open the context menu and click Export
  3. Choose a name and a location where you want your export to be saved.

To Import

  1. Execute a previously exported ins file using a database tool equipped to run PL/SQL scripts, e.g., SQLPlus or PLSQL Developer.

Note: There is no guarantee that an export done from an older version can be imported in a newer version. Any errors that may occur will be ignored and you might end up with partial or no meta data after an import.

Export/Import Translations

Doing export/import of custom objects using Application Configuration Packages include custom object translations. The translations of custom objects can also be exported and imported using the Translation Manager as explained below.

To Export Translations

  1. Open Translation Manager -> Administration -> Export Language Files.
  2. Choose layer User.
  3. Check the All Main Types checkbox.
  4. Select Export All.
  5. Select the CONFIG component (under Foundation1).
  6. Select the languages you want to export.
  7. Click Export... and select where you want your files.

To Import Translations

  1. Open Translation Manager -> Administration -> Import Language Files.
  2. Click Import...
  3. Select the files you want to import and click Open.