Create Filter in Account Module

Hello I am new in suitecrm.

Anybody knows how to create a filter programmatically in Account Module. Which request parameter we can pass?

Your question is not very clear, it would help to know which SuiteCRM version you’re running, and which view you want to filter.

Maybe this is what you’re looking for?

https://suitecrm.com/suitecrm/forum/suitecrm-7-0-discussion/19222-subpanels-cases#66668

Have attached screen that type of filter list edit/update/delete with programmatically.

https://photos.google.com/share/AF1QipNWXfcPyXoc8ErmsWgriYSP4sNwF7CdX1BFxG49D-eJhG-0nOhJzB-f19ziTdWCAw?key=QXJLR2ZHaEdNV2NKX3djQTZ1UDkwWDVIM1FFenln

I still don’t understand your requirement.

If you want to manipulate the list of filters available programmatically, maybe you can do it from the database.

First look at table user_preferences, and create a filter manually inside the app, to see the new row that comes up in that table (you can sort by date_modified to make it easier to find the newest entry).

Each row will have a user_id and some category like “global” or others. Learn which category the filter uses.

The filter data itself in in the “contents” field, decode it with Base64.

(you can try it manually here www.base64decode.org/)

Now you can try to recreate that sort of settings with some code (hopefully).

I am not 100% sure if this is where it is stored, but I think it is, please check.

Thank you for your reply…soon
Is there any API available for a Simple list of filter fetch?

I never heard of such an API, but that doesn’t mean it doesn’t exist… if you can find it.