PATCH Constituent Custom Fields?
I realize that the documentation limits PATCH requests to a certain number of fields, but I'm curious if there's a workaround to fields like religion,hubspot_id, etc.
Thanks!
Comments
-
Hi Filipp,
If you mean you want to edit an existing Constituent Custom Field - as in one on a Constituent, not the Custom Field itself - then I believe you can use the PATCH Constituent Custom Field endpoint to do so. However, as you say, you're limited in what you can do.
For example, you can't change the Type of the field from, say, Date to Text or Boolean to Number.
So if you had a Custom Field such as
Id: 2345
Parent Id: 280
Category: Current Board Member
Type: Boolean
Value: True
Date: 2020-01-01 00:00:00
Comment: Previously a member of XYZ's board.
Date Added: 2020-01-01T13:14:15
Date Modified: 2020-01-01T13:14:15
then only the fields in blue can be changed (and the field in orange is updated automatically).
In your question you mention changing particular Custom Fields such as Religion and HubSpot ID but I expect that these are probably categories that have been set up in your own environment. If you wanted to change these for a particular Constituent - eg change Religion to Divine Affiliation - you would either have to delete Religion and add Divine Affiliation if it already exists as a category, or, if you were looking to replace the Religion category with Divine Affiliation globally, you would need to rename the Custom Field Category from "Religion" to "Divine Affiliation" which would change this on all records with a Religion Custom Field. (You would restricted on what else could be changed.)
I hope that helps.
Steve Cinquegrana | CEO and Principal Developer | Protégé Solutions
0 -
Steven Cinquegrana:
Hi Filipp,
If you mean you want to edit an existing Constituent Custom Field - as in one on a Constituent, not the Custom Field itself - then I believe you can use the PATCH Constituent Custom Field endpoint to do so. However, as you say, you're limited in what you can do.
For example, you can't change the Type of the field from, say, Date to Text or Boolean to Number.
So if you had a Custom Field such as
Id: 2345
Parent Id: 280
Category: Current Board Member
Type: Boolean
Value: True
Date: 2020-01-01 00:00:00
Comment: Previously a member of XYZ's board.
Date Added: 2020-01-01T13:14:15
Date Modified: 2020-01-01T13:14:15
then only the fields in blue can be changed (and the field in orange is updated automatically).
In your question you mention changing particular Custom Fields such as Religion and HubSpot ID but I expect that these are probably categories that have been set up in your own environment. If you wanted to change these for a particular Constituent - eg change Religion to Divine Affiliation - you would either have to delete Religion and add Divine Affiliation if it already exists as a category, or, if you were looking to replace the Religion category with Divine Affiliation globally, you would need to rename the Custom Field Category from "Religion" to "Divine Affiliation" which would change this on all records with a Religion Custom Field. (You would restricted on what else could be changed.)
I hope that helps.
Steve Cinquegrana | CEO and Principal Developer | Protégé Solutions
Hi Steve, thanks for your input. In this particular instance, "Religion" is a custom field that I have created for a constituent in Raiser's Edge, and the goal of this project is to be able to modify the value of that custom field for a given constituent using an API call. Am I able to do that through a patch request?
0 -
0
-
Thanks again for your help Steve - but I'm still a little lost. How do I identify in the PATCH call which constituent I want the field to be updated for?0
-
You'll need to get the list of Custom Fields per the Constituent you're interested in then use the Custom Field ID to pass in the PATCH call.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 398 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 652 Blackbaud Grantmaking™
- 571 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 939 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.6K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 The Tap (Just for Fun)
- 34 Blackbaud Community Challenges
- 34 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 788 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)