Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
How to pass null value for LOV field in OIC mapper. How to remove tag from payload if its null — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to pass null value for LOV field in OIC mapper. How to remove tag from payload if its null

Received Response
16
Views
3
Comments

Summary:

How to pass null value for LOV field in OIC mapper. How to remove tag from payload if its null

Content (required): I am trying to update list of 9 DFFs via REST api in OIC. One of the DFF - DrawType is configured as LOV in the Fusion. The source file may or may not have value for this. Since its an lov, I am unable to send null value. So i added an if condition as below

 <nstrgdfl:drawType xml:id="id_266">

                <xsl:if xml:id="id_267" test="string-length (($CurPerson/nsmpr1:Record/nsmpr1:DrawType &gt; 0) )">

                   <xsl:value-of xml:id="id_268" select="$CurPerson/nsmpr1:Record/nsmpr1:DrawType"/>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!