NewPath-Consulting / warm

Pro Reports for Wild Apricot is a Google Data Studio connector that helps Wild Apricot administrators understand your organization’s membership engagement, renewal rates, and demographics. Trend your revenue and get expense analyses. Whatever your question, enjoy all the organized data you need at your fingertips to make the business decisions want.
https://newpathconsulting.com/warm
GNU General Public License v3.0
6 stars 4 forks source link

Add a configuration parameter for contacts & custom fields to eliminate archived records/include members only #27

Closed asirota closed 4 years ago

asirota commented 4 years ago

Add a checkbox to include archived records during the data source configuration for Contacts & Contact custom fields. This is set in isArchived boolean field and can be filtered with $filter in the API call.

Only for Contacts and Contacts custom fields endpoints Name of checkbox: Include Archived contacts Default value: off

asirota commented 4 years ago

Also provide a checkbox to include members only. This can be evaluated by checking Member = true using $filter

Only for Contacts and Contacts custom fields endpoints Name of checkbox: Include Members only Default value: on

asirota commented 4 years ago

Both of these checkboxes should only appear when Contacts or Contacts custom fields endpoint is selected.

asirota commented 4 years ago

Looks like it is impossible to set a default value in the code.

asirota commented 4 years ago

These don't seem to be being set correctly for the Contact custom field object. They are being ignored.

miasmos commented 4 years ago

Implementation differs from the above per our discussion: Include archived contacts should include them when checked and otherwise exclude them.

asirota commented 4 years ago

That's correct @stephenpoole - you have the right implementation now, include archive records with the regular records if the Include Archived contacts checkbox is checked, otherwise exclude archived records, which is the default state