ADD_DOCPROFILE ADD_DOCRULE DELETE_DOCPROFILE

Core Oracle Content Server Services 4-83

4.4 Doc Profile Services Core Oracle Content Server

The following services are used when creating, maintaining, or deleting document profiles: ■ ADD_DOCPROFILE ■ ADD_DOCRULE ■ DELETE_DOCPROFILE ■ DELETE_DOCRULE ■ DOCPROFILE_PREVIEW ■ EDIT_DOCPROFILE ■ EDIT_DOCPROFILE_TRIGGER ■ EDIT_DOCRULE ■ GET_DOCPROFILE ■ GET_DOCPROFILES ■ GET_DOCRULE ■ GET_DOCRULES

4.4.1 ADD_DOCPROFILE

Service that is used to add a document profile. The service adds the profile and description to the content profile listing and generates the profile definition file from the data which is passed in. Location: IdcHomeDirresourcescoretemplatesstd_services.htm Additional Required Service Parameters ■ dpName: The name for the profile. This must be a unique name. ■ dpDescription: A description of the new profile. ■ dpTriggerValue: The trigger value associated with the profile. ■ dpDisplayLabel: The display label for the profile. Optional Service Parameters ■ isValidateTrigger: When set to true, validates that the trigger value exists. If the value does not exist, the service fails. When set to false, the profile is added without validating the trigger. Note: The data provided for this service becomes the profile definition. When editing the profile using EDIT_DOCPROFILE, the profile definition must first be read using GET_DOCPROFILE before adding or changing the desired values. 4-84 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management

4.4.2 ADD_DOCRULE

Service used to create a new content profile rule. This service adds the rule to the content rule listing and creates the rule definition file. The data provided to the service becomes the rule definition. Location: IdcHomeDirresourcescoretemplatesstd_services.htm Additional Required Service Parameters ■ dpRuleName: The name for the new rule. This name must be unique. ■ dpRuleDescription: A description for the rule.

4.4.3 DELETE_DOCPROFILE

Service used to remove a document profile from the profile listing and removes the content profile definition file. Location: IdcHomeDirresourcescoretemplatesstd_services.htm Additional Required Service Parameters ■ dpName: The name for the profile.

4.4.4 DELETE_DOCRULE