cancel
Showing results for 
Search instead for 
Did you mean: 

Backoffice referenceSearchCondition check for null value (WZ)

otavio_miguel
Discoverer
0 Kudos

In my object A's Create Wizard, I have a list of objects B, which has its field F that will usually not be filled (and so it stays null). So, in the list of objects B, I want to hide all the items that has this field F NOT null, and show only objects that has the field NULL.

I've tried:

...
<wz:editor-parameter>
    <wz:name>referenceSearchCondition_F</wz:name>
    <wz:value>null</wz:value>
</wz:editor-parameter>
...

and similars, replacing "null" by:

  • 'null'
  • 'NULL'
  • '{null}'
  • '{NULL}'
  • '{}'
  • '' (empty)

None worked. Is there any way to do it? If referenceSearchCondition can't give me this, is there any other standard method to use?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member634058
Active Participant
0 Kudos

Hi Otavio,

You can try the following and check if this works:

<wz:editor-parameter>
<wz:name>referenceSearchCondition_originalVersion</wz:name>
<wz:value>{parentObject.F == null}</wz:value>
</wz:editor-parameter>

Thanks.

otavio_miguel
Discoverer
0 Kudos

Hi Sumit, thanks for answering!

Unfortunately it didn't work. Is there any other option? I thought about a custom service to use in the editor-parameter, but i still did not found a way to it.