Search code examples
sensenet

How to change content's default operation in sensenet


I'm trying to change the content's default operation in document library, such as word, excel, ppt, default is preview, I want to change to download, but I can't find the way, could you give me some suggestions?


Solution

  • Change the value of the ActionName attribute to 'Browse' in /Root/System/SystemPlugins/ListView/Templates/ListView.xslt Unfortunately ListViews are not automatically regenerated after the template modification, so to see the changes on the ui you have to save all the related ListViews again (go to Views folder under the related doclibs open the .ascx files for edit and without any modification save them).