The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Custom Fields

Highlighted
New Member

Custom Fields

Last December we ran we're able to retrieve custom fields via API using PHP-SDK v1.0.  We created the custom fields on the GUI and we they're labeled Gender, Birth Year, etc.  And we were able to access them via API by using the name CustomField1 (mapped to Gender), CustomField2 (mapped to Birth Year). Everything worked well.

But just recently, on a new account, we created new custom fields using the same labels, Gender, Birth Year. But the same script that we used before is no longer working. And it seems that custom fields that do not use the names "Custom Field n" cannot be retrieved at all by the API. Why is this so?

7 REPLIES 7
Highlighted
Honored Contributor

Re: Custom Fields

Hello,

 

I have personally been researching this issue yesterday and an issue has come up where the renaming of custom fields breaks the ability to have this mapping. Instead of being mapped to the renamed field, the system will currently create a new field called Custom Field N.

 

The details of what is happening have been written up in detail and we are currently working on organizing our priorities so that we can get this issue worked on and resolved. I do want to note that the issue will not break accounts whose custom fields are already set up, as long as those fields are not renamed.

 

If you have any questions for me, please reply to this post!

 

Sincerely,

Elijah G.
API Support Engineer
Highlighted
New Member

Re: Custom Fields

Hi Elijah.

 

How is it going with the issue? I am currently about to develop a sync script, which depends on receiving these custom fields from the API.

 

Best regards,

Kristoffer Clasen.

Highlighted
Honored Contributor

Re: Custom Fields

Hi Kristoffer,

 

While it is possible to sync Custom Fields with the API, it is still only possible to sync fields that are specifically named "Custom Field N" where N is a number from 1-15. There was previously a work-around where the fields could be created and later renamed, but that is unfortunately not possible currently.

 

If you have any questions about the above, please let me know and I will be happy to help!

 

Sincerely,

Elijah G.
API Support Engineer
Highlighted
New Member

Re: Custom Fields

Hi Elijah.

 

Thank for your very quick response.

 

I hope it will be possible some day to use the API for at least as much as the GUI.

 

Best regards,

Kristoffer

Highlighted
Honored Contributor

Re: Custom Fields

Hi Kristoffer,

 

Thank you for your feedback on this! Our long-term vision for our API is to keep moving towards parity with the capabilities that are present in our UI. While full support for custom fields is high on the priority list for new feature to be supported in the API, I don't yet have the ability to give any kind of a time-frame for when it can be expected.

 

One way that you can make sure to stay on top of any news about new features in the API is to watch out Tech Blog and/or subscribe to our developer newsletter. You can do both of those things at http://techblog.constantcontact.com/.

 

Regards,

Elijah G.
API Support Engineer
Highlighted
Occasional Contributor

Re: Custom Fields

If I could add my related request here, it would be tremendously helpful if third-party systems that connect through the CC API could add HIDDEN custom properties. It appears whatever custom_field_n property we add is visible and changeable by the user in the CC GUI. This poses a real problem for us trying to keep contacts between our system and CC's system in sync.

Highlighted
Honored Contributor

Re: Custom Fields

Thanks for the feedback on this! I've done some checking around and this isn't currently on the list of planned features and would be challenging to implement in the current V2 API. Having said that, this is something that we can consider when we're doing design work around custom fields for the next major version of the API.

 

Sincerely,

Elijah G.
API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured