All Questions

30
votes
0answers
3k views

Use CSOM with ADFS credentials from Single Sign-On enabled ASP.NET MVC app

I have the following setup: ADFS 3.0, SharePoint 2013 and the custom ASP.NET MVC app. Both SharePoint and MVC app are configured to use Single Sign-On from ADFS, so once user is logged in via ADFS, ...
17
votes
0answers
196 views

Replacing SOD with fetch (handling JS library dependencies - *in the future*)

Anticipating a future, I am experimenting with User Custom Actions in the new Document Library View Microsoft has so kindly provided to the First Release Office365 tenants. Since there is almost ...
11
votes
0answers
17k views

Cannot find site lookup info for request Uri - Error

I am getting the following error numerous times in the ULS on both our SP 2013 web front ends: Cannot find site lookup info for request Uri http://<server IP address>/ Process: w3wp.exe Name: ...
10
votes
0answers
239 views

Cross-site publishing of pages library

In the past we have set up cross-site publishing using lists and libraries as described in tutorials like this and this. We have configured search, CSWP, used facets, created managed navigation, and ...
10
votes
0answers
310 views

Content search and content type

In SP 2013 on-prem publishing site, I have a Content Search WebPart that shows a list of pages by querying for the custom content type id, and it worked fine until I edited the navigation settings on ...
10
votes
0answers
583 views

Bundle SharePoint JavaScript files inside SharePoint hosted app

We have a SharePoint hosted app. This app require some scripts from SharePoint; MicrosoftAjax.js, init.js, sp.runtime.js, sp.js, sp.taxonomy.js and sp.workflowservices.js. We load all these from /...
10
votes
0answers
136 views

Cross Site Publishing

I have enabled Cross Site Publishing feature. In the first site collection, I have enabled pages library as Catalog. In the another site collection I am connecting to the first site collection. Pages ...
10
votes
0answers
2k views

Move-SPUser : pixels

Migrating users from one domain to another, I get this error on a couple of users. The migration still seems to occur. Move-SPUser : pixels At D:\UserMigration\MigrateUsers.ps1:10 char:28 + $...
9
votes
0answers
300 views

Custom Actions in OneDrive for Business

I am trying to add menu options to the Command Bar and the List Item context (ECB) menu in OneDrive for Business. To do this I'm following the same patterns I use when adding menu options to the ...
8
votes
0answers
921 views

SPFX Provision list with data

I am trying to use the SharePoint Framework to provision a list with some default data, I managed to get this working using the following elements.xml and custom schema.xml. This worked no problem ...
8
votes
0answers
3k views

How to stop a SharePoint workflow using JSOM

Let me preface by saying that I'm a relative newbie to this SharePoint stuff and am still fumbling my way around a bit learning from code examples where necessary. That being said, I have no issue ...
8
votes
0answers
764 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
411 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 ...
7
votes
0answers
7k views

Querying on Managed Metadata for term and parent terms

I have a Managed Metadata field called Geography using the following term set as an example. North America Canada Toronto United States New York This Geography ...
7
votes
0answers
2k views

Check given user's listItem permissions with SharePoint 2010 Managed Client Object Model (c#)

