XML documentation error
Brian Gray
Community All-Star
The School API documentation for School.Model.RelationshipRead.Contact describes the returned value incorrectly. See attached image 001. The tooltip is shown by SKYLib. They said that the tool-tip comes directly from a Blackbaud file.
The documentation says that Contact "Returns True if No Contact is enabled in the UI." My testing shows that it returns FALSE if "No Contact" is enabled. Given the name of the field in the UI and the name of the field in the API, I believe that the return value is correct and the description in the XML file is incorrect.
These screenshots come from a test program that uses SKYLib. Protégé says that the tool-tip text is coming from a XML file produced by Blackbaud.



The documentation says that Contact "Returns True if No Contact is enabled in the UI." My testing shows that it returns FALSE if "No Contact" is enabled. Given the name of the field in the UI and the name of the field in the API, I believe that the return value is correct and the description in the XML file is incorrect.
These screenshots come from a test program that uses SKYLib. Protégé says that the tool-tip text is coming from a XML file produced by Blackbaud.



1
Comments
-
Hi Brian,
Our product manager and developers are taking at closer look at this. We'll reply back to this thread when we have more info.
Thanks,
Bryna Gleich0 -
Hi all,
Can anyone post here who would find it a problem to flip this TRUE/FALSE flag on or soon after 3/31? We are researching the usage and impact of this endpoint.
Thanks for weighing in,
Janet Wittenberg
Senior Product Manager, K120 -
Please clarify - are you proposing to change the value that is returned or to change the wording of the documentation?
If you are proposing to change the documentation to correctly reflect what is returned, there should be no breaking change.
If you are proposing to change the value returned, then the result would be that a field named "Contact" would be true when the relationship is marked as "No contact". This would make no sense at all.1 -
Hi Janet.
Further to Brian´s comments, he's right; changing the documentation only doesn't break any API functionality.
However, I question the fact that the UI and the API have opposite "polarity" for this flag. The API really should be a no_contact flag rather than a contact flag for consistency with the UI.
If you went down this track - and you could because the School API is still in beta - you would obviously create a breaking change. Another option is to add a no_contact property and retain contact as a deprecated property for a while before removing it.
Cheers,
Steve Cinquegrana | CEO and Principal Developer | Protégé Solutions
0 -
Thank you both for clarifying. So even though it is awkward that the API doesn't match the UI, the API is much clearer, and the UI, well, won't be changed at this time.
So do we all agree that the best thing to do is
-Keep the API column as 'Contact'
-keep True and False values as they are returned today
-Fix the documentation
"contact": {
"description": "Returns True if No Contact is enabled in the UI. the user can be contacted. Returns False if the user is marked as 'No Contact' in the UI. If enabled, the user cannot be contacted by the queried user",
"type": "boolean"
2 -
I thank your revised language in the documentation has i right. Releasing that change should not cause any problem.
Thanks.2 -
Yep, just fixing the doco is easiest/simplest.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 206 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 357 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 561 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.6K SKY Developer
- 242 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) 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
- 778 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)

