Tag Info

New answers tagged

1

This makes no sense to me but... It appears that SharePoint XSLT for CQWP doesn't like empty elements. When I have an empty div it pulls the next element in the DOM into the parent of the empty element. My code had clearing divs at the end of the main containers so getting rid of those resolved the issue.


0

I've this parameter at the beginning of my xslt <xsl:param name="CurrentLcid"></xsl:param> When i display it, it's always 2060 if i change language from my account shourtcut in top right, the value stayies at 2060 I've tried to add LCID but nothing is display


1

According to XSLT Global Parameters you could utilize the following global parameter: LCID -The value of System.Threading.Thread.CurrentThread.CurrentUICulture.LCID in string format. The following example demonstrates how to render the image from a language specific folder: <xsl:template name="NewGif" ddwrt:dvt_mode="body"> ...


0

For the OR part.. How to get the SC URL from a full URL in JSOM Sadly the only way is try and error. Here's my code to get the SC URL (I wanted to get fields of a image listitem by its full URL) related SE post function getFileProperties(url, fileUrl) { //to get the file specific client context //you can create the ...


0

You can achieve this by modifying\creating views and changing the sort columns to meet your criteria. Manage Existing Views in SharePoint 2010


2

Here are some links to create visual web part in visual studio : https://www.youtube.com/watch?v=9iK8IPUB87w http://www.sharepoint-journey.com/visual-webpart-in-sharepoint-2013.html There are multiple methods to capture XML from a URL, but this particular example is helpful when you are dealing with special characters of foreign languages. The ...


0

UPDATE and workaround : SharePoint still uses the XSLT 1.0 spec (as of SharePoint 2010) so XSLT 2.0 functionality won't help.(ddwrt:Today() or ddwrt:TodayIso()) . So workaround is you add a DVWP to the page in SharePoint Designer, SPD defined a variable which contains the current date for you in the ParameterBindings section: <ParameterBinding ...



Top 50 recent answers are included