Tag Info

New answers tagged

1

The link you refer has your answer, with only a small tweak, if you are in SP2013. Your url should be as follows: https://yoursite/_layouts/15/Upload.aspx?List={XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} Note that 2013 uses /_layouts/15/Upload.aspx, whereas 2010 used /_layouts/Upload.aspx. You can get your library guid by going to the list settings for the ...


2

Ok, here's what's happening: // select ALL elements that are .block .title h2 span and loop through them $(".block .title h2 span").each(function(index) { // find the length of the text of THIS PARTICULAR element var x=$(this).text().length; // if the length of THIS PARTICULAR element is > 29 if(x > 29) { // change the ...


0

x=$(".block .title h2 span#title").text(); If you have multiple spans then var arrSpanTitles = []; $(".block .title h2 span").each(function(){ arrSpanTitles.push($(this).text()); }); arrSpanTitle will contain all span titles


0

Changing the extension to aspx from html worked. if are not willing to change the extension Just try below: List Settings--> Advanced Setting --> Opening Documents in the Browser--> Open in browser also you need to Set the OpenInClient feature for site collections In the SharePoint site collection, choose the Settings icon > Site Settings. On the ...


1

I figured it out myself Title Search: <input name="Title" type="text"/> <a onclick="location.href=this.href+Title.value;return false;" href="/sites/203/qaos/bp/Lists/Process%20Tickets/AllItems.aspx?View=&amp;SortField=ID&amp;SortDir=Desc&amp;FilterField1=LinkTitle&amp;FilterValue1="> Image</a>


0

You have html tag so if you what to do in local then you could go for JQuery. First give unique ID to input control and link. Title Search: <input id="titleInput" name="Title" type="text"/> <a id="titleLink" ...


3

A ductape patch is adding a negative margin-top <div style="margin-top:-200px"> YOUR CONTENT </div>


1

I also observed this behavior while adding an HTML5 video to content editor webpart a month back. I don't know the reason as to why this is happening. But I found a workaround. Try changing your code to: <video width="320" height="240" controls="controls" autoplay="autoplay"> <source src="movie.mp4" type="video/mp4"> <source ...


2

You need to render the rich text. Just add STSHtmlDecode like in this example. <div id="trimmedDetailsDiv" class="newsListItemBody" style="padding-right: 0px; color:#656565; font-size:15px; padding-bottom: 25px;"> _#= STSHtmlDecode(shortDescription.value) =#_ </div> SharePoint 2013 - Working with Display Template for Content Search Web ...


0

I recommend you to use a simple interface like your propose, but store the links in a custom list. You can use Client Object Model, which is an API to interact with SharePoint using only JavaScript. You can see samples in MSDN in this link: Complete basic operations using JavaScript library code in SharePoint 2013 Form this article, this is an extract of ...


0

You can use JSLink which comes with every SharePoint List. This enables you to render content using your own code. Try this post for a complete guide on JSLink and this for grouping content. Hope this helps you to start in the right direction.


0

This is more a question about HTML than SharePoint. Edit the source code of your Content Editor WebPart and put this : <style> .numbered-list { counter-reset: item } .numbered-list-item { display:block } .numbered-list-item:before { content: counters(item, ".") ". "; counter-increment: item ...



Top 50 recent answers are included