Skip to main content

Custom objects

Description

The custom objects are the objects created by the administrator to extend the Soffid underlying data model. This allows you to store additional information that is not natively supported by Soffid. 

This option allows administrator users to provide objects with content.

For more information about how to  create a new Custom object you can visit the Metadata page.

Screen overview

image.pngimage.png

image.png

  1. Object Type: objects created by the administrator.

Standard attributes

  • Name: identification name.
  • Description: brief description.

Every single custom object could have specified attributes defined by the administrator users when they create the object type.

Actions

Custom object query

Query

Allows you to query custom object through different search systems, Quick, Basic and Advanced.

Add or remove columns

Allows you to show and hide columns in the table.

Add new

Allows you to create a new custom object. You can choose that option on the hamburger menu or clicking the add button (+).

To add a new custom object it will be mandatory to fill in the required fields

Delete

Allows you to remove one or more custom objects by selecting one or more records and next clicking the button with the subtraction symbol (-).

To perform that action, Soffid will ask you for confirmation, you could confirm or cancel the operation.

Import

Allows you to upload a CSV file with the custom object list to add or update custom objects to Soffid.

First, you need to pick up a CSV file, that CSV has to contain a specific configuration. Then you need to check the content to be loaded, it is allowed to choose if you want or not to load a specific attribute. And finally, you need to select the mappings for each column of the CSV file to import the data correctly and to click the Import button.

Download CSV file

Allows you to download a csv file with the custom objects information.

Custom object detail

Apply changes

Allows you to save the data of a new custom object or to update the data of a specific custom object. To save the data it will be mandatory to fill in the required fields

Undo

Allows you to undo  any changes made

Delete

Allows you to remove a custom object.  You can choose that option on the trash icon.

To perform that action, Soffid will ask you for confirmation, you could confirm or cancel the operation.

Examples

Example 1
... ...
lCustomObj = serviceLocator.getCustomObjectService().findCustomObjectNames("JobPosition");
... ...
Example 2
... ...
lCustomObj = serviceLocator.getCustomObjectService().findCustomObjectByTypeAndName("JobPosition", "IAM_Engineer");
... ...
Example 3
... ...
lCustomObj = serviceLocator.getCustomObjectService().findCustomObjectByJsonQuery("JobPosition", "name co " + "\"IAM\"");
for (var i=0; i<lCustomObj.length; i++) {
  atributes = lCustomObj[i].getAttributes();
  out.println("*** Custom Object - " + i + " - " + lCustomObj[i].name);
  out.println("*** Custom Object - " + i + " - " + atributes.get("code"));
  out.println("*** Custom Object - " + i + " - " + atributes.get("location"));
  ... ...
}
... ...