I have a requirement to update the Display Template for a given content type, I do understand that Display template can be deployed and published through "Feature activation".

However, I see that New-SPEnterpriseSearchResultItemType is the only way to create a Result Item Type.

I want to put everything under the "Feature activation". How do I create a SharePoint Search Result Item Type programmatically?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.