For questions completely specific to SharePoint 2013 and **not past or future versions**

learn more… | top users | synonyms (1)

1
vote
2answers
372 views

How to get List Title in JSLink?

I have applied a JSLink to the custom list's new form in which I want to get the Current List title to access the list column further. My code is: (function () { var DepartmentCtx = {}; ...
0
votes
0answers
86 views

Unable to get the JavaScript event when I remove the user from people picker control

I have applied the jslink to the new form of custom list. In that JSLink, I am getting the user profile property and displaying it in label. But I want to blank the text of label when the user name is ...
1
vote
0answers
41 views

First level parent navigation show on sidebar even in child pages i visit?

How can I get the code to show the first level parent page name in it's child's in sidebar navigation. Let's say I have a parent page "About Us" and under it I have overview, mission, philosophy ...
0
votes
1answer
60 views

How do I make an app part I developed available in About Me or Newsfeed?

I have developed a SharePoint autohosted app using VS2013. I have been able to successfully get it deployed to my Office 365 based SharePoint. The app has an app part included and I have been able to ...
0
votes
2answers
538 views

SP 2013 VS Workflow error “MTW Client is invalid”

When deploying a Workflow enabled app from Visual Studio (2012/2013), receive the error "MTW Client is invalid". More of the same error in the ULS logs. SharePoint 2013 designer Workflows deploy ...
1
vote
1answer
192 views

Error While Configuring Result Source in SharePoint 2013 Site

