Making a Custom Global Change--with Images!

Options
Hi, so I'm trying to make a Custom Global Change--well, modify one, rather. Below I have the GUI for the global change, and I want to add Start Date and End Date fields to it.



http://i.imgur.com/vcm2gvT.png



I'm a bit new to this so it took a while, so I managed to find the and modify the old code and add the fields. Great. So when I uploaded to the server....they didn't appear. So I double checked, fixed some bugs, and after a few hours of wracking my head I narrowed it down to this issue.



[WebUIComponent]


[UIModel AssemblyName="Blackbaud.AppFx.Constituent.UIModel.dll" ClassName="Blackbaud.AppFx.Constituent.UIModel.AddConstituentAttributeUIModel" />]


[WebUI]


[ExternalResource Url="browser/htmlforms/custom/AddConstituentAttributeWithDate.html" /]


[/WebUI]


[/WebUIComponent]



(Yes, yes, replace the brackets with arrows, since apparently HTML doesn't work too well with these forums).



If I delete the tag line, apparently I get the below.



http://i.imgur.com/f1yJ1ci.png



Hey, what do you know, the Start Date and End Date fields appear! Along with....everything else that's not supposed to appear. The other fields appear depending on the Category that is chosen. Great. So...began my long and horrible journey of trying to find someway to copy and modify Blackbaud.AppFx.Constituent.UIModel.dll. I couldn't find any way--I even tried decompiling the damn thing. I restarted the computer. I asked my boss. I took a lunch break. I kicked the tower. I prayed to Jesus. The way I see it, I had several logical options left.



1) Creating my own UIModel using the UI Model Wizard. Did that, generated a bunch of files annnnnnd...ended up with the second screen.



2) Recreating the whole thing from scratch. Oh Gods, please tell me this isn't the answer. I have no idea how to create their GUI.



3) Asking you guys. Seems like a reliable option. I've tried Googling but the only thing that came up was this one forum post from four years ago that's left unanswered: http://www.bbdevnetwork.com/qa/3081/c....



...hell, am I even in the right forums?



4) Calling Blackbaud and asking for the source code for that dll. I have a good feeling they will say "Ha ha no."



5) Plead guilty to my boss.



Any tips?
Tagged:

Categories