Search function in Predefined filter | Community
Skip to main content
tejashriw155148
Level 4
April 7, 2020
Solved

Search function in Predefined filter

  • April 7, 2020
  • 1 reply
  • 2503 views

Hi,

I have added partId field in predefined filter but search function is not working as expected.

When I select filter name or email from list of filters its showing only those records where partId is equal to zero whereas I want all the records of partId.

 

Below is the logic which I have added in the predefine filter:

Logic in general tab:

 

Logic in Form tab:

<form maxLabelWidth="300">
<enter>
    <set value="0" xpath="@partyPartId"/>
  </enter>
  <container colcount="3">
    <input noTransaction="true" xpath="@lastName"/>
    <input noTransaction="true" xpath="@email"/>
    <input label="PartId" minValue="0" noTransaction="true" type="number" xpath="@partyPartId"/>
  </container>
</form>

Here how the output is coming:

 

Here instead of only zero partId how the all records will come?

Please suggest me.

Thanks,

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by fofana

Hi,

 

As the partyPartId field is a numeric field, I think you should  enter the following script in the "Taken into account if" field :

$(@partyPartId)!=0

1 reply

fofanaAdobe EmployeeAccepted solution
Adobe Employee
April 27, 2020

Hi,

 

As the partyPartId field is a numeric field, I think you should  enter the following script in the "Taken into account if" field :

$(@partyPartId)!=0