My Oracle Support Banner

TCC: Using TRANSLATE Function to Replace Characters (Complex Projection with Custom Function) (Doc ID 2914462.1)

Last updated on DECEMBER 09, 2022

Applies to:

Oracle Taleo Platform Cloud Service - Connect - Version 22C and later
Oracle Taleo Recruiting Cloud Service - Version 22C and later
Oracle Taleo Onboarding Cloud Service - Version 22C and later
Information in this document applies to any platform.

Symptoms

An export has a complex projection that exports just the letter characters of a field.

For example, if the field contains ABC 123A, the exported value is ABCA.

Changes

 Here is an example of the problem complex projection.  This complex projection uses a custom function, TRANSLATE:

<quer:projection alias="EmployeeClass" xmlns:quer="http://www.taleo.com/ws/integration/query">
     <quer:customFunction name="TRANSLATE">
          <quer:field path="ProfileInformation,Application,Offers,TEST,Code"/>
          <quer:string>ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 .,-_#/\;</quer:string>
          <quer:string>ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz</quer:string>
     </quer:customFunction>
</quer:projection>

Note: Above is using an Offer UDF that is a LUDS ("TEST")

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.