1,616 questions with SharePoint Server Development tags

Sort by: Updated
1 answer

SPEventReceiverStatus.CancelNoError is showing error even though it is not supposed to

I am developing GroupUserAdding event receiver in which I am using SPEventReceiverStatus.CancelNoError but it is still throwing error Sorry, something went wrong when someone tries to add user in group. It is for SharePoint 2016. Why is this throwing…

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2024-10-15T17:28:37.7566667+00:00
Frank Martin 456 Reputation points
commented 2024-10-18T10:17:52.8166667+00:00
Frank Martin 456 Reputation points
1 answer

I need help with PowerShell script to disable search indexing on a list of sites and subsites.

I have cobbled together this script to disable search indexing of sites listed in the sites.txt file, but I'm having trouble figuring out how to apply the same change to all subsites under the sites.txt list. Any PowerShell SMEs who are familiar with…

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,551 questions
asked 2024-10-17T17:33:42.5033333+00:00
Vincent Collogan 26 Reputation points
edited the question 2024-10-18T06:01:29.3166667+00:00
Yanli Jiang - MSFT 26,091 Reputation points Microsoft Vendor
1 answer

500 INTERNAL SERVER ERROR on my new sharepoint 2019 communication site

I recently started noticing the 500 Internal Server Issue when going back from pages on my SharePoint site. What cause this issue and what's the best method of resolving this? Any screenshots are welcomed. Thanks!

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,354 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,737 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,952 questions
asked 2023-04-28T13:47:21.17+00:00
Tevon 35 Reputation points
commented 2024-10-17T20:19:37.8633333+00:00
Alma Shala 0 Reputation points
2 answers

How to enable Outbound SMTP server port box for email configuration in SharePoint 2010?

Hi Team, We are configuring Outgoing email for our web application but we are enable to see Outbound SMTP server port box in SharePoint 2010, please provide any alternate solution for putting the port number for the email configuration. Note: Just want…

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2024-10-16T05:42:45.51+00:00
Sunny Rastogi 106 Reputation points
commented 2024-10-17T06:15:11.95+00:00
Xyza Xue_MSFT 24,896 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Sharepoint on prem one drive and authentication issue

Scenario : We have a SharePoint On-prem setup in our organization, We are trying to authenticate our users through EntraID and have setup OIDC using the following documentation…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
6,932 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,737 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,952 questions
asked 2024-10-10T11:37:24.0533333+00:00
Hamza Ashraf 20 Reputation points
answered 2024-10-16T05:00:00.46+00:00
Hamza Ashraf 20 Reputation points
2 answers

How to Control File Previews with IRM Enabled in SharePoint Server 2019 Modern UI

We have enabled Information Rights Management (IRM) on a document library in SharePoint Server 2019. In the modern UI, users are able to preview files and images even though they are IRM-protected, and the previews are not encrypted. We would like to…

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,952 questions
asked 2024-10-09T12:22:44.64+00:00
PratikSavla 25 Reputation points
commented 2024-10-16T02:14:11.8366667+00:00
RaytheonXie_MSFT 35,866 Reputation points Microsoft Vendor
1 answer

Custom Error Message is not displaying for Remote Event Receiver

Custom Error Message is not displaying in Modern UI when a remote event receiver returns a status of SPRemoteEventServiceStatus.CancelWithError and an error message. It works as expected in classic UI. We use a Remote Event Receiver to determine if a…

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2024-10-14T06:56:00.09+00:00
Lars Kohsel 0 Reputation points
commented 2024-10-15T06:23:17.17+00:00
Lars Kohsel 0 Reputation points
9 answers

How to display time in dropdown select format.

How can get the below time format like below where the time is in drop down format in customized SharePoint form (Formed customized using InfoPath).

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2024-10-07T10:29:33.94+00:00
Vk 0 Reputation points
commented 2024-10-14T05:30:37.3866667+00:00
Ling Zhou_MSFT 17,550 Reputation points Microsoft Vendor
3 answers

In SharePoint 2016, the <Mapping> element allowed you to specify a URL to be invoked when clicking on a file name based on file extensions. What is the recommended replacement in SharePoint 2019/2021 to achieve similar functionality?

The <Mapping> element in SharePoint 2016 allowed the configuration of custom actions, such as invoking a URL when a user clicked on a file name, based on the file’s extension. This feature is no longer available in SharePoint 2019. What is the…

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2024-09-16T13:43:32.85+00:00
PratikSavla 25 Reputation points
commented 2024-10-11T07:54:49.8433333+00:00
Ling Zhou_MSFT 17,550 Reputation points Microsoft Vendor
1 answer

Implementing a Custom File Handler for Document Library in SharePoint Server 2019 Modern UI

How can a custom file handler be created for a document library in SharePoint Server 2019 modern UI? The objective is to intercept and handle file actions when the file name is clicked by users. Any guidance on implementation and best practices for…

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,006 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2024-10-09T12:18:25.1466667+00:00
PratikSavla 25 Reputation points
answered 2024-10-10T07:40:11.7866667+00:00
AllenXu-MSFT 20,666 Reputation points Microsoft Vendor
1 answer

