1

I'm trying to present data from a list in a more beautiful fashion using a Content Query Web Part and an XSL style sheet.

I found some instructions on this page, which seem pretty simple, but they require SharePoint Designer in order to edit the ItemStyle.xsl file and insert my own style. At my work, I'm not allowed to use SharePoint Designer.

Is there a way to edit this file or otherwise specify a custom XSL to use without using SharePoint Designer?

2 Answers 2

0

You can use Map Network Drive feature - from there on you can use any IDE you want. The process differs depending whether you are connection to Sharepoint Online(Office 365) or On-prem. See this links below:

6
  • We have on-prem SharePoint. I tried mapping my sub-site to my drive, but I merely see my own site contents; it doesn't provide access to the style sheets I'm wanting to edit. I tried mapping the parent site to my machine, but I see nothing in the folder. Jun 15, 2015 at 14:32
  • Add <URL>/_catalogs/masterpage at the end when you're adding new network drive connection. Also, try Show Hidden Files/Folders from Folder Options in Explorer. Hope it helps. Let us know. Jun 15, 2015 at 14:47
  • Also. check using browser (navigate to site) and verify that there is indeed Styles Library - Publishing Feature must be activated to see this. Jun 15, 2015 at 14:53
  • I'm not sure how to check the presence of a Styles Library. Unfortunately on the root site, I have limited permissions. Your suggestion of adding /_catalogs/masterpage to the end of the URL has certainly provided access to a lot of additional files. I've mapped the root site using this URL, but sadly no ItemStyle.xsl file exists. In fact, there is only one XSL file: ServerRenderTemplate.xsl. Jun 16, 2015 at 8:26
  • @Duncan You can manually download, edit and upload the xsl file to style library. But if you have limited access that not seeing the directory, then you possibly can't override it either.
    – YogaPanda
    Nov 19, 2016 at 15:13
0

Not sure if this applies to SP2013, it is for SP2010

If you are only showing a single list you can also use a "normal" list view webpart (XLV). In the settings there is an option to define an XSL-link in the misc. tab.

There are lots of guides about customizing XSL of an XLV.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.