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
14 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
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 &...
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: { ...
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?
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/...
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 ...
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
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
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/...
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?
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
50 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-...
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 ...
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 ...
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 ...
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
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
0answers
32 views

Can I show a Rich Text inside Popup for our SPFX web part instead of Plain-Text

I want to build an SPFX web part which render 2 buttons and when the user clicks on the buttons, 2 Popups should be shown + have 2 fields ("Who We Are" & "Our Value") to enter ...
0
votes
1answer
23 views

How i can define 2 .tsx files where each file render a different text

I want to build an SPFX web part which render 2 buttons and when the user clicks on the button 2 popup should be shown + have 2 fields to enter the 2 Popups text, something as follow:- So i did the ...
1
vote
0answers
27 views

Error - [tsc] node_modules/@fluentui/react/lib/components/ContextualMenu/ContextualMenu.types.d.ts(13,35): error TS1005: ';' expected

I am trying to develop this SPFX inside our SharePoint online site @ Model pop up in SPFX Where I did the following steps, but I got the below errors:- Your environment has been set up for using Node....
0
votes
1answer
21 views

Is there a way to show Quick Links were some of these quick links open in a modal popup

I want to add this Quick link inside our SharePoint online: Where the HR System & Our People will open links from external system and a SharePoint page. while when the users clicks on Who we are ...
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
0answers
23 views

Format a Date Field & a People or Group Field inside our PnP Modern Search web part

I have added the PnP Modern Search v4 web part inside our SharePoint Online tenant from this url @ https://github.com/microsoft-search/pnp-modern-search/releases/tag/4.4.1 . Now i define the following ...
0
votes
0answers
30 views

Unable to filter the PnP-modern-search web part

I have added the PnP Modern Search v4 web part inside our SharePoint Online tenant from this url @ https://github.com/microsoft-search/pnp-modern-search/releases/tag/4.4.1 . Now i define the following ...
0
votes
0answers
30 views

PnP Modern Search v4 web part is not working. Unable to filter based on the content type

I have added the PnP Modern Search v4 web part inside our SharePoint Online tenant from this url @ https://github.com/microsoft-search/pnp-modern-search/releases/tag/4.4.1 . Then i tried to show items ...
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
17 views

Accessing a SharePoint site using SharePoint mobile app will not load the Power App customized list form

We have a SharePoint online site collection >> and inside a custom list we have customized the list form using Power Apps. now if using the mobile browser or a PC browser >> we accessed ...
1
vote
1answer
27 views

Can we ONLY customize the Display/View SharePoint list form using Power Apps, while keep using the SharePoint built-in Create/Edit list forms

Inside our SharePoint online communication site >> we want to customize the View/Display list form for a custom list using Power App while keep using the built-in SharePoint Create & Edit ...
0
votes
1answer
29 views

Inside our Details List View; can we show 3 tabs to show a Parent list item, Child-1 list item and Child-2 list item

We have a SharePoint online communication site, and it contains these 3 custom lists: Master List Child-1 List which contain a lookup column to the Master list Child-2 List which contain a lookup ...
0
votes
1answer
39 views

Change the Button colors, Font Color & Font Family for our SharePoint online modern UI

We have the following modern UI: Where we are trying to get the below UI, which have the following changes: Button color is different, Font Family is different & Font size/color is different , as ...
0
votes
1answer
29 views

SPFx web part which render an HTML BOX which have a configurable Title, Description and Clickable Button

I want to build an SPFx web part, which should allow me to display this Box: Where the Box will have a configurable Title, Description text & clickable button. So the user can add this web part ...
1
vote
1answer
43 views

How to get Shared by and Shared To properties of Sharing links from a document from SharePoint Online using CSOM C#

We have a requirement to retrieve all sharing links from particular document of document library via SharePoint CSOM C#. We are able to get Anonymous sharing links and Organization Sharing links using ...
0
votes
0answers
12 views

Microsoft.SharePoint.Client.ServerException: 'Value does not fall within the expected range.'

I am getting an error when executing below code: ListItemCollection listItems = documentList.GetItems(camlQuery); _clientContext.Load(listItems, items => items.Include( item =&...
1
vote
1answer
8 views

Unable to show the lookup field in datagrid view using CSOM sharepoint online

private void btnGetdata_Click(object sender, EventArgs e) { try { string WebUrl = this.listUrl.Text; string lib = this.txtLib.Text; ...
0
votes
0answers
19 views

How to convert from Microsoft.Sharepoint.Client.ListItem to Microsoft.Sharepoint.Client.File?

I am trying to convert Microsoft.Sharepoint.Client.ListItem to Microsoft.Sharepoint.Client.File. What I have tried returns Cannot convert type 'Microsoft.Sharepoint.Client.ListItem' to 'Microsoft....
0
votes
0answers
7 views

How to get specific info from a SharePoint list element inside a gridview rowcommand to a new aspx?

I'm trying to get this SharePoint list inside my gridview the information that the rows have and by clicking on a rowcommand travel this info to a new aspx to show it in the new one -- C# ASP.NET ...
0
votes
1answer
14 views

base64ToBinary(body('Parse_JSON__-_Current_item')?['imageData']?['data']?['$binary']?['base64'])' cannot be evaluated

I have the following action:- but on run-time , i am getting this error on some items:- Unable to process template language expressions in action 'Compose_-Convert_Base64ToBinary_2' inputs at line '...
0
votes
0answers
24 views

CSOM Search API file Modified date incorrect

I am using the SharePoint CSOM Search API and it appears the Modified property is returning the documents metadata Modified date instead of the SharePoint Modified date you would see a collection view....

1
2 3 4 5
89