Challenges in Moving Files from Private SharePoint Group Folders to Archive Sites in the SharePoint Admin Center

Objectives: We are moving files from specific folders within our private SharePoint group to archive sites in the SharePoint Admin center, but we are encountering issues during the process. 1. We are not seeing any data on the API access page. Here is…

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
340 questions
asked 2024-09-30T07:05:53.3666667+00:00
Fahad Khan 0 Reputation points
commented 2024-10-07T06:32:44.3733333+00:00
Xyza Xue_MSFT 24,896 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Workflow Error

I am encountering a "failed on start" error with my SharePoint 2019 workflows. Can anyone provide some guidance on how to resolve this issue? Thanks.

SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
589 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2024-09-26T10:26:58.17+00:00
Feline Lemant 80 Reputation points
accepted 2024-09-30T05:57:35.9233333+00:00
Feline Lemant 80 Reputation points
1 answer

On what basis SPWeb.SiteUserInfoList.IsActive field of SiteUserInfoList property decides inactive/active sharepoint users?

I want to fetch the inactive sharepoint users from a particular sharepoint site. But I need to know the criteria( lastLogonTime or lastPasswordSet or actions performed in the site,etc) of deciding both active and inactive users based on a sharepoint…

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,354 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,737 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,006 questions
SharePoint Workflow
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
589 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2023-02-23T05:46:04.5933333+00:00
unkown_25 0 Reputation points
commented 2024-09-26T19:08:18+00:00
Oliver Tech 41 Reputation points
1 answer

how to download or save files from document library to user end ( client side )

i am using SharePoint 2019 with c# ( visual web part ) SSOM and jQuery, JavaScript and jsom ( on prem ) Solution Required : I want to give a download all button when user click on it so all files from document library ( lets say document library name…

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2024-09-25T06:48:26.0566667+00:00
Mohammad Qasim 576 Reputation points
commented 2024-09-26T09:38:06.3066667+00:00
Yanli Jiang - MSFT 26,091 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

SharePoint Online getting error "Column 'Attachments' does not exist. It may have been deleted by another user" when i try to retrive item properties via CSOMs

I am trying to read/get properties of SP document using csom it was working fine until last week. But now suddenly getting error "Column 'Attachments' does not exist. It may have been deleted by another user". This was working since many years…

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,006 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2023-10-18T03:37:53.12+00:00
Ravi Nalla 126 Reputation points
accepted 2024-09-24T06:21:37.2933333+00:00
Ravi Nalla 126 Reputation points
3 answers

SPTimerService (SPTimerV4) Failing on SP Server 2019

Seeking advice on how to fix the failing SPTimerService (SPTimerV4) status on SP Server 2019 on-prim.

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,952 questions
asked 2022-12-08T16:47:42.257+00:00
Tevon2.0 1,106 Reputation points
answered 2024-09-19T09:38:19.4533333+00:00
Alma Shala 0 Reputation points
4 answers

Why do all web parts in a site page show as ErrorWebPart when using Powershell

When using PowerShell to try modifying web parts on a site page (SP 2013/2016), all web parts (CEWP, CQWP, List, etc...) read as ErrorWebPart. I read some really dated posts on this issue, but never found a good solution for PowerShell. I also read that…

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,537 questions
asked 2022-05-13T21:14:59.17+00:00
Ramsey, Dwayne 21 Reputation points
commented 2024-09-12T18:32:11.9166667+00:00
Michael Koger 0 Reputation points
1 answer

SharePoint Designer 2013 won't connect to some of my SharePoint 2019 sites (intermittent issue)

I am attempting to open my SharePoint 2019 site on SharePoint designer 2013 but t is now providing an error stating "Microsoft SharePoint Designer does not support editing non-SharePoint sites. "I have checked the event viewer logs on my server…

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2024-08-10T00:26:35.1066667+00:00
Delaney Troop 0 Reputation points
edited the question 2024-09-11T09:06:58.8633333+00:00
Xyza Xue_MSFT 24,896 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Is the on-premise Sharepoint API the same as hosted Sharepoint?

Hi folks, are the APIs for hosted SharePoint and Sharepoint Server (what I understand to be the name for on-prem Sharepoint) the same? There must be differences in versioning/compatibility. I searched the docs but couldn't find any place where that's…

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,006 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
asked 2024-08-05T16:02:55.5566667+00:00
Ala Dewberry 20 Reputation points
edited the question 2024-09-11T09:04:47.17+00:00
Xyza Xue_MSFT 24,896 Reputation points Microsoft Vendor
1 answer

How to find the last 10 login user IDs and timestamps in SharePoint 2016 on premises using PowerShell

we are using SharePoint 2016 On premises version in our organization, we need usage details of the sites in sharepoint along with the last accessed time & user Id details. we need to know who viewed the sites and when they accessed it last…

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,616 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,551 questions
asked 2024-08-13T05:24:15.6466667+00:00
C Pradeep 0 Reputation points
edited the question 2024-09-11T08:58:49.07+00:00
Ling Zhou_MSFT 17,550 Reputation points Microsoft Vendor