I am getting an error while creating result source programmatically using Console Application. Below is my code. using (SPSite oSPsite = new SPSite("http://xxxx/subsite1/")) { ...
1
vote
2answers
74 views

Search ranking in SP 2013

I am using Sharepoint search and able to retrieve all the items using search . Now I need to define a special ranking that ranks documents based on how many times a document is viewed ignoring the ...
1
vote
3answers
172 views

Searchbox watermark

Is it possible to change the watermark in Search box input? How can I do it? Actually I want to redirect all my search to the searchcenter,at the same time i need ...
0
votes
1answer
92 views

Who accepted/rejected the task?

I have a workflow which is creating a task that can be approved by multiple users. (IE: there is a group in the "Assigned To" field). How can I tell, from within the workflow, which user ...
1
vote
2answers
1k views

How to query custom user profile properties

Is it possible to get CustomProperties from a User Profile? I would like to list all user profiles in a webpart including some custom properties which are imported from the AD by the User Profile ...
0
votes
1answer
138 views

How to read values from Secure Store Service Application in a timer Job

I have in my sharepoint application an external source that must be accessed by 2 parts of my application The first part is a page, where the users can search on a form, the external data. The second ...
1
vote
1answer
76 views

Uploading Video Error

When I try to add a video to video library (New Document>Video), after select the video, it gives me this error. What should I do? Working on it... This shouldn't take long. Server Error ...
0
votes
0answers
82 views

Error: Adding a file to a survey

I am trying to create a survey that allows the end-user to add a file to support their answer to the survey question. I have tried to accomplish this task by adding a "External Data" answer type. ...
2
votes
2answers
685 views

SP 2013 - Updating a multi-value lookup field via the REST API

When adding a new item to list via the Sharepoint 2013 REST API I want to populate one of its multi-value lookup columns. I've tried passing in an array of Ids or a string with separators but nothing ...
1
vote
2answers
585 views

SharePoint 2013 Search Result Refiners Showing No Data

Inside my document library I have columns named "Departments", "Category", "Sub Category" and "Index". I added data to these columns, re indexed the library and created managed property for them. The ...
1
vote
1answer
103 views

Extra Div and Class remove from Top Navigation Snippet

I can create top navigation snippet by going to master page and clicking snippet. But it prints lots of div and extra classes. That's messing my CSS for the html navigation. Is there any way to print ...
0
votes
2answers
245 views

Change file name

I am updating a file in document library using a Put request from the client side. I need to know, how to change the file name after the file has been updated. My upload code is working fine. I can ...
1
vote
1answer
628 views

SharePoint 2013 Search Rest API POST request format

I am hoping to save someone some time as I couldn't find anyone talking about this anywhere. I am looking at the SharePoint 2013 Search Rest API documentation and decided to switch my GET calls to ...
1
vote
0answers
433 views

Removing Weekend Days From Calendar

I wish to edit my 2013 Calendar web part and remove Saturday and Sunday from showing if possible so it only shows the work days of the week. Any help would be very much appreciated as i dont know ...
0
votes
1answer
24 views

Content Search App

I'm running an Office 365 SharePoint 2013 install while we are setting up our own on-premise installation. I'm trying to use the Content Search App and results are showing fine while designing and ...
1
vote
1answer
246 views

Destroying a field which gives error in Content Enrichment Web Service

I’m writing a Content Enrichment Web Service that is used as an extension to the Content Processing component in my Search Service Application. The web service runs as expected at localhost. I have no ...
1
vote
1answer
2k views

“Server Error” When Saving MasterPage Changes in Designer

I wish to edit a master page using SharePoint Designer 2013 however once i have made my changes and go to save i get the error "Server Error: This file may not be moved, deleted, renamed or otherwise ...
1
vote
0answers
45 views

SharePoint 2013 search log error

The search not work, I look the logs an see this error: "The server is not available and could not be accessed. It is likely to be disconnected from the network" How I fix this?
0
votes
2answers
558 views

CAML query order by not working in SPList

I am using the following code display items in list but it is not sorting them. No matter what I write in order by clause, it always brings the same results. SPListItemCollection items = null; using ...
4
votes
1answer
510 views

Enlarge Newsfeed images on SharePoint 2013

I am a bit stumped why I have not found much information on this topic or why no one is asking the question. Maybe it is just not possible. My question being: Are you able to enlarge Newsfeed images ...
1
vote
1answer
393 views

Unable to apply JSLink to the field

I want to apply the JSLink file to the field to render it differently. <Field ID="{2F30125C-D2C9-459F-9AC5-1796F52C0C4B}" Name="oiplbDepartment" StaticName="oiplbDepartment" ...
1
vote
0answers
121 views

how to pares search api odata json result in C#

i'm using that search query string siteUrl = "<site>"; string queryText ="Path:\"pathTosearch/*\" IsDocument:1"; string rowlimit = "10"; string sortExpression = "Write:descending"; ...
0
votes
1answer
316 views

Using SharePoint resource file in my web part

I have a SharePoint application and for that I have created resource files which are inside App_GlobalResources folder. I am making a visual web part and want to use those resource files rather ...
2
votes
1answer
102 views

Sharepoint 2013 Variations Automation

I'm able to use http://blog.mastykarz.nl/programmatically-provisioning-variations-in-sharepoint-server-2010/ link to automate variations setup SP 2013 via Powershell. One think I'm not able to figure ...
0
votes
1answer
232 views

Making column required is only possible after it is added and edited (happens in content type only)

While creating columns in content type the option of Require that this column contains information is disabled so I cannot make the column required. But once I save the column and edit it I am able to ...
0
votes
1answer
164 views

How to insert new line in the SharePoint error message?

I have written a code in event receiver which validates the user entered. My code is complete but the message I want to pass comes in the sinle line. I want to display the message in multiple lines. ...
0
votes
2answers
565 views

Location for Search Center in a SharePoint 2013 implementation

I am having trouble finding a recommended approach for the location of a search center in a SharePoint implementation with multiple site collections I am using SharePoint 2013's best practice of ...
0
votes
1answer
44 views

Customise Create Item & View Item page

I'd like to apply heavy customizations to the Create Item & View Item page. It's an external list pulling data from WCF, and I'm using SP 2013 e.g. Group fields Layout in 2 columns on first ...
0
votes
2answers
120 views

JSLink doesn't work when it got redirected from list item page

I have a JSLink file to customise an external list and list items. context.Templates.Fields["VM_NAME"] = { "View": VmNameRenderCallback }; ...
0
votes
0answers
146 views

List with attachments vs Document Library of Document Sets

What are the pros and cons of using a custom list with documents attached to each item, versus using a document library containing document sets? What I'm trying to do: I have red, blue, and green ...
0
votes
2answers
327 views

How to use <img src=“”> in XSLT

I am using the following code to display image using XSLT in Sharepoint. It is working fine. <xsl:value-of select="@Image"> But this approach doesn't allow me to define width and height of ...
0
votes
0answers
254 views

page cannot be displayed for newly created web sites

I just installed SP 2013 on a brand new VM with Server 2012 and Sql Server 2012. After running SharePoint product configuration wizard, I created a new web application on machineName and a root site ...
0
votes
1answer
103 views

Central admin: Job definition (_admin/ServiceJobDefinitions.aspx) page throwing object reference error

The Central admin: Job definition (_admin/ServiceJobDefinitions.aspx) page throwing object reference error. Everything was working as expected 3-4 days back , i tried to check if my custom timer jobs ...
2
votes
1answer
136 views

SP2013 Search - Explanation of KnownTableTypes

Does anyone have a detailed description/documentation on Microsoft.SharePoint.Search.Query.KnownTableTypes? I'm wondering why every "How to use a KeywordQuery in code"-article on the web just uses ...
0
votes
1answer
241 views

Get SPUser from PickerEntity

I have an application page with Sharepoint ClientPeoplePicker control on it. I need to get the SPUser object for each of the resolved picker entities. Using SPWeb.EnsureUser method is out of the ...
1
vote
1answer
49 views

Publish Multiple Pictures in one shot from master page library

When I created a master page from html using share point design manager the pictures in images folder are not published. I have to go to the images folder and select one by one to publish it. Is there ...
0
votes
0answers
37 views

itemstyle.xsl not picking up date from resource file

I have a custom xslt file named "myfile.xsl" Inside it I am using resource file as below: <xsl:param name="MyVar" /> <xsl:value-of select="$MyVar" /> It is displaying the value of ...
0
votes
1answer
67 views

Item level permissions based on claim values

is it possible to have a SharePoint group that is based on a claim? i.e, I have an ADFS enabled site. One of the claim descriptions http://temp.org/Country has values like US, UK, India, etc.. Is ...
2
votes
3answers
217 views

SharePoint 2013 Using SPSite in Custom WCF Content Enrichment Webservice

I have to write a content enrichment webservice which retrieves data from an specific SharePoint Site (SPSite). But my code doesn't run, if i make a new SPSite Object. Also no logging information in ...
1
vote
2answers
86 views

making a custom masterpage the default for newly created site collections

Ive customised the seatle master page in 2013 and set it as default in spd2013. This works fine for the current site collection. My question is how can i go about making this the default master page ...
0
votes
1answer
110 views

Use like/rating function outside of current page

I have used this javascript function to like my publishing pages. The problem is that I can only like the page if I am at the current page since the javascript uses the _spPageContextInfo variable. ...
0
votes
2answers
268 views

How to create my own page layout with my own content type?

I want to create a Page Layout with following fields: Title (textbox) Summary(textbox) Detail (textarea) Image (this will be shown on top of the page at certain location which user will upload) How ...
1
vote
0answers
442 views

How to query the list using CAML Query to List's multi allow user field?

I have a list in which there is one column which is of type People or Group with multi allow. I have created Item Adding event receiver in which I am checking the entered people value is already ...
0
votes
0answers
95 views

Server side paging ListView or CSWP

You can modify a list view to have pagination or you can choose "list with Paging" display template for Content Search Web part to have paging. My question is which one is server side pagination? ...
1
vote
1answer
66 views

Issue with OOTB publishing Workflow

Yesterday I encounter a strange issue on SharePoint 2013 site I have a simple list with basic columns like Title, description, thumbnail (url of picture to displayed) on which a simple OOTB ...