List get custom fields - only those set to visible in preference cente

I'm looking for a way to get the custom fields of a list but only those that are set to visible in the preference center.
Is this possible?

If not, is there a way to filter them out or some work around?

I could not find it in the documentation.

Thanks
Dieter

roshodgekiss roshodgekiss, 4 years ago

Hi dio5, not at present, I'm sorry to say. When you request custom fields for a given list, all custom fields are returned. Happy to add your vote for an extra attribute if it's something you would like to see in the future :)


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
dio5, 4 years ago

Hi roshodgekiss,

Thanks for getting back to me. Yes, I was aware of how to get the custom fields but as you mention it doesn't have the 'visible' attribute.

Would be a great addition!

Regards,
Dieter

roshodgekiss roshodgekiss, 4 years ago

Thanks, Dieter - I'll add your vote. Hopefully we'll add this in the future :D


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
jamesd jamesd, 4 years ago

Hey all,

Just a quick note to let you know that we've recently added the VisibleInPreferenceCenter field to custom fields.

We've also implemented the ability to set the preference center visibility when creating or updating a custom field.

A summary of all today's API updates is available over at our API Announcements forum topic.

Hope that helps.

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098