2428565 - API: Custom fields are not getting updated in panels

SAP Knowledge Base Article - Public

2428565 - API: Custom fields are not getting updated in panels

Symptom

We are unable to populate the custom fields in the panel when the user is created using API. 

 

 

Resolution

You will have the below code in the HRXML.ImportNewHire.xslt file.

All the custom fileds are prefixed with 'CustomField.' and you cannot speicfy a key in panel with this . example : CustomField.NickName.

So to fix this issue, removing the code <xsl:text>CustomField.</xsl:text> from the below code.

Save and reupload the HRXML.ImportNewHire.xslt file

 

<xsl:for-each select="/hrxml:NewHire/hrxml:UserArea/xpresshr:CustomField">
<xsl:call-template name="item">
<xsl:with-param name="key">
<xsl:text>CustomField.</xsl:text>
<xsl:value-of select="./@name" />
</xsl:with-param>
<xsl:with-param name="value">
<xsl:value-of select="./@value" />
</xsl:with-param>
</xsl:call-template>
</xsl:for-each>

Keywords

KBA , LOD-SF-OBD-API , Webservices & API's , Problem

Product

SAP SuccessFactors HCM Core 1611