• Rachita Jain 21
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi All,

We are overriding Opportunity tab with custom tab..so need to override "Create New View" functionality as well. Now when the user click on "Add Filter Logic " link to provide custom filter logic in the text box I am saving this text into custom field on custom object. By default if 5 rows are there then in the text box I am showing  "1 AND 2 AND 3 AND 4 AND 5"

Now user can modify this filter logic like below 
Possible combination could be:

1 AND 2 OR (3 AND 4 AND 5) -     correct 
(1 OR 2) AND (3 OR 4 OR 5)   -     correct
(1 OR 2)(3 4) -                                Incorrect
(1 OR (2 OR 3 AND 4 AND 5)  -     Incorrect

Any help on validating this custom logic before saving it to custom field would be appriciated?

Thanks !
  • June 30, 2016
  • Like
  • 0
How to implement custom filter logic in a visualforce page?
My custom page should look like the standard one. For example it has to support logic like (1 AND 2) or (3 AND 4) etc..
Is there any way to build. My page should look like the following (Standard one) ;)

User-added image