Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Search function in Predefined filter

Avatar

Avatar
Validate 1
Level 2
tejashriw155148
Level 2

Likes

12 likes

Total Posts

70 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Validate 1
Level 2
tejashriw155148
Level 2

Likes

12 likes

Total Posts

70 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
tejashriw155148
Level 2

07-04-2020

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:

tejashriw155148_0-1586264109355.png

 

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:

tejashriw155148_1-1586264109359.png

 

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

Please suggest me.

Thanks,

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 1
Employee
Ismaël_Fofana
Employee

Likes

0 likes

Total Posts

1 post

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Employee
Ismaël_Fofana
Employee

Likes

0 likes

Total Posts

1 post

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Ismaël_Fofana
Employee

27-04-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

Answers (0)