Showing posts with label feature. Show all posts
Showing posts with label feature. Show all posts
Thursday, 21 October 2010
Wednesday, 11 August 2010
SharePoint 2010 feature receiver not working
Problem: Feature receiver is not firing.
Hypothesis: It's hard to debug feature receivers but it can be setup, however my feature receiver was never getting called. Implemntation via VS2010 must be wrong.
Resolution: I created a new feature and added a feature receiver, this was working. The screen shot below shows the differnce in my features that was cause when I renamed the feature.
Thursday, 15 July 2010
Deploying resources using features
Overview: Feature deployment has changed in SP2010 from MOSS. In MOSS we added files to the 12 hive and deployed them via a feature. In SP2010 the feature is package slightly differently and is marginally easier to create using VS2010 because of the tools. I have VS2010 and the CKSDev tools installed.

5.> Ensure the itemStyleCustom.xsl exists in the Xsl Style library.
Steps to add an xslt file to your style library using a feature in SP2010:
1.> In VS2010 create a new Element;
2.> Under the element add and xslt, change the "Deployment Type" property;
3.> Move the elements to "Items in the Feature" default is "Items in the Solution";
4.> Modify the elements.xml file;

5.> Ensure the itemStyleCustom.xsl exists in the Xsl Style library.

Labels:
elements,
feature,
features,
SP2010,
style library,
visual studio 2010,
xslt
Subscribe to:
Posts (Atom)