Hello,
I'm wondering how I might go about ensuring all Document Libraries (either on a Site or Site Collection) contain a View with the same name, but otherwise identical to the library's default view.
Example:
- Document Library called "Research" has 'AllItems.aspx' as its default view.
- Provisioning automatically creates a new view--called 'SearchView.aspx'--using 'AllItems.aspx' as a template.
- 'SearchView.aspx' is "hidden" and, at the very least, can't be edited/deleted by end user.
Is this possible? I admit I'm not too familiar with features and provisioning. I've invoked them, so I know vaguely what they're capable of, and I feel like this might be within the realm of possibility.
The deal is I've run into a snag with the Search Service related to how it crawls content in Document Libraries. From my research, I've been able to deduce that the Search Service looks at either the default view or maybe all views for a library to gather the actual content.
See this thread for related information regarding the issue.