Questions tagged [2013]

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

Filter by
Sorted by
Tagged with
8
votes
1answer
13k views

“The XSS Auditor refused to execute a script in…” from Chrome when using <script> tag in content editor webpart

Embedding javascript in a content editor web part triggers XSS Auditor error in Chrome when editing any webpart on the page containing the content editor web part. Steps to reproduce 1 - Use newest ...
8
votes
4answers
1k views

Generate Report Based on View of List Data

I have data in a list. One of the views has the data grouped by a column, so I have it looking the way I want. Requirements for the report: Have a front page with the name of the report, date, etc. ...
8
votes
3answers
10k views

Problem with SP2013 solution scope: WebApplication vs GAC

I have a SP2013 solution that contains a custom WCF service, custom Timer Job and a Feature Event Reciever. Because of these the solution Assembly Deploying Target is set to GlobalAssemblyCache. The ...
8
votes
4answers
7k views

ResolvePrincipal vs SearchPrincipal

So I'm attempting to write something to mimic sharepoint's people picker. I was originally using Utility.ResolvePrincipal with some success, but it was only returning me a single user (obviously). So, ...
8
votes
1answer
2k views

Changes to permission take effect in search results only with next full crawl

I'm facing the problem that changes made to users' permissions within a site collections take effect only after a full crawl in search results. Given the following SharePoint 2013 Server environment. ...
8
votes
2answers
7k views

Excel files always open in browser

On our Intranet I have activated the site collection feature "Open Documents in Client Applications by Default". On the Document libraries I have also set the *Default open behavior for browser-...
8
votes
1answer
5k views

SharePoint 2013 Subsite inherits Parent Navigation - Managed Navigation

I am using Managed Navigation and have Variations defined, so the root site collection has two sub sites for each of the languages.. Each Language sub site has its own Terms Set and the navigation is ...
8
votes
2answers
203 views

How to add scripts to a site collection without modifying the masterpage

Our company has restricted any modifications to 2013 SharePoint masterpages. For the most part I have been using layout pages to add scripts however if a site is not a publishing site, I am looking ...
8
votes
2answers
14k views

Custom calendar display template / JS Link

I'm looking for a nice custom calendar. Display template or jslink, doesn't matter. Something like that would be awesome: http://deviprsd21.github.io/Calendario/index2.html Has someone tried to add ...
8
votes
2answers
800 views

SharePoint App VS Object Model

For designing solutions I am confused with whole Apps concept in 2013. What is Microsoft's guidance for when to use a SharePoint app and when to go for a traditional client or server object model ...
8
votes
3answers
3k views

Stuck in “Preview Page” mode in SharePoint 2013

I was editing the Seattle Master Page and suddenly my site got stuck in the "Preview Page" mode: And I don't know how to stop it. I returned back the template to the original Seattle template but ...
8
votes
1answer
1k views

How many columns we can add in a SharePoint list

I have client, who has a SharePoint List with 360 columns(including default columns). My questions are How many column we can add in a SharePoint list? If is there any limit, why didn't it throw any ...
8
votes
3answers
859 views

Datasheet view added programatically missing from view selector

I am adding a new view to a list using CSOM (ViewTypeKind = Grid). The same code works perfectly for other types of views. For datasheet views, although they are added and they function properly, ...
8
votes
1answer
3k views

WARNING: Endpoint https://server:12290/ is not responding: The underlying connection was closed

WARNING: Endpoint https://server:12290/ is not responding: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. I’ve set up a Workflow farm in ...
8
votes
1answer
10k views

How to create a timeline view of a task list?

Is there a way to create a timeline view of a task list? From my experience, you can add tasks to a timeline, but there is no way to create a view based on that timeline. It's all or nothing it ...
8
votes
3answers
263 views

Isolated (per page) App Part communication

Many of you may know this blog post which explains how to communicate between app parts (from the same provider). Unfortunately the post only describes how to communicate between "all app parts of ...
8
votes
1answer
6k views

How to create root site collection with custom web template using PowerShell

I have found a PowerShell script to create a site collection with the template "STS#0", but i want to create a root site collection with a custom template, what will be the possible PowerShell command?...
8
votes
2answers
1k views

