Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
1 answer
281 views

customize list view web part using custom xslt in SharePoint Online

Inside our SharePoint 2010 we do some list view modifications using XSLT, similar to the one described in this link @ https://mundrisoft.com/tech-bytes/how-to-customize-list-view-web-part-using-custom-...
John John's user avatar
0 votes
1 answer
121 views

How to modify XSLT in customised ItemStyle.xsl to display more than one image in a CQWP

Thank you for taking the time to read my question. I'm customizing a SP2013 CQWP. I've exported and amended it to connect to CustomItemStyle.xsl, and reimported it. I can access all the fields I ...
NCCadm's user avatar
  • 140
1 vote
0 answers
238 views

Sum Multiple items if condition met

This is a document library. I'm trying to have calculations in two fields (Year 1 Total and Year Order Complete). I'm trying to use the condition "When Team = Axis Deer or Some Other Choice and ...
Frank Collazo's user avatar
0 votes
2 answers
225 views

PDF document Icons missing in XSLT webpart

In one of the page in where i've XSLT webpart which will populate the documents from the library and show it in table format. Now the issue here is , the icons of the document are not populating ...
Jegan Baskaran's user avatar
0 votes
1 answer
343 views

How can I set lookup values to a XSLT variable and call the variable to display according to condition?

I am trying to declare a variable and set the xsl:value-of lookup column and later compare the stored value using conditions. I am facing issues while declaring and calling variables. This I am using ...
Bibhudutta Bhanja's user avatar
1 vote
0 answers
26 views

Hyperlink in External List webpart isn't working

So I was able to add <a> <xsl:attribute name="href">....</xsl:attribute>View</a> in my xslt code for modifying my external list. It works when I view the list ...
Rox's user avatar
  • 11
0 votes
2 answers
2k views

How can I put an external link using xml/xslt [closed]

I have this xml <?xml-stylesheet type="text/xsl" href="almacen1.xsl"?> <almacen> <iva>1.21</iva> <producto id="p0001"> <nombre>SET DE LLAVES ...
Lordpascal's user avatar
2 votes
0 answers
207 views

Customize Content Query XSLT

We are using a content query webpart on a page to show some related documents. It needs to be updated immediately when the page is updated so the 15 minute search web part delay is not an option for ...
Rothrock's user avatar
  • 3,053
1 vote
0 answers
20 views

Content Query Web Part - Get each task's site

Using a custom content query web part and XSL file in SharePoint 2016, I am bringing in tasks across a site collection. I would like to bring in each task's associated site. Using this article as a ...
cfoster5's user avatar
  • 151
1 vote
1 answer
379 views

I need XSLT to filter XML by passing node values with pipe symbol

My input xml: <?xml version = "1.0" encoding = "UTF-8"?> &lt;InfoReturn> &lt;LicenseInfo> &lt;licenseType>1&lt;/licenseType> &lt;...
Siva Katta's user avatar
0 votes
1 answer
45 views

Programmatically add multiple xslt list view web parts pointing to specific subfolder within a sharepoint library

I have a list of items linked to a library in sharepoint. I have created a custom rendering logic for list items and would like to add to each item a xsltlistviewwebpart pointing to a specific ...
sico's user avatar
  • 1
1 vote
0 answers
55 views

Get email address of a 'person or group' field in dataform webpart using XSLT

I am trying to retrieve the email address of a person or group field. I have tried the expression: value-of select= 'substring-before(substring-after(@person, concat("sip=",$dvt_apos)), $dvt_apos)' ...
Chandk's user avatar
  • 11
0 votes
1 answer
1k views

XSLT IF Statement

I have a custom Content Query web part that I'm using to display my JQuery Q&A functionality. I'm using a XSL file to determine what display as my question and answer headers. What I want to do ...
cod3r_jim's user avatar
  • 307
2 votes
1 answer
77 views

XSL Item Style in Content Query gets replaced by 'default' for visitors

I have a page with a Content Query WP that retrieves and displays a series of items from a list (blog posts). I have edited ItemStyle.xsl for this list and created a brand new item style that I then ...
jeancallisti's user avatar
0 votes
1 answer
220 views

Is there a way to force the sharepoint RSS viewer web part to get the latest 5 RSS feed items

I added an RSS viewer web part to our sharepoint online site page, and i define this RSS feed url http://feeds.bbci.co.uk/news/world/rss.xml + i define to get 5 items as follow:- now i thought that i ...
John John's user avatar
0 votes
1 answer
62 views

Incrementing a date in a dataview by 1

I need to increase a date field by 1 day. The xslt I have which displays this date is: <xsl:value-of select="ddwrt:FormatDateTime(string(pubDate),1041,'yyyy年 MM月 dd日')"/> I tried to add one ...
chakri's user avatar
  • 321
2 votes
2 answers
181 views

CQWP ItemStyle: how to display background of description with conditional formatting

