Creating a Custom Donation Form in BBNC
Options
Hi All,
I am working on creating a custom donation form and designation search in BBNC. Hoever, I found documentation that is geared towards BBIS. Is it safe to move foward with the REST API and JavaScript SDK found here: http://developer.blackbaud.com/bbis/reference/javascript/ ?
If so, can we manually enter in the part id for the donation part? Has anyone been able to sucessfully submit a donation using the JavaScript SDK in BBNC?
Any insight would be greatly appreciated!!
Thanks!
Mike
I am working on creating a custom donation form and designation search in BBNC. Hoever, I found documentation that is geared towards BBIS. Is it safe to move foward with the REST API and JavaScript SDK found here: http://developer.blackbaud.com/bbis/reference/javascript/ ?
If so, can we manually enter in the part id for the donation part? Has anyone been able to sucessfully submit a donation using the JavaScript SDK in BBNC?
Any insight would be greatly appreciated!!
Thanks!
Mike
Tagged:
2
Comments
-
Hello Michael,
Are you a hosted or self-hosted client? NetCommunity has only a small portion of it's API exposed, specifically acessing image information and creating users. However, you can use JS within an unformatted text part and try to work some magic. If you can explain in detail what you're attemping with an example, I'm happy to assist further.
Chris0 -
Hi Chris!
We are a hosted client. We are trying to create a type-ahead search for our funds like the one found on this page:https://twitter.github.io/typeahead.js/
The problem here is that we cannot determine the GUID for each of our Fund Designations. I thought of adding values to the drop-down via JavaScript, but the value of each option in the <select> element is different from the Fund ID in Raiser's Edge.
I did find this code snippet: BLACKBAUD.netcommunity.Cart.AddDonationToCart(amount, designationID, description);
Do you think that this is something we could use? If so, the user can select the designation that they would like and we could use an onclick() event to add the donation before the form is submitted.
Here is our current giving page:https://alumniandfriends.stonybrook.edu/campaign-for-stony-brook-giving-page
As you can see, I have encorporated a giving search, but using this search causes the page to refresh. We would like the search and donation process to be as seamless as possible.
Any insight you could provide would be greatly appreciated!
Thank you,
Michael0 -
Hello Michael,
I'm not sure about the code snippet you found, that could possibly work although my methods have always been a little more hacky considering the limitations of NetCommunity.
I do have one idea. What if you were to create a new page with a blank layout and your search part? You could create an iframe that would show only the seach box, and upon submission, you could have the search results in the iframe. Then, since you wont have to wory about CORS because you're not doing anything cross-domain, you should be able to access the results in the iframe, grab the link that updates the designation and then reload the current page. You could even have the donation form and search both in iframes and update the donation frame once the correct designation is clicked.
You can target items within an iframe (on the same domain).
Example: var x = $('iframe').contents().find('#link').attr('href');
If you're not understanding what I mean, I can provide a better example. Also, the following may prove useful. NetCommunity utilizes ASPNET Postbacks similarly to how AJAX requests work. The downside with postsbacks is that you cannot carry over URL paramters or other custom info upon a postback. You can set localstorage values, but this is super hacky. You can however work with postbacks and selectively submit them. I'm not sure how useful this is to you, but using JS, you can also target a postback directly rather than using onclick.
Here is a custom function to recognize Postbacks:
(function ($)
{
$.fn.extend({
postback: function ()
{
return this.each(function ()
{
if (this && "undefined" != typeof this.click)
this.click();
else if (this && this.tagName.toLowerCase() == "a" && this.href.indexOf('javascript:') == 0)
eval(this.href.toString().replace('javascript:', ''));
});
}
});
})(jQuery);
Then, you can target a postback like so (I'm using jQuery btw)...
$(document).ready(function() {
$('[id$="PC2351_btn_Next"]').postback();
});
Hope some of this information is useful, I have some other tricks but I'm hoping this can help solve your problem.
Chris
0 -
I was thinking about adding an iframe! Thank you so much. I will let you know how it goes!0
-
Hi Michael,
If you are looking to create a designation, or RE fund, search so the user can search for the fund they want to give to and then donate this is possible using a part called "Giving Search", you can see details in our user guides.
You can add search criteria from RE and also a query if the funds you want them to search on. You can also add the donation page you want them to be directed to after they choose a fund, screen shot here of the settings.
As an example here is a short video in my sample of how it works. Let me know if you have an questions.
David
0 -
Thank you David. I am familiar with the Giving Search part, however, we are looking to incorporate the search along with a donation part.
Here's an example of the type-ahead search functionality that we would like to use: https://www.myiu.org/recurring-gift
Notice how you are able to continute to search and add funds to your donation. The dream scenario would be to have a form that included the following elements all on one page:
1. Giving Levels (including "Other")
2. Fund Designation Drop-down
3. Fund Designation Search
Is this possible?
Thanks,
Mike
0 -
Hi Michael,
the page you referenced does share of the same core code with BBNC, buts its a software called Blackbaud CRM and is highly customizable with forms. NetCommunity sadly would not be able to accomplish that exact feature but you can iframe using the giving search, or similar workflow.
Most BBNC organization do start users in another area and then the land on the donation form with the fund completed like the Giving search part. Some want users to navigate to others pages and then make a choice. You can append the fund name to the URL and place it in the other field, unlike the search part where the GUID would have to known. With JS you can append items in the URL that NetCommunity can interpret if API is enabled
I will send you some examples of other NetCommunity sites.0 -
How would one append the fund name to the URL? What would a URL look like?0
-
It looks something like this:
https://alumniandfriends.stonybrook.edu/campaign-for-stony-brook-giving-page?fid=U82EkR4p2kc=&fdesc=Upv6ihF9W1b8vELAHCPeOEcYnJHsiahU/RMk3v8jnsI=
I obtained each of the Fund IDs using a Giving Search part and copying the results to a text editor. Then, I copied the links to a separate file using Regular Expressions.0 -
The giving page is live! Here is the final product: https://alumniandfriends.stonybrook.edu/campaign-for-stony-brook-giving-page
Comments and feedback are welcome and encouraged!
Thanks,
Mike2 -
Looks awesome! Great use of the fullscreen img background. I would add a bottom margin to the form though since there is no footer. Also, I would make the payment part of the form wider. Besides that, really looks good!
CM2
Categories
- All Categories
- Shannon parent
- shannon 2
- shannon 1
- 21 Advocacy DC Users Group
- 14 BBCRM PAG Discussions
- 89 High Education Program Advisory Group (HE PAG)
- 28 Luminate CRM DC Users Group
- 8 DC Luminate CRM Users Group
- Luminate PAG
- 5.9K Blackbaud Altru®
- 58 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 409 bbcon®
- 2.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- donorCentrics®
- 1.1K Blackbaud eTapestry®
- 2.8K Blackbaud Financial Edge NXT®
- 1.1K Blackbaud Grantmaking™
- 527 Education Management Solutions for Higher Education
- 1 JustGiving® from Blackbaud®
- 4.6K Education Management Solutions for K-12 Schools
- Blackbaud Luminate Online & Blackbaud TeamRaiser
- 16.4K Blackbaud Raiser's Edge NXT®
- 4.1K SKY Developer
- 547 ResearchPoint™
- 151 Blackbaud Tuition Management™
- 1 YourCause® from Blackbaud®
- 61 everydayhero
- 3 Campaign Ideas
- 58 General Discussion
- 115 Blackbaud ID
- 87 K-12 Blackbaud ID
- 6 Admin Console
- 949 Organizational Best Practices
- 353 The Tap (Just for Fun)
- 235 Blackbaud Community Feedback Forum
- 55 Admissions Event Management EAP
- 18 MobilePay Terminal + BBID Canada EAP
- 36 EAP for New Email Campaigns Experience in Blackbaud Luminate Online®
- 109 EAP for 360 Student Profile in Blackbaud Student Information System
- 41 EAP for Assessment Builder in Blackbaud Learning Management System™
- 9 Technical Preview for SKY API for Blackbaud CRM™ and Blackbaud Altru®
- 55 Community Advisory Group
- 46 Blackbaud Community Ideas
- 26 Blackbaud Community Challenges
- 7 Security Testing Forum
- 1.1K ARCHIVED FORUMS | Inactive and/or Completed EAPs
- 3 Blackbaud Staff Discussions
- 7.7K ARCHIVED FORUM CATEGORY [ID 304]
- 1 Blackbaud Partners Discussions
- 1 Blackbaud Giving Search™
- 35 EAP Student Assignment Details and Assignment Center
- 39 EAP Core - Roles and Tasks
- 59 Blackbaud Community All-Stars Discussions
- 20 Blackbaud Raiser's Edge NXT® Online Giving EAP
- Diocesan Blackbaud Raiser’s Edge NXT® User’s Group
- 2 Blackbaud Consultant’s Community
- 43 End of Term Grade Entry EAP
- 92 EAP for Query in Blackbaud Raiser's Edge NXT®
- 38 Standard Reports for Blackbaud Raiser's Edge NXT® EAP
- 12 Payments Assistant for Blackbaud Financial Edge NXT® EAP
- 6 Ask an All Star (Austen Brown)
- 8 Ask an All-Star Alex Wong (Blackbaud Raiser's Edge NXT®)
- 1 Ask an All-Star Alex Wong (Blackbaud Financial Edge NXT®)
- 6 Ask an All-Star (Christine Robertson)
- 21 Ask an Expert (Anthony Gallo)
- Blackbaud Francophone Group
- 22 Ask an Expert (David Springer)
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 6 Ask an All-Star Sunshine Reinken Watson and Carlene Johnson
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 14 Ask an All-Star (Elizabeth Johnson)
- 7 Ask an Expert (Stephen Churchill)
- 2025 ARCHIVED FORUM POSTS
- 322 ARCHIVED | Financial Edge® Tips and Tricks
- 164 ARCHIVED | Raiser's Edge® Blog
- 300 ARCHIVED | Raiser's Edge® Blog
- 441 ARCHIVED | Blackbaud Altru® Tips and Tricks
- 66 ARCHIVED | Blackbaud NetCommunity™ Blog
- 211 ARCHIVED | Blackbaud Target Analytics® Tips and Tricks
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- Luminate CRM DC Users Group
- 225 ARCHIVED | Blackbaud eTapestry® Tips and Tricks
- 1 Blackbaud eTapestry® Know How Blog
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- 1 Blackbaud K-12 Education Solutions™ Blog
- 280 ARCHIVED | Mixed Community Announcements
- 3 ARCHIVED | Blackbaud Corporations™ & Blackbaud Foundations™ Hosting Status
- 1 npEngage
- 24 ARCHIVED | K-12 Announcements
- 15 ARCHIVED | FIMS Host*Net Hosting Status
- 23 ARCHIVED | Blackbaud Outcomes & Online Applications (IGAM) Hosting Status
- 22 ARCHIVED | Blackbaud DonorCentral Hosting Status
- 14 ARCHIVED | Blackbaud Grantmaking™ UK Hosting Status
- 117 ARCHIVED | Blackbaud CRM™ and Blackbaud Internet Solutions™ Announcements
- 50 Blackbaud NetCommunity™ Blog
- 169 ARCHIVED | Blackbaud Grantmaking™ Tips and Tricks
- Advocacy DC Users Group
- 718 Community News
- Blackbaud Altru® Hosting Status
- 104 ARCHIVED | Member Spotlight
- 145 ARCHIVED | Hosting Blog
- 149 JustGiving® from Blackbaud® Blog
- 97 ARCHIVED | bbcon® Blogs
- 19 ARCHIVED | Blackbaud Luminate CRM™ Announcements
- 161 Luminate Advocacy News
- 187 Organizational Best Practices Blog
- 67 everydayhero Blog
- 52 Blackbaud SKY® Reporting Announcements
- 17 ARCHIVED | Blackbaud SKY® Reporting for K-12 Announcements
- 3 Luminate Online Product Advisory Group (LO PAG)
- 81 ARCHIVED | JustGiving® from Blackbaud® Tips and Tricks
- 1 ARCHIVED | K-12 Conference Blog
- Blackbaud Church Management™ Announcements
- ARCHIVED | Blackbaud Award Management™ and Blackbaud Stewardship Management™ Announcements
- 1 Blackbaud Peer-to-Peer Fundraising™, Powered by JustGiving® Blogs
- 39 Tips, Tricks, and Timesavers!
- 56 Blackbaud Church Management™ Resources
- 154 Blackbaud Church Management™ Announcements
- 1 ARCHIVED | Blackbaud Church Management™ Tips and Tricks
- 11 ARCHIVED | Blackbaud Higher Education Solutions™ Announcements
- 7 ARCHIVED | Blackbaud Guided Fundraising™ Blog
- 2 Blackbaud Fundraiser Performance Management™ Blog
- 9 Foundations Events and Content
- 14 ARCHIVED | Blog Posts
- 2 ARCHIVED | Blackbaud FIMS™ Announcement and Tips
- 59 Blackbaud Partner Announcements
- 10 ARCHIVED | Blackbaud Impact Edge™ EAP Blogs
- 1 Community Help Blogs
- Diocesan Blackbaud Raiser’s Edge NXT® Users' Group
- Blackbaud Consultant’s Community
- Blackbaud Francophone Group
- 1 BLOG ARCHIVE CATEGORY
- Blackbaud Community™ Discussions
- 8.3K Blackbaud Luminate Online® & Blackbaud TeamRaiser® Discussions
- 5.7K Jobs Board