My Community
YourCause®
Impact Edge™
All-Star Lounge
Member Lounge (Just for Fun)
Community News
Community Manager
Groups
Browse Products
Members
Community All-Stars
Monthly Challenges
Member Search
Jobs Board
Help
Using the Blackbaud Community
Blackbaud Support
Knowledgebase
Blackbaud University
Discussions
Categories
Groups
Home
Blackbaud CRM™ and Blackbaud Internet Solutions™
Blackbaud CRM Developer Discussions
Is there any way to make constituent ID available in the extension form built for "Modeling and Propensity Attribute Edit Form 2"?
Kayes Kaykobad
Is there any way to make constituent ID available in the extension form built for "Modeling and Propensity Attribute Edit Form 2"?. The edit form extension only has attribute category code as a parameter. It neither has the Record ID nor the Constituent ID. The edit button itself is on the constituent's wealth and rating page.
Find more posts tagged with
Comments
Matt Hall
It looks like that edit form takes in "ATTRIBUTEKEY" as the context, which is a section field on the datalist. Not super-helpful since the datalist is CLR, so you can't see where the ATTRIBUTEKEY comes from, but looking at the actual value that gets passed in to the edit data form it appears to be the ID for the entry in the attribute table. In my case, I tested with an attribute that permitted more than one per record--so to get the constituent ID I'd need to go back to the database and retrieve the attribute row from the attribute table. That row will contain the constituent the attribute relates to. You'd need to do this with a custom-deployed stored procedure or some other means of calling back to the application server to translate the attribute ID to a constituent ID.
If the attribute is "one per record", I believe the ATTRIBUTEKEY would be the constituent's ID. So you'd need to be able to handle both cases.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of