I have 3 elements in a field and I would like the CQWP to display red as a bg colour of the field or amber or green. I guess the starting point is <xsl:if test="RAG = 'Red'">background-color: #...
susan's user avatar
  • 2,678
1 vote
1 answer
7k views

How to add 1 day in Date using XSLT

I have a scenario like fetching data from rss feed.every thing is working fine except date field,the date value is not displaying properly(showing 1 day back). How can I achieve this using XSLT 1.0. ...
chakri's user avatar
  • 321
1 vote
1 answer
716 views

Overriding xsl templates in SharePoint 2016

I am attempting to customize the aggregate section of a grouped list that I have created through a schema.xml in a Visual Studio project. I have created a mapped folder to {SharePointRoot}\Template\...
DrewB's user avatar
  • 217
0 votes
1 answer
827 views

remove ;# characters and number from xsl value (person /People group)- itemsyle.xsl

I'm retrieving like this <xsl:call-template name="RemoveHtml"> <xsl:with-param name="String" select="@Person.title"/> </xsl:call-template> Result looks like ...
naijacoder's user avatar
  • 4,326
0 votes
1 answer
134 views

Use custom XSL for the default view of a list (Allitems.aspx)

I was able to successfully add a custom xsl to the webpart and render it the way I wanted. (I borrowed the example from here: http://mundrisoft.com/tech-bytes/how-to-customize-list-view-web-part-using-...
photonacl's user avatar
0 votes
1 answer
161 views

Translate a boolean value to show yes/no in a dataformwebpart

I have a dataformwebpart which gets data from a SharePoint list. I am trying to show a yes/no field in the webpart but it displays 1 for yes and 0 for a no. I would like it to displayed yes and no ...
Chandk's user avatar
  • 11
0 votes
1 answer
353 views

Joining 2 lists into a single view

So, I've come across a slight issue that I don't know how to fix in SharePoint 2013, I've been able to join 2 lists into a single view through the use of a Data source, whilst this has provided me ...
Gareth James's user avatar
0 votes
1 answer
3k views

What is the XSLT query to get items which have date greater than or equal today

I haven't worked on XSL. Scenario: We have a list which has a column called expiry. We want to display only those records which have expiry date greater than or equal to today's date. Trials: ...
shoab's user avatar
  • 673
0 votes
1 answer
266 views

Display or edit field conditionally based on dates (javascript/xslt)

I'm trying to make a condition such that: If date in field is before current date or equals to current date, user can tick the checkbox Otherwise, any fields with dates after the current date will be ...
Denise's user avatar
  • 405
1 vote
0 answers
70 views

How do I get the list title to use inside xslt?

I'm using a script to create a button, so that the user can create new form: <script type="text/javascript"> function displayLayover(url) { var options = SP.UI.$create_DialogOptions(...
user70367's user avatar
1 vote
0 answers
655 views

Set Display:block by default for a slideshow

I'm using a picture library to display ppt slides inside a Slideshow presentation. It looks like this: Now my problem is that the first slide is always set on Display:none and I have to click first ...
user70367's user avatar
0 votes
1 answer
509 views

Get current site URL or picture URL from Picture Library

I created an xsl file to change the appearence of the Picture Library. As I had troubles to get the PictureURL I took the value of the "FileLeafRef" to get the filename of the picture. Than I use the ...
user70367's user avatar
1 vote
1 answer
2k views

Set xsl variable using javascript function [closed]

I am trying to assign a random number generated by javascript function to a xsl variable which will be used to construct a query string for redirect purpose. Example of code: <xsl:variable name ="...
Neejesh's user avatar
  • 53
1 vote
1 answer
803 views

XSLT: Display choice field value

I am editing ItemStyle.xsl to display documents in a web part. I need to display the value of a choice field whose name unfortunately contains a forward slash and I don't get it to display its value. ...
bash.d's user avatar
  • 229
1 vote
3 answers
15k views

Javascript not working in IE but work works in Chrome

I had a long search and until I found a working script to use the logged in user id. Finally I have found the following Javascript code, put it in XSL to be used in an XMl viewer web part: <script ...
vilmarci's user avatar
  • 916
3 votes
2 answers
1k views

Content Query Webpart (CQWP) Pagination in SPO

I am trying to paginate a CQWP results set but I am struggling with XSLT. Is there an easy way to do it? Should I work directly on the ItemStyle.xsl? Should I use jQuery instead? I can't believe ...
Paul R's user avatar
  • 41
1 vote
3 answers
90 views

Customize displaying field in list view

I have a custom field for storing an attachment name. I'm trying to display url for this attachment on list view instead of just the name. I've tried to overide GetFieldValue in field definition ...
bineros's user avatar
  • 41
1 vote
0 answers
187 views

Filter styled list webpart using XSL stylesheet

So I have .css and .xsl code turning an out of the box SP calendar list into a pretty events list. I have a different image for each month and my code is long but works perfectly. I also have a ...
KimBrian's user avatar
2 votes
0 answers
60 views

Sharepoint 2010 Conditional XSL Style based on field values?

I am working on a Sharepoint 2010 site. I have a content query webpart with a custom itemstyle template. The items pulled in via the query have a few custom columns (multiline text, image, singleline ...
bberndt's user avatar
  • 143
1 vote
0 answers
44 views

how i can hide/remove links named (share on facebook ,Digg this ,etc) from my RSS viewer web part

I have added a RSS viewer web part to my team site, and i added this custom XSL (code copies from here http://sonnyeom.com/wordpress/simplified-rss-xsl-for-sharepoint-rss-viewer/.), to display only ...
John John's user avatar
3 votes
0 answers
161 views

Return current local datetime in XSL feed from RSS

I am currently using xsl to feed weather from rss.weather.com.au. Everything working fine but as soon as i add reference exslt it will not work and show error "Failed to apply XSLT to the content". I ...
Supermode's user avatar
  • 1,799
0 votes
1 answer
429 views

Display current date in xsl

I would like to display current date with the following format. However using current-date() is throwing error "Failed to apply XSLT" Thu 02 Mar 2017 The following is the code that i have so far. ...
Supermode's user avatar
  • 1,799
1 vote
2 answers
133 views

@EventDate Not Displaying

I am quite new to this so please bear with me. This has been driving me crazy all morning. I have been trying to create template for the CQWP that will display the calendar how I want it to show on ...
KayleeMaddison's user avatar
0 votes
1 answer
410 views

Check if parameter contains column value in filter for data view web part

I am trying to filter a dataview webpart using a parameter ($Users) which is a string of usernames delimited by a semicolon (domain\user1;domain\user2;domain\user3;domain\user4). This string is ...
user2096185's user avatar
0 votes
2 answers
211 views

My xslt doesn't work

I wrote some xslt to make a new style for my content query web part, but it doesn't work. I'm new to xslt and don't know what i did wrong. I hoped that someone here could help me.
Aline B's user avatar
1 vote
0 answers
22 views

How can I pull a contextual link into a Page Layout

We are creating a new commerce site for our existing SharePoint 2010 site to link to. Right now our main product pages each use layouts that have an unordered list styled into tabs across the top. The ...
C. Milyard's user avatar
1 vote
1 answer
243 views

Sum of column based on <xsl:choose> statement in a data view?

I have a column in a SharePoint 2010 dataview that is as follows: <td> <xsl:variable name="CurrentYear" select="ddwrt:FormatDateTime(string(ddwrt:Today()),1033,'yyyy')"/> <xsl:...
user2096185's user avatar
0 votes
1 answer
57 views

Sharepoint 2013 - Error XSL List error with user not Logged in

This is my first topic so I apologize if something is not in order and I apologize for my bad english. I have a problem with a particular SP13 list. I created an XSL that uses JQUERY and BOOTSTRAP ...
user2642043's user avatar
0 votes
1 answer
371 views

Hide or Show Data Fields in List Editor Form (Using Share point Designer )

I am facing an issue in developing Share point List Editor Form (Custom Form) using Share point Designer in O365. My requirement is, if column named "Payment Status" is "Pending For Payment" then show ...
Vinod's user avatar
  • 141
0 votes
1 answer
441 views

SharePoint Designer - Hiding fields in a form unless specific condition is met [duplicate]

I'm trying to create a form in SharePoint Designer 2013, I want to be able to hide a specific field in the form unless the answer to another field has been changed to a specific option. Here is my ...
kloneman's user avatar
1 vote
1 answer
161 views

cqwp: formatting a date inside a standard template

I do not have a formal knowledge of XSLT so my successes are with attempts. I would like to know one information once for all. Sometimes I need a slight modification on the templates such as the '...
susan's user avatar
  • 2,678
3 votes
1 answer
2k views

Need help comparing two dates with times

I'm trying to compare two dates with time. I'm able to compare just the date, but when I add the time element it doesn't work. I'm not sure what the correct format should be. <xsl:if test="ddwrt:...
LAL1982's user avatar
  • 31
0 votes
1 answer
3k views

Remove a section of a string in xsl

So I am doing a project in Sharepoint 2010 environment. I have an xsl template to retrieve the value of a page url. Currently this is the value that is being returned. http://sitebuilder2/corporate/...
bberndt's user avatar
  • 143
1 vote
0 answers
53 views

XML dont get rendered for special charcters in the browser from SharePoint site [closed]

This may not be related to SharePoint but since I got this error from my SharePoint site, I am posting in this forum. So Please do not put it on hold. I have a properly generated XML file in one of ...
Ankit Kumar's user avatar
  • 1,778

1
2 3 4 5
10