Using sharepoint feature I need to overwrite the Itemstyle.xsl file. Since itemstyle content would be chagned frequently this option needed.
Can anyone help me out?
|
Using sharepoint feature I need to overwrite the Itemstyle.xsl file. Since itemstyle content would be chagned frequently this option needed. Can anyone help me out? |
|||
|
|
|
You need create a Module in Visual Studio in which you add your customized ItemStyle.xslt. In the Module's XML file you write the following; Example:
That should do the trick. Remember! If you change anything in this file using SharePoint designer, the ItemStyle.xslt will be removed from Site Definition, meaning you can no longer overwrite it by deploying your wsp. How ever you can reverse this by right-clicking on it in SharePoint Designer and choose "Reset to Site Definition". Hope this helps :) |
||||
|
|