I have a Farm level feature that returns null when I try to access SPContect.Current.Site. Is another way to grab a list of site collections? I have access to SPFarm.Local
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
|
|||
|
|
|
Check this link... You need to get the web applications first then iterate through each web application's sites. Can't this be a web applicatiion feature? Why exactly would you make it a farm feature? |
|||
|