Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [development]

The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

0
votes
1answer
25 views

PreSaveItem() is not getting the updated values from the list edit form

I am working on a team site inside sharepoint 2013. and inside my custom list i added this javascript to prevent closing an item unless the user enter a multi-line text field named "Analysis":- <...
0
votes
0answers
8 views

List validation to force fields to be conditionally mandatory

I have a custom list inside sharepoint on-premises 2013, which have these fields:- Status. drop-down(Open,Closed). Type. drop-down(item,Box). Comment. Multiple line of text (allow pictures and tables)...
0
votes
0answers
15 views

Error on adding webpart:- Web Part on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe

I already have "SPListFilter 2.3 Server" solution installed inside our sharepoint server 2013 enterprise. and it is working well. i got this solution from this link http://splistfilter.vitalyzhukov....
0
votes
1answer
22 views

how i can get the property value for “ShowInNewForm” for a site column

I want to know if a field is set to be shown in new form or not. so i run this power-shell script:- PS C:\Windows\system32> $web = Get-SPWeb http://****/order/ PS C:\Windows\system32> $field = $...
0
votes
1answer
6 views

Sort SPQuotaTemplateCollection based on size using c#

We don't have inbuilt function to sort Site Templates based on size hence we will get random size site templates. When we do auto upgrade site template it may cause the issue because random order.
1
vote
1answer
19 views

SharePoint 2019 Development which version of Visual Studio to download Enterprise or Professional?

For developing Solutions for SharePoint 2019 which version of visual studio can i download according to article it shows it supports Visual Studio 2017 v15.9. MS documentation here. Visual Studio ...
1
vote
1answer
36 views

Search document all FARM SharePoint [closed]

There is a document on the SharePoint server, its location is unknown, how can you find it using C#(.NET) without recourse to the search service, i.e. let's say I want to develop my custom search?
1
vote
0answers
29 views

How to solve “Failed to deploy the manifest file to the Exchange server. The remote server returned an error: (400) Bad Request.”?

I am getting below error while running the outlook web app solution. Failed to deploy the manifest file to the Exchange server. The request failed. The remote server returned an error: (400) Bad ...
0
votes
0answers
19 views

Create custom visual weather web part in SharePoint 2010

I'm trying to create a custom visual weather web part in SP2010 using C#. Anyone please steer me in the right direction. thanks in advance
0
votes
2answers
31 views

Is SharePoint online a good platform for CRUD applications with requirements for documents

Is SharePoint online a good platform for CRUD applications with requirements for documents ? I have experience with on premises SharePoint, so storing documents wasn't not a problem at slightest but ...
0
votes
1answer
30 views

Search text in document: HTTP 403 Forbidden

I wrote the code for: searching (replace) for a word in a document that works without problems in the Console Application, but does not work in Visual Web Part SharePoint 2013, when I click the button,...
1
vote
0answers
22 views

2010 CSOM - Provision document set after creation

I have a requirement to programmatically create a document set in a library. I've done this successfully using the code below, however when I open the document set I see the yellow bar message '...
0
votes
1answer
28 views

Add an item to a SP list with a managed metadata column in SPFx webpart

I've a list in SPFx with a column type of Managed metadata. Now I'll add an item in that list with a web part. But how can I do this? import { TaxonomyPicker, IPickerTerm } from "@pnp/spfx-controls-...
1
vote
1answer
26 views

Selecting a date in 2nd date picker clears the 1st date picker (UI Fabric React)

I'm making a SPFx webpart and I've 3 date pickers. See images below. First I start with 3 empty date pickers (oké they looks good) Then I select a pick up date (no problems so far) Then I select a ...
0
votes
0answers
31 views

Connect SPFx webpart and SP list using dynamic data

I know a SPFx webpart can be connected to another SPFx webpart using PropertyPaneDynamicFieldSet and PropertyPaneDynamicField. My question is can a webpart being connected to a SP list? I'll connect ...
1
vote
1answer
36 views

Setting List Item Level Permission for SP 2016 using CSOM

I've been facing a very strange problem lately while working with Sharepoint Permissions using C#. The Scenario: What I want to achieve is to add a Read permission to an item (pdf document) in a ...
0
votes
0answers
12 views

Read all values from a column with “Append Changes to Existing Text” using CSOM

