function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kenneth WangKenneth Wang 

How to fetch Filter Criteria under Roll-Up Summary Options?

I have created an rollup field, and added some Filter Criteria under its Roll-Up Summary Options tab. But I can't find the Filter Criteria in the Custom Field's metadata object through the Tooling API. Would you please let me know how to get it?
Mahesh DMahesh D
Hi Kenneth,

You can try using the summaryFilterItems.
        <label>Objetivo Año Actual</label>

Check the below links:

Please do let me know if it helps you.

Roy LuoRoy Luo

Have you ever figured it out? I am in the same boat now. Somehow the customfield metadata only has summarizedField,, summaryForeignKey and summaryOperation and sadly lacks summaryFilterItems, while the sfdc document says summaryFilterItems is included, 

Roy LuoRoy Luo
I opened a support case a few days and SFDC confirmed it is a bug. Here is the issue page:

I was told the dev team is working on this issue and it should be fixed soon, but no ETA yet.