Taleo Export 包括 UDF

问题描述 投票:0回答:1

我正在尝试从 Taleo 编写一些候选字段的导出,但还需要包含用户定义的字段。

我尝试过以下方法:

    <ns1:query alias="Find Candidates" projectedClass="Candidate">
    <ns1:projections>
    <ns1:projection>
    <ns1:field path="Number"/>
    </ns1:projection>
    <ns1:projection>
    <ns1:field path="FirstName"/>
    </ns1:projection>
    <ns1:projection>
    <ns1:field path="LastName"/>
    </ns1:projection>
    <ns1:projection>
    <ns1:field path="EmployeeNumber"/>
    </ns1:projection>
    <ns1:projection>
    <ns1:field path="EmailAddress"/>
    </ns1:projection>
    <ns1:projection>
    <ns1:field path="UDFDefinition,CustomField:SR_Application_ID,Number"/>
    </ns1:projection>

从 UDFDefinitions 实体中,我正在查找的字段定义为:

            <e:Entity xsi:type="e:UDFDefinition">
               <e:Cardinality>1</e:Cardinality>
               <e:Description>
                  <e:value locale="en">SR Application ID</e:value>
               </e:Description>
               <e:ID>SR_Application_ID</e:ID>
               <e:Number>10700</e:Number>
               <e:OwnedUDS/>
               <e:Entity>CSUSER</e:Entity>
               <e:Type>
                  <e:UDFType>
                     <e:Number>3</e:Number>
                  </e:UDFType>
               </e:Type>
               <e:UDS/>
            </e:Entity>
xml export user-defined-functions taleo
1个回答
0
投票

这个问题的答案不多……所以经过反复试验,我自己找到了答案:

就像使用定义的名称一样简单:

<ns1:projection>
   <ns1:field path="SR_5fApplication_5fID"/>
</ns1:projection>
© www.soinside.com 2019 - 2024. All rights reserved.