I am trying to read set of items from a SharePoint list where one of the multiline column, has the "Append Changes to Existing Text" property set to true. I tried using REST API and it fetches only ...
0
votes
1answer
34 views

Replace default “new” action to custom created command SPFX

I've created a new extension to SPFx to create a new item for a list. This contains more checks then the default action, because some fields depends on an other field. My question is now how could I ...
1
vote
0answers
18 views

contentclass:“STS_Web” is not working anymore inside our sharepoint online sites

I am working on a sharepoint online classic team site collection, and inside my site collection classic page, i have added a "content search" web part, to show all the sub-sites, here is my query ...
0
votes
0answers
10 views

Issue when debug and publish an extension created with SharePoint Framework Version 1.7 on a SharePoint Server 2019

I create an extension with SharePoint Framework 1.7 with yo @microsoft/sharepoint by selecting the options as indicated below: SharePoint 2019 onwards, including SharePoint Online. Use the current ...
0
votes
1answer
27 views

External User, Programmatic Access

I have got an external LiveID user on my SharePoint Online site, which is still in the first-month trial mode. I assigned this user an Office 365 Business Premium License on my site and then sent him ...
1
vote
2answers
33 views

Upload Multiple Documents to SharePoint Online using C#

I've been trying for a while to make this work, but I'm stuck. I've checked all the solutions around here and google, but can't seem to figure out why I keep getting an error. string targetFolder = "/...
1
vote
1answer
15 views

Sharepoint client.PostAsync(“Url”, null) Gets 401 unauthorized error REST API Xamarin.Forms

I am developing a cross mobile app using Xamarin and I am trying to post some items to a SharePoint List. I have created a windows form app just to test the SharePoint Rest API and it is working good,...
0
votes
0answers
12 views

Can I generate an app user context token in javascript running in a CEWP and pass it to a back end .Net API and run SP REST API queries using it?