Is it possible to determine if a user can access a given item identified by its url without the users context - it has to be done with CSOM. Code so far: var file = web.GetFileByServerRelativeUrl(...
7
votes
0answers
465 views

_catalogs/masterpage/ returns 404 NOT FOUND - MOSS 2007

I am new in Sharepoint, but I am with a project that is using MOSS 2007. When I try to access Gallery > Master Page it redirects to http://myservername/_catalogs/masterpage/. The problem is that ...
7
votes
0answers
489 views

SharePoint 2013 AD FBA 2010 Compatibility

I have a SharePoint 2013 server set up to use FBA through active directory. I've set up the claims providers following Microsoft guidelines from TechNet Blog On a site collection using SharePoint ...
7
votes
0answers
518 views

SharePoint 2013 Auto-hosted App intermittent error — “There was a problem registering the app principal”

I am trying to handle the App events and I am getting one weird intermittent error related to app principal. When I try to deploy the Auto-Hosted App from visual studio, Sometime I am getting the ...
7
votes
0answers
536 views

Sharepoint Controls and CssClass

Im building some page layouts in SharePoint Designer 2010. If i do this: <PublishingWebCOntrols:RichImageField FieldName="Image Caption" runat="server" CssClass="imageCaption" /> The CSS ...
7
votes
0answers
514 views

Strange error from timer job service

I'm developing timer job for SharePoint 2010. I was able to deploy it on my local machine but when I was trying to execute timer job I get strange error message: Job definition SP2010.CopyDocsJob, id ...
7
votes
0answers
615 views

How to send a Document ID link instead of a general link

I'm not sure if this is possible, but I would like to set up my site so that when users send links to documents, they send the permanent URL related to the Document ID, instead of the standard link ...
7
votes
0answers
1k views

How can I specify the ID of a XsltViewWebPart?

In a module, I'm deploying a webpart page where I put a view to a list: <View WebPartZoneID="Body" WebPartOrder="3" List="related" BaseViewID="4" ...
7
votes
0answers
1k views

How can I use approval workflow to reject changes of any existing list item?

I've been creating reusable workflow using SharePoint Designer 2010. You can see a screenshot of the workflow code by clicking on the below link. My custom approval Worfklow code image I tried ...
7
votes
0answers
1k views

Retrieve associated tasks from custom workflow activity

I created an custom workflow activity specified here: SPWeb.GetListItem returns null in custom workflow activity Now I need to know the user who last updated the associated workflow task. Before my ...
6
votes
0answers
90 views

Formula in spreadsheet being converted to a custom list

I am currently trying to take an existing spreadsheet and replicate this as a SharePoint list. The spreadsheet contains the following columns: Received - This will be a number column with 0 decimal ...
6
votes
0answers
83 views

Can't upload files to OneDrive in modern view

This is an on-prem SharePoint 2016 server. Attempting to upload a file results in a status of "uploading 1 item" that never completes. This happens when using the upload button as well as dragging-...
6
votes
0answers
575 views

'Open this Task' button missing from Office documents opened from SharePoint Online

If I have a Workflow Task assigned to me from on-premise SharePoint, when I open the related document, I see a WORKFLOW TASKS: Please approve .... alert in the ribbon as shown below. This call-out ...
6
votes
0answers
752 views

REST API to get Frequent Sharepoint Sites programmatically?

Sharepoint Online offers a view of the frequent sites of the current user. It is available in the home page of the "My Site" of the user. I'm asking if there is a REST API (or something like) to get ...
6
votes
0answers
834 views

Remove Link From Quick Launch Navigation Heading

Is it possible to to use quick launch headings as categories that aren't themselves links? I don't want the headings to be clickable. I've tried setting the web address to blank, javascript: return ...
6
votes
0answers
231 views

How I can get authentication token from SharePoint Online and create event in Outlook 365 calendar without navigating to login window?

I have to create an calendar event in Outlook 365 from SharePoint Online. I know that I can achieve this using https://graph.microsoft.com/v1.0/me/events call in Microsoft Graph API. The only problem ...
6
votes
0answers
902 views

Can I display Exchange Online Calendar in SharePoint Online at present?

I am already aware that this question is already asked multiple times on this site but almost all are for SharePoint Server. And I found one for SharePoint Online but this talks about custom ...
6
votes
0answers
687 views

SharePoint Online list view threshold error in a lookup column

I am facing an issue with lookup column in the list forms due to list view threshold limit (5000 items). The parent list is having more than 5000 items. Hence the lookup field is not getting ...
6
votes
0answers
76 views

SharePoint sometimes adds script in page without any reason

I have this weird problem on one of our customer's SharePoint (2010): sometimes, on different pages, the page came out broken, with a bunch of HTML and scripts inside the normal page. I started ...
6
votes
0answers
286 views

How to set HTML field security using CSOM

Is there a way to set the HTML field security using CSOM? I already found a way to use PowerShell Scripts but i wondering if there is also a way to use CSOM. PowerShell: $web.ScriptSafeDomains.Add("...
6
votes
0answers
382 views

SP's JavaScript function to create pagination

SharePoint 2013 here. I need to create a pagination of results I get from an external web service. I want to use the look and feel of SharePoints pagination: Ideally I could call SharePoint's ...
6
votes
0answers
1k views

'Permission denied' javascript error on modal window opening in IE8

While opening any modal window (NewForm, EditForm, custom or OOTB) on a SharePoint list in Internet Explorer I get few SCRIPT70: Permission denied errors. This causes problem with saving the ...
6
votes
0answers
764 views

SharePointContextProvider.Current.GetSharePointContext(Context) returns null on postback - provider hosted app

I have a provider hosted app hosted on Azure and installed in SharePoint Online (Office 365). While testing the app, I found a strange issue, where if the page remains idle for around 10 mins and then ...
6
votes
0answers
674 views

Filtering an XLV with a Managed Metadata Field in a Publishing Page Layout

I have a custom Page Layout which inherits from Enterprise Wiki, with an additional column of type Managed Metadata. In SharePoint Designer, I place this field as a control onto my customised page ...
5
votes
0answers
50 views

How to display list content from a different site on a modern page?

I have two Office 365 Groups. There is a custom list on one group site that I'd like to display on the home page of the other Group's site. Both sites are modern sites, and the home page of the target ...
5
votes
0answers
100 views

Sharepoint Online - site closure and deletion not working

We have used PnP to provision sites and add policies. But when the date for deletion has passed the site collection do not get deleted. This is standard SharePoint functionality.. so I have no idea ...
5
votes
0answers
70 views

sharedWithUsersId not returning up to date user ids

I don't understand the response for the API call: /_api/web/getFileByServerRelativeURL('/docs/Test.docx')/ListItemAllFields/SharedWithUsersId I upload a Test.docx document and share it with two ...
5
votes
0answers
41 views

The Client ID submitted in your add-in package does not match the Client ID submitted via the Seller Dashboard

I have registered my Provider Hosted Add-in to Microsoft Seller Dashboard. Microsoft has send back a report with this error: The Client ID submitted in your add-in package does not match the ...
5
votes
0answers
169 views

New Communication site Template supports Multilingual Content

we have a requirement to use new Communication Site template and build a web site, but it should be multilingual. Since new Communication site look and feel and responsiveness suit to my client ...
5
votes
0answers
154 views

SPFX Getting Sharepoint Online Modern Page ListItem Icon Programatically

I'm trying to get Modern Page ListItem icon path for some implementation. I understand that for SharePoint OnPrem / Online Classic, it will be located under /_layouts/15/images/<<icon_filename&...
5
votes
0answers
135 views

SharePoint 2013 calendar in IOS renders differently

Most of the time Sharepoint Calendar in IOS renders differently as shown in the below screenshot which causes a problem in changing views between month/week/day view programmatically and also manually....
5
votes
0answers
344 views

SPFx Extensions - popup “loading debug scripts” does not appear in a list

I built the application as described in this tutorial The popup appears on the site, but does not appear in the list of this site. Did anyone have a problem of this type? This path works: /sites/...
5
votes
0answers
61 views

Configure the maximum number of co-authoring authors in SharePoint 2013 at Farm Level

With the help of below script and based on my requirement I am able to set my limit for co-authoring the authors for sharepoint documents at site collection level $siteurl = "SiteURL" $mysite=new-...
5
votes
0answers
94 views

Metro View in SharePoint using jquery

I am trying to create a metro view in one of my SharePoint sites based on the data that is retrieved from a list. Am a beginner on this. Can anyone help on how to start with a basic Metro view? ...
5
votes
0answers
309 views

SharePoint Search Results Webpart returns wrong results count

I am trying to develop a custom paging control for my search results webpart but I am facing a weird issue that the search results return wrong total results count. Below is the javascript snippet I ...
5
votes
0answers
407 views

Search service is not able to connect to the machine that hosts the administration component

For a couple of days, I have with a problem related with Search Service Application. Service suddenly stopped working, being in the stopped state and did not response. I recreated the Shared Service ...

15 30 50 per page