Set Task list EnableAssignToEmail in CSOM

I would like to set the EnableAssignToEmail bit on a task list via CSOM after a list is created dynamically. I have found a way to do this in Powershell and in code using SPList: Add-PSSnapin ...
8
votes
4answers
3k views

Get selected items from JavaScript in the document library view

I have a page in which I have placed XsltListView web part to show the view of the picture library. Above that view I have placed a link using Content Editor Web Part which redirects to other web ...
8
votes
2answers
1k views

Architechture of Managed Navigation using Reuse Terms

I'm currently designing a Managed Navigation using Term Store Term Sets both hierarchically and process based. An example would be Continent > Country > Region > Municipality as the hierarchy and ...
8
votes
1answer
1k views

Show correct content type with custom display item

I am using the following code in a custom display template for my search results to show the correct content type of an item: _#=ctx.CurrentItem.ContentType=#_ The good part is that it returns the ...
8
votes
3answers
4k views

Hide options from ECB Menu in SharePoint 2013 Library

I have added a document in a document library. I am trying to hide an option from ECB Menu How do you hide any options from ECB Menu? Update: Each item has a column "x" with different values. So, ...
8
votes
4answers
9k views

Code blocks not allowed searchresults.aspx

I'm getting this error on a copy of our SharePoint 2013 site collection. I've tried unghosting searchresults.aspx, but it comes back with "Cannot revert to the site definition version of this file. It ...
8
votes
2answers
2k views

Bulk find and replace error in SharePoint 2013 Designer

Two part question. My issue was removing the "recentchanges" from all of my wiki pages. I tried to add a div around the recent changes menu as below: . <div style="display:none;"> <...
8
votes
2answers
10k views

Breadcrumb and flyout on custom master page

I have a master page that I wrote from scratch and applied through the Design Manager to one of my site collections. I would like to add the 2010-style breadcrumb and/or navigate-up flyout button in ...
8
votes
3answers
851 views

Localization problems in WSP template

I configure a SharePoint 2013 site using the web interface. I save the site as a template, a WSP package. I then utilize this template on new, clean, team sites. It works great almost all the times. ...
8
votes
3answers
6k views

Updating a Property w/ 2013 REST Api

I have a SharePoint Hosted App that is successfully able to add Read and Create files on the Host site (using the REST API and SP.RequestExecutor). Now I am trying to figure out how to update ...
8
votes
2answers
6k views

Edit Links commands are not visible in the Quick Launch and Top Navigation menu in SharePoint 2013

I have сreated custom site definition for SharePoint 2013, but for some reasons Edit Links command is not visible in the Quick Launch and Top Navigation menu. These commands available by default if I ...
8
votes
1answer
140 views

SharePoint BreadCrumb Question

I have a SharePoint URL for one site as: http://xyz/controls/engineering/test Where test is the subsite of engineering, whose breadcrumb is set as: xyz> controls> engineering> sites> test I ...
8
votes
3answers
2k views

“Open in Explorer” fails despite a number of common fixes

I have an extranet solution in SharePoint 2013, running on Windows Server 2012 r2. When I try to use the "open in explorer" command in any SharePoint document library, I get the following message: "...
8
votes
1answer
528 views

SharePoint 2013 Managed Metadata accepting invalid terms

I currently have a problem regarding our Managed metadata field. At this point, our field is accepting invalid terms in the term set but is a valid term in the term store. Below are screenshots that ...
8
votes
2answers
1k views

Active Directory Import not working correctly

I have configured AD Import on 2013 instance, but it seems that it doesn't work correctly. New entries in specified OUs are not imported into UPS. I have checked the logs and there are no errors ...
8
votes
2answers
2k views

Custom ribbon button action always disabled when command is defined

I want to add new button to the ribbon in Pages library. To do so, I have following code: <CustomAction Id="Ribbon.PublishTab.Publishing.Actions.UploadDocumentButton" Location="CommandUI.Ribbon"&...
8
votes
2answers
554 views

Export to Excel adds  to currency field in sharepoint 2013