We have SP 2013 on premise (will move to SP 2016 / 19 and O365 soon but need to support 2013 for current customers. We want to place a REACT app (javascript code) in a Content Editor or Script Editor ...
1
vote
1answer
35 views

Using Sharepoint Search REST POST API: getting 403 error from HttpWebRequest

I am trying to use the SharePoint Search REST API to do a content search from my c# application. I have no problem using the GET method, but the POST method keeps returning a 403 forbidden error. ...
0
votes
2answers
37 views

Can i using PnP script Update our custom list items “Status” field without affecting the ModifiedBy and Modifed fields

we have a sharepoint online classic team site. and inside the classic team site, we have a custom list titled "Project Management" which have a custom drop down field named "ProjectStatus", which have ...
1
vote
1answer
19 views

Powershell script to check if the migrated document libraires contain all the on-premises verisons

we want to migrate our sharepoint on-premises 2013 sit e to SharePoint online. and some document libraries contain very important documents to us. where these docuemnt libraries have minor and major ...
0
votes
0answers
12 views

Clipboard.getText() not working on sharepoint 2010

I have a gridview that has elements on each cell. I also have a link button to copy a cell in a particular row. I want to copy the cell to a clipboard instead of maybe taking it to a label or textbox. ...
0
votes
1answer
19 views

Access denied while changing ContentTypeId

I got an error when I have Contribute permission for site: Access denied. You do not have permission to perform this action or access this resource. my code is uploading the file and then trying ...
2
votes
1answer
24 views

How can we get the list items from multiple lists using Batch REST API?

I need to load all master data from multiple lists and bind it to from in form dropdown. For that I need to call every list separately. Is there any option to call all the list in one query using ...
0
votes
1answer
34 views

Unable to send email via SPUtility

I am trying to send email via SPUtility by trying the following code: bool blnIsEmailServerSet = SPUtility.IsEmailServerSet(web); bool IsSent; SPSecurity.RunWithElevatedPrivileges(delegate () { ...
0
votes
0answers
20 views

SPHierarchyDataSourceControl doesn't show all hierarchy when user has permission only to Document Library

I am working with SP2013 using SPHierarchyDataSourceControl to show the user a tree with all sites, document Libraries and folders in SiteCollection. I found a bug now: When User has permissions ...
0
votes
1answer
19 views

Can i restrict a App (which is deployed to our app catalog) from being added inside certain site collections

I have developed a client-side web-part by following steps simialr to those mentioned on this link Deploy your client-side web part to a SharePoint page (Hello World part 3) then i deploy the web ...
1
vote
0answers
17 views

How to display signature in SharePoint 2013 mobile version

I am using the following solution to display the a form of a digital signature in SharePoint NewForm of a list. This is the YouTube video for this solution and this is its blog post. But the problem ...
0
votes
1answer
44 views

Programatically add a user to people web part

I'm trying to programatically(c#) add a user to a sharepoint People web part on a modern page but with no success. I try to set the "persons"-property the same way it looks after adding a person ...
0
votes
1answer
38 views

What are the available options that we have to better optimize the horizontal space inside our modern pages

We have a classic online team site where we added a new modern page to it, and we set the modern page as the home page of the site. something as follow- But currently we have, 2 wasted horizontal ...
1
vote
1answer
29 views

How can I create webpack package of SharePoint online for react App?

I can create package of react app for SharePoint online by using "gulp serve" and "gulp package-solution" commands. However, I want to create package by using Webpack. How can I achieve this?
1
vote
1answer
25 views

Programattically Imposing Size and Type Restriction on a List Attachment

I'm using the code below to allow users to upload files as attachments to items in a SharePoint (2010) List. How can I add type and size restrictions to the attachment, for example, if I wanted the ...
1
vote
1answer
57 views

Managing the metadata of Document Sets using C# and CSOM

How to manage the metadata of document sets using C#+CSOM. Any sample code is appreciated. below is the code i tried for creating the document set. .... ..... ContentType ...
4
votes
1answer
93 views

Can i add a JS Link to a list view in modern interface

I have the following JS link , which i have added to classic interface inside our sharepoint on-premises 2013:- (function () { function registerRenderer() { var ctxForm = {}; ...
1
vote
1answer
50 views

Remove User from SP Group without being a Full Control User Programmatically C#

I have a situation where I am creating a "Secondary Admin" role within a custom project I am building. I need the second admin to be able to remove a user from a group without giving the permissions ...
0
votes
1answer
29 views

Capabilities we can have inside remote event receivers

I have an on-premises SharePoint 2013 site, and the site has a custom list, and this list has an event receiver linked to it, where the event receiver do the following steps, when a list item is ...
1
vote
1answer
69 views

SharePoint Online/365 invite external user CSOM PowerShell vs C#

I have a PowerShell script that sends a user an invitation email. Which works. The user I'm testing with gets an email invitation to access the SharePoint site each time I run it. I got the script ...
1
vote
1answer
118 views

How to get ClientContext in Sharepoint Online with JSOM

var context = SP.ClientContext.get_current(); throws this error, Uncaught ReferenceError: SP is not defined the snippet works fine in SharePoint 2013, Are there .js that I need to load? if yes, ...
1
vote
0answers
23 views

Issue with saving attachment to a new list item

I'm having an issue with adding attachements to a newly created SPList Item, the list item is created via a custom submission form built with ASP.NET and C#, I'm using the asp:fileupload control as ...
2
votes
1answer
30 views

How to get custom reusable workflow feature in CSOM?

I have created a custom reusable workflow in SharePoint Designer. I am facing an issue after deployment of workflow. I have to activate the workflow feature with CSOM but I am not able to get that ...
1
vote
0answers
19 views

Insert Look up Fields in list dynamically

I have a scenario in which the user will upload Excel files in a document library created in the Root Web in a predefined format. There are two properties in the document library for SiteName and ...
1
vote
0answers
36 views

How to remove list from site when spfx web part removed?

Modern SPFx web part creates a new list 'abc' using code when it is added to site contents. Now I want to remove list 'abc' automatically when web part is removed from site contents(using code not ...
1
vote
0answers
62 views

How to Generate Audit log Excel Report programmatically in SharePoint Online?

I am using below code to enable Audit report. Microsoft.SharePoint.Client.Site site = targetCtx.Site; Audit audit = site.Audit; targetCtx.Load(site); targetCtx.Load(site.RootWeb); ...
1
vote
1answer
56 views

How to add a GridView to a Visual Web Part?

I'm new to SharePoint and am developing a simple World Clock Visual Web Part, following this blogpost from SharePoint Hero. In the blogpost the instructor describes adding a GridView to the Web Part, ...