Questions tagged [development]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
13 views

"Content Publishing has change.." message when assigning a custom content type to a document library

Inside our SharePoint online site collection >> i created a custom content type named "DC" which has the built-in document content type as its parent. then i went to our document ...
0
votes
0answers
7 views

How i can build a dropdown inside my SPFx which contain the Text & Key to be equal to the Choices'text inside a SharePoint Choice field

I have a SPFx web part with one property named Department:- import { Version } from '@microsoft/sp-core-library'; import { IPropertyPaneConfiguration, IPropertyPaneDropdownOption, ...
0
votes
1answer
1k views

Get size of a ListItem

I've been recently working a lot of scripting with Powershell 2.0 towards SharePoint 2010, tasked with building various scripts that would for example print some information about 10,000 lists, as a ...
0
votes
1answer
21 views

How i can automatically populate my SPFx web part's property field with all choices from a choice field

I have a SPFx web part with one property named Department:- protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration { return { pages: [ { header: { ...
0
votes
0answers
9 views

How to Authenticate to Sharepoint Online Programatically In C#?

i am unable to authenticate to SharePoint online niether CSOM or AppOnly with clientid/cientSecret (appregnew.aspx,appinv.aspx) CSOM connection shows me the sign in username or password isnt one of ...
0
votes
0answers
8 views

show the users' outlook calendar inside SharePoint modern page

I want to add a web part inside our modern page which shows the login user outlook calendar inside a modern page. now i tried to do so using the Embed web part, as follow:- but i got the above error &...
1
vote
2answers
1k views

Log into SharePoint tenant through CSOM with MFA enabled

I need to log into a SharePoint tenant using an admin account that uses MFA. This is the code. var authManager = new OfficeDevPnP.Core.AuthenticationManager(); var context = authManager....
1
vote
1answer
18 views

SharePoint Online C#/CSOM configure the list form

Is there any way via C#/CSOM to set custom JSON formatters for form, I mean the Configure the list form?
2
votes
1answer
1k views

Uploading large files to SharePoint via C# and CSOM

Sharepoint Version: 2016 I have tried many solutions but still am failing. One site which had a possible solution was: http://www.stuartroberts.net/index.php/2014/05/09/sending-large-data-csom/ but ...
1
vote
2answers
979 views

Error while reading the file in SharePoint Document Library

I have developed C# console application using csom to read all the files (excel, doc, slide, pdf) in the SharePoint Document Library and converts to memory stream and retrieved if any external links ...
1
vote
0answers
18 views

How I can force a table <TD> to occupy the full vertical space? [closed]

I want to show 3 boxes of content inside a table inside my SPFx react web part:- I have the following code:- singlenews.tsx:- import * as React from 'react'; import styles from './SingleNews.module....
0
votes
1answer
17 views

Unable to render a table with rowSpan inside my SPFx React web part [closed]

Inside my ReactJs SPFx web part i want to build a table as follow:- <table style="width:100%"> <tr> <td rowspan="2"></td> <td></td> ...
0
votes
0answers
17 views

Show 3 boxes inside 2 columns instead of 3 columns inside my SPFX React sharepoint web part

I am trying to achieve this layout inside my SharePoint SPFx web part:- But currently i have this layout:- Here is my full code and description:- I have a custom list inside my SharePoint online ...
0
votes
0answers
6 views

How i can make a copy of our SPFx web part one version for UAT other for Development inside the same App Catalogue

I have developed an React SPFx web part for our Development SharePoint online site. I want to make another copy of the same SPFx to add it inside the UAT site collection. So my question is; what are ...
0
votes
0answers
12 views

Inside the SPFx web part, how i can get the current site collection url inside the "SharePoint/assets/elements.xml"

I am working on an SPFx web part, which inject a custom css inside the site collection. Now i define the location of the custom css file inside the ClientSideComponentProperties inside the SharePoint/...
5
votes
4answers
9k views

400 Bad request when loading sharepoint site from client

I have this annoying issue when trying to connect to SharePoint site using Microsoft.SharePoint.Client: var url = "https://company.sharepoint.com/sites/ADV-DEV/assigDev/bassie/SitePages/Home"; var ...
1
vote
1answer
1k views

The workflow could not update the item, possibly because one or more columns for the item require a different type of information

I am working on an EnterpriseWiki Site collection, and i define the following workflow which fires when modifying the wiki page,, where its first step is to check if the Wiki page name & title is ...
0
votes
0answers
12 views

Unable to filter the localSharePointresult using the CreatedBy or author fields inside my PnP Modern Search web part

I am using the pnp-modern-search and i have the following Search Result web part:- which mainly searches everything inside a specific site collection. Then i defined the following filter web part, to ...
0
votes
1answer
25 views

Sharepoint Rest API, Get files from a list throwing unknown 500 errors only when a file is present

I've been setting up an app to query a Sharepoint Document list for files (amongst other things). Querying {{mainLink}}sites/{{subsite}}/_api/web/lists/Documents/Files on postman with the following ...
4
votes
2answers
850 views

Strange behavior appears when using Updatepanel on web part in Sharepoint 2013

Strange behavior appears when using Update-panel on web part in Share-point 2013. Everything works fine but after several(2-3 minutes), any action in page cause Full page load. In FF and Chrome post-...
0
votes
1answer
26 views

Available options to build a custom search page with Tabs + Filters

I have a hub site which have 5 sites connected to it. now we are trying to build a custom search page as follow:- with these main features The search should only search the Hub site + the sites ...
0
votes
2answers
953 views

the type or namespace name 'runtime' does not exist in the namespace

I'm writing a deployment application to programmatically deploy site collections and apply templates and master pages. When I try to build the application I get a bunch of errors about a missing ...
0
votes
1answer
908 views

Display/hide control in Webpart based on edit/browse mode

I have a Visual Studio project in which I have created a Visual Webpart. In the user control I have a panel which I want to display in edit mode and hide in browse mode. ASP.NET code snippet: <...
0
votes
1answer
37 views

How to get the current Page title >> then filter list items based on it inside my SPFx web part

I have a custom list named CompanyNews which contain these fields: Title --> Free Text Topic ---> choice which allow multiple selections Where inside the custom list, we will be adding the ...
0
votes
1answer
988 views

validation for this page is invalid and might be corrupted. Please use your web browser's Back button to try your operation again

I am working on 2 classic online team sites. one site is the root which contain the real list, and the other is acting as the infrastructure site which contain some custom scripts and pages which i am ...
0
votes
0answers
22 views

Use search rest api to search in SharePoint list items

I have to search through the SharePoint list item and the content of attachments of the SharePoint list item which is in SharePoint Site A. I have used the below API https://abcv.sharepoint.com//_api/...
1
vote
1answer
36 views

Edit Properties when an item is selected in my SP list

Problem: I would like to add a field (called Project Manager) to the properties form, but the edit button is not available as you can see in the picture below, so I draw it. (I think it should be ...
0
votes
1answer
958 views

Concatenating a javascript variable into a camlQuery

I have a caml query that I'm concatenating with a javascript variable of type string. It queries the column names 'Audience' and returns the first 3 ordered by the newest. The variable subsite gets ...
0
votes
1answer
21 views

Although i am the SharePoint & global admin, i am unable to upload a .css file inside our root site collection's style library [duplicate]

Although i am the SharePoint & global admin, i am unable to upload a .css file inside our Online root site collection's style library, i will get this error:-
0
votes
0answers
29 views

Is there a way to change the Text color for our Upper Menu items + the background-color for the upper menu [duplicate]

Can I change the background-color for our upper menu to be grey and the upper menu text color to be blue, something as follow: I need this to be done for all the pages, and not just to a single page?
1
vote
2answers
2k views

Redirect to Login Page After Session Expired - SharePoint Custom Login Page

I have SharePoint web application. Need to redirect to custom login page after session timeout. Where is the exact location in web.config file to do this redirection or any code behind file or login....
0
votes
0answers
35 views

Retrieving and Moving Files in a Folder with more than 5000 files in it using C#

I currently have a folder with more than 5000 files in it, so when I open the folder to view the files inside it through the UI I get the classic "The attempted operation is prohibited because it ...
0
votes
1answer
843 views

Get list of Sharepoint 2010 workflow parameters using C#/CSOM

If I have a SharePoint 2010 workflow with an initiation form which contains several fields/ parameters. Example: Name, Address, Email, is it possible to get a list of the parameters using C# and CSOM?...
1
vote
1answer
1k views

Using the SharePoint Search for a specific library in CSOM

I want to replicate the search function but only return results which exist in a specific library. By using the below code I am managing to return the ListItem and load its folder and properties, but ...
0
votes
0answers
26 views

Modify my SPFx web part to read css file instead of writing the css code inside the web part

I have built a web part which is similar to this web part from github @ https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-enhanced-list-formatting . The web part allow to embed custom ...
0
votes
1answer
29 views

"gulp serve" is returning this error "Cannot GET /temp/workbench.html" when open "https://localhost:4321/temp/workbench.html"

I want to create an SPFx web part, so i run these commands:- yo @microsoft/sharepoint gulp serve then when i try to run gulp serve, i got this error:- Cannot GET /temp/workbench.html here is the ...
0
votes
1answer
70 views

"gulp serve" will return this error "ReferenceError: primordials is not defined"

I have 2 versions of node.js, as follow:- Your environment has been set up for using Node.js 17.1.0 (x64) and npm. C:\Windows\System32>nvm list 16.13.0 8.16.2 Now i am trying to run gulp ...
0
votes
1answer
18 views

Can i donwload an App from the App Catalog and install it inside another tenant

I have developed a custom SPFx web part and upload it inside a tenant, as follow:- now i want to install the same App inside another tenant, so can i simply download the above sppkg App and install ...
0
votes
1answer
49 views

gulp build is raising this Error - [tslint] Error: Cannot find module '@microsoft/rush-stack-compiler-3.2'

I want to install this web part from hhttps://github.com/AsishP/SPFxWebParts , but when i run this command gulp build i got this error Error - [tslint] Error: Cannot find module '@microsoft/rush-stack-...
0
votes
0answers
14 views

Is there any SPFx web part which I can use to inject custom CSS files inside different modern pages by specifying the custom CSS file URL [duplicate]

I am starting this non-standard project for a SharePoint Online tenant: The client has created 10 modern pages that will be defined as templates. Inside each of the 10 modern pages we need to inject ...
1
vote
0answers
36 views

Are there any available SPFx web part which can allow to inject custom CSS files inside modern pages, without the ability to inject custom JavaScript?

I am starting this new project for a SharePoint Online tenant: The client has created 10 modern pages that will be defined as templates. Inside each of the 10 modern pages we need to inject custom ...
2
votes
2answers
4k views

Can we move/copy a customized list forms (using power app) from one tenant to another

I have a communication SharePoint online site collection inside tenantA, the site collection has 3 power-apps which were used to customize its list forms. now i used those 2 commands to re-create the ...
0
votes
1answer
26 views

What are the risks (if any) if we install the react-script-editor web part inside our SharePoint online tenant

I am working on a new SharePoint online tenant, and one of the requirements is to have a modern web part that is similar to the popular on-premises/classic Script Editor web part. so i found this SPfx ...
1
vote
1answer
28 views

Can we restrict adding our custom React web part to the site collection home page only

I have developed a custom web part using these steps for our SharePoint online communication site:- md spfx-MyModalPopup cd spfx-MyModalPopup yo @microsoft/sharepoint Chose SharePoint online + ...
0
votes
1answer
981 views

Hover images(Enlarge image on Mouse Hover) from SharePoint list 2013

We had SharePoint list with image column. Our request, when some one keep mouse on image column, picture need to enlarge(hover). Can someone suggest direct how to achieve with code. Thanks in advance ...
0
votes
1answer
1k views

Horizontal layout of list items

I have added a contact list to my team site (and I am showing only 2 fields; Name & Tele). Now I can control the Number of items to display inside the view, without any problem. My question is ...
7
votes
2answers
18k views

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

I am trying to Load list items in lazy load like Facebook. I have a grid that loads data from a list, and that list may have up to 5000 items and to load all those Items in grid it takes a lot of ...
0
votes
0answers
9 views

Is there a difference between the /Files endpoint and the /Children endpoint with the Sharepoint Rest API

I'm currently working out how to iterate through files on a sharepoint using rest. Ultimately I'll have to get all files from a folder, do stuff, and then upload to another folder. From what I can ...
0
votes
0answers
16 views

How i can get the Web Part properties from a sharePoint list intead of getting them from the Web Part's PropertyPaneConfiguration

I have built a Web Part which have the following:- Inside the Web Part settings page >> there are 2 fields named as "Who We Are" & "Our Value" which allow the user to ...
1
vote
2answers
849 views

Apply-PnPProvisioningTemplate : The specified user c:0t.c|tenant|5*****c could not be found

I want to copy a site collection from one tenant to another. insdie the source i run this command:- Get-PnPProvisioningTemplate -Out c:\template20.pnp -IncludeSiteCollectionTermGroup inside the ...

1
2 3 4 5
89