I am trying to export the data to .xls file using below code GridView2.DataSource = dt; GridView2.DataBind(); DirectoryInfo dir = new DirectoryInfo(@"C:\New List Reports"); ...
8
votes
0answers
793 views

How to get the user profile property that is of type Managed Metadata using JavaScript?

I have apply JSLink to the custom list's new form. I want to query the user profile property which is Managed Metadata for entered user. I wrote below code which simply gives the string. But I want ...
8
votes
0answers
415 views

Design Package import SharePoint 2013 using App Installed event CSOM

In SP2013, I am trying to import and export the design package from one site to other site using AppInstalled event using CSOM. I am not able to get the context of source site to import the design ...
8
votes
1answer
2k views

The UPDATE permission was denied on the object 'AllListsAux', database 'spContent', schema 'dbo'

Insufficient SQL database permissions for user 'Name: NT AUTHORITY\IUSR SID: S-1-5-17 ImpersonationLevel: Impersonation' in database 'spContent' on SQL Server instance '###' The UPDATE permission ...
8
votes
4answers
7k views

Report Viewer Web Part Alternatives in SP2013

We have a need to upgrade from SP2010+PWA to SP2013+PWA. Our database server will be SQL Server 2008 R2. According to Technet, the SQL 2008 R2 Reporting Services add-in for SharePoint isn't ...
7
votes
5answers
17k views

Displaying user profile image using JSOM - broken image link in IE

I have written the following code to get the user profile image and display on my master page header. Everything is working fine with Chrome but in IE I get a broken image link where i should be ...
7
votes
5answers
59k views

How to select and filter list items lookup column with Sharepoint 2013 REST Feature?

I am using SharePoint 2013 REST. I have list which contains many look up columns, I can get list items through list if they are not look up columns but I can't select and also filter based on look up ...
7
votes
5answers
348 views

How can I be logged in in parallel with different user profiles for testing, what users with certain permissions can see in a SharePoint site?

When defining permissions in a SharePoint 2013 site or library I'd often wish to easily test what a users with (only) those permissions can see on this site. So I think I'll have to create some test ...
7
votes
3answers
5k views

“SharePoint is not a database!” article of 2009 - does it still apply for SP 2010 and 2013?

I'm talking about this blog post by Chris Woodill. He mentions the following advantages of modeling data via SQL programming instead of SharePoint's lists: Primary And foreign keys: one of the most ...
7
votes
4answers
5k views

Site collection creation cancelled partway - now I can't delete or use it

Unfortunately we had a situation where an IISRESET was performed by one user whilst another was creating a site collection - now the site collection can't be deleted. When I go to central ...
7
votes
2answers
25k views

The remote server returned an error: (403) Forbidden

I am developing a C# console application on my local computer running on Windows 8. My target SharePoint server is SharePoint Online on Office 365. I am trying to get the web site name using web.Title ...
7
votes
2answers
9k views

Get ContentType name with select fields

I have a problem with getting the ContentType name for a item. when i use http://sp2013dev/sites/mms/_api/web/lists/GetByTitle('List')/items(1)/?$expand=ContentType I get as response all Fields ...
7
votes
3answers
699 views

Best Practice for Lists and Web Part Pages

I used to refer end users directly to the list they shall use. However, in blogs or on SE it often reads as content editors (or other WebParts) are put on a list. From my understanding, this does only ...
7
votes
4answers
9k views

Ability to delete access requests

We are testing the access request functionality, and are trying to see if there's an option to delete access requests. We'd like to not have to either approve or reject, but rather delete the ...
7
votes
3answers
10k views

retrieving subsites from parent web using REST

I am trying to get all subsites from a parent web using REST API. I tried following query which shows "The page cannot be found". mysite/_api/web/parentWeb/webs
7
votes
3answers
23k views

Get absolute URL to listitem's default display form

I need to have an absolute URL of a listitem's display form - currently I do it the following way: On http://example.com/: item.ParentList.ParentWeb.Url.TrimEnd('/') //"http://example.com" + "/" + ...
7
votes
6answers
62k views

Server Error in '/' Application. Runtime Error

I am new to SharePoint. I am developing a web part. I that I have created the .aspx page. When I am going to access that page by the URL it throws an error like. Runtime Error Description: An ...