Archive for March 2011
There are a few postings out there that explain how to subclass the core results web part for SharePoint to add your own functionality. Those work great…until you try to use them with FAST for SharePoint. For some reason they just do not seem to work. After much pounding of head against desk and then using .Net Reflector I figured out that there are two variables that need to be set.
base.ShowActionLinks = false; //This tells the code it is a results web part and not an action links web part
base.bForceOnInit = false; //Not quite sure why this is needed, MS has it marked as internal use only but it was the only way I could get the web part to work
Hope this helps others and if anyone can explain the “bForceOnInit” variable I would appreciate it