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
0answers
12 views

How we need to manage the App Secret expiry without having any downtime

I have have been working with remote event receivers for long time but i have never thought that they actually get expired, so based on this link @ https://docs.microsoft.com/en-us/sharepoint/dev/sp-...
0
votes
0answers
11 views

My SharePoint Add-in which implement a Remote Event Receiver is raising this error:- “This App's Credentials have expired”

I have a sharepoint add-in which implement a remote event receiver, and today i wanted to add it inside a new site, but when i try to add the sharepoint add-in the got this error:- now i have ...
0
votes
0answers
6 views

Remote event Reciever app is showing this error “[SecurityTokenSignatureKeyNotFoundException: IDX10501: Signature validation failed”

I have a remote event receiver deployed inside Azure, and it is working well for 2 years. but yesterday i noted that the RER is not longer working !! now i went to site content >> click on the ...
0
votes
0answers
21 views

Looking to export word template from SharePoint Rich Text content field

I want to print SharePoint enhanced rich text field which has multiple tables and images, on word document by using C#. I've tried SSRS but no luck yet and searched for different libraries but all are ...
0
votes
3answers
41 views

Can I hide the upper menu “SuiteNavWrapper” inside a single modern page

I want to hide the SuiteNavWrapper inside a single sharepoint modern page.. so is this possible? I added a modern script editor web-part, and i added this custom CSS:- #SuiteNavWrapper {display:none;}...
0
votes
0answers
25 views

How i can show all the list items (without scroll bar) inside the Embed web part inside our modern page

I have a list with around 8++ items, as follow:- and i am embedding this list view inside a modern sharepoint page, using this iframe:- <iframe src="https://***.sharepoint.com/sites/...
0
votes
1answer
42 views

Can we force a sharepoint modern page to auto refresh each N minutes

We have a modern sharepoint page, and we have adding many lists' views to it using the List modern web part:- but we have noted that any modifications we make to the underlying lists (such as add, ...
0
votes
1answer
25 views

How can I always force the customized Power App list forms to show inside mobile app?

I have a custom list where I customized its list forms using power app, now if I use the mobile app >> I go directly to the list >> click on new >> I will not get the power app forms,...
0
votes
0answers
21 views

Create a re-usable App for a list and its MS Flow

I have created a list + MS Flow for it, here are the main components:- 5 site columns Custom Site content type which has the "Item" site content type as its parent. the Custom site ...
1
vote
2answers
29 views

Unable to permanently change the font size and weight inside a sharepoint modern page (the class name keeps changinag)

I have added the list modern web part inside a sharepoint modern page >> and i need to change the font size and weight >> so using the F12 dev tools i inspected the related class (.root-...
0
votes
1answer
20 views

Assigning or creating customized permissions for user/groups of Sharepoint via REST API using c# asp.net core

I am trying to assign customized permissions to users/groups of SharePoint via the REST API. But from Microsft Graph we have only API to assign folder level permissions (read, write, full control). ...
0
votes
1answer
48 views

The remote server returned an error: (403) Forbidden error coming while running powershell script after migrating SP 2013 site to SharePoint Online

Dear PowerShell Experts, We have below script and working fine on SharePoint 2013 Environment but its not working on SharePoint Online. While running, we are getting error message as "Add-Content ...
0
votes
0answers
14 views

User control FindControl in CA application page

We have a custom Action with open a application page. With SharePoint delegate Control we have added 2 user Control in the application page. In the application page we have button and in the button ...
0
votes
0answers
26 views

customvalidator firing twice

I have a user Control with following controls in it function textChange() { var validator = document.getElementById('<%=CustomValidatorTaskTemplateFields.ClientID %>'); $("...
0
votes
0answers
32 views

Break inheritance item level access denied on upload by another user

I have a document library custom view that shows only the documents that the user has access to. Already implemented solution: View that breaks inheritance on item level and assigns only the author as ...
0
votes
1answer
22 views

Can we disable remote event receiver from firing inside remote event receiver

I am writing a remote event receiver for our online custom list, and the RER itself do some updates to the item been added/updated, where this is causing my RER to keep firing. so is there a way when ...
0
votes
0answers
10 views

C# WordAddIn connect to Sharepoint

I am trying to write a word-addin in visual-studio that pulls content from a sharepoint list. When I execute it I get a "System.Net.WebException 403 forbidden" issue. Full message: System....
0
votes
1answer
19 views

Inviting external users to SharePoint site programmatically (C#) is not working

I am trying to invite external users to the SharePoint site programmatically, but I am not receiving the invitation. When I tried it manually and with PowerShell it worked. But it doesn't really work ...
0
votes
1answer
33 views

Tree-hierarchy for 3 sharepoint lists using the https://gijgo.com/tree .. any help please

I have the below 3 SharePoint lists, and using the REST APIs i am getting the data as follow:- 1- List named named "Department", here is the json for the items "value":[ {"...
0
votes
0answers
61 views

C# CSOM PnP AuthenticationManager Connection Issue

Environment: SharePoint Online (Office 365) Visual Studio 2019 .NET Framework 4.5.2 SharePoint PnP Core Online 3.8.1904 Microsoft SharePoint Online CSOM 16.1.8715.1200 I created a console ...
0
votes
1answer
38 views

How we can build a sharepoint field which is Read-only + visible inside the list setting (similar to the created and created by built-in fields)

when building a sharepoint list, i always have a requirement to have a field which can not be edited using the list forms + can not be edited using quick edit grid >> so i always set the field ...
1
vote
2answers
30 views

Inside CSOM what does Web.SiteUsers include exactly

I am a bit confused on what does Web.SiteUsers include in CSOM? as per the documentation it includes the users which belong to a site collection, but what does belong mean? Does it mean users who have ...
0
votes
0answers
31 views

Web app in SharePoint

For a school project, I have to make a web application that would run on a kiosk. Where visitors authenticate themselves with their ID card, that prints a sticker with their data read off the ID card, ...
0
votes
1answer
19 views

Get outgoing email settings for current web application via REST or CSOM?

I am working on a SP2013 workflow custom code activity to allow sending an email with attachments, where the email attachments are the SharePoint attachments of the current list item. I got some proof-...
2
votes
0answers
69 views

Getting ClientContext in SharePoint CSOM

I am developing several Azure Functions using the CSOM API for SharePoint. The main functionality is creating PDF's for various purposes and uploading these to SharePoint with CSOM. I have followed ...
1
vote
0answers
22 views

What info about the current item or workflow context is available in the CodeActivityContext object in a SP 2013 workflow custom code activity?

I am looking at creating a custom code activity for SP 2013 workflows (i.e. C# code that will be run by the Workflow Manager service), and then creating a custom workflow action for it to expose it in ...
0
votes
0answers
23 views

checkedout document error “This element is not available. Possibly deleted by another user”

I have a list item id of the document library checked out document and when I get the list item like this: SPListItem item = list.GetItemByIdSelectedFields(Convert.ToInt32(itemID, CultureInfo....
0
votes
0answers
10 views

Page.ClientScript.RegisterStartupScript is not invoking the javascript function on ASPX page

Below is my code structure. ASPX: <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript" src="../jquery-2.1.3.js&...
0
votes
0answers
15 views

Click events clear data in web part

I have a client who is migrating from SharePoint 2010 to SharePoint 2016. They are on-prem, they actually own and manage the servers. They have a dozen or so server-based applications (WSPs) I built ...
0
votes
0answers
9 views

In C#, can I do either do a KeywordQuery or something KeywordQuery like which will treat spaces and underscores interchangibly?

For my current employer, I've implemented a solution which searchs our sharepoint for contract whose filenames match a list "Order Numbers" (which are not really numbers). These "Order ...
0
votes
1answer
31 views

Refer to the entire list count instead of View count

I have this HTML code snippet, which is supposed to count the existing list items, to be used for token generation by adding 1 to it. But somehow its only counting the items that end user is able to ...
0
votes
0answers
23 views

C#, PowerShell to copy files from File share folder to SharePoint on prem doc library

I am looking for some help to either have powershell code or c# console app to automate copying/moving of files from file share to SharePoint on prem 2019 doc library. If the file already exists in ...
0
votes
2answers
38 views

Fast site creation with CSOM

I am working on a small api that creates site collections in SharePoint 2019. Since SharePoint 2016, fast site creation feature is available with "New-SPSite" command in PowerShell (-...
0
votes
1answer
39 views

Sharepoint 2013 - Pop-up window before sharing to everyone

I'd like to warn users before sharing a file or a site to "Everyone" by showing a pop up. Is there a way to do this ? Otherwise, is there a way to block sharing to everyone ? Thank you for ...
0
votes
2answers
42 views

Rename “Version comments” inside the document library's Upload.aspx page

When i open the Upload.aspx page for an online document library inside a new tab , i will get these fields:- My question is if i can rename the "Version Comments" field? i access the ...
0
votes
2answers
40 views

Is there a way to hide the “Share” button from all the sharepoint online pages

Is there a way to hide the Share button from all the SharePoint online pages:- thanks
0
votes
1answer
11 views

Why is SearchExecutor returning results in inconsistent formats and what can I do about it?

I use the following method to find List<File> on our SharePoint site: private async Task<List<File>> FindAsync(ClientContext clientContext, KeywordQuery keywordQuery) { ...
0
votes
1answer
29 views

Unable to get a github repository either by downloading the Zip file or cloning

I want to install the Script Editor Webpart from this url @ https://github.com/pnp/sp-dev-fx-webparts.. but if i try to download the zip file it will break in the middle + i tried to use the GitHub ...
0
votes
3answers
58 views

must I need to use C# and CSOM to conect to the Sharepoint rest web api?

I recently had a question and how to connect to the REST web api using c# and it gave a hard time trying to connect, documentation does not give any clue how to use the rest web api(code) but ...
0
votes
0answers
17 views

ApplyWebConfigModifications add an old entries

I need to add a new entry in the web.Config, the script add and remove the entry, but with an old and unwanted entry: function addWebConfigModifications($WebApplication){ $sharePointDLL = $ENV:...
0
votes
1answer
26 views

How to make request to webapi in to Sharepoint Online(SPO) c#?

there is not solid documentation about how to make calls to sharepoint online web api, in MSN documentation it infers that you are developing an add-in for sharepoint, I'm just making a test in c#. I'...
0
votes
1answer
32 views

In C# with CSOM, How can I copy a file from a known location to a known Folder?

I have one function which uses SearchExecutor finds to find the path of a specified file, which returns a string like. https://example.sharepoint.com/sites/DevelopementTestingSite/Shared Documents/...
1
vote
1answer
35 views

Approve/Reject MS Flow from Power Apps

I want to add the MS Flow Approval Page inside a SharePoint modern page (i wrote another question regarding this @ Embed MS Flow Approvals page inside a modern sharepoint page using iframe ), and ...
1
vote
1answer
13 views

Help with nested If statements that format a phone number based on country

I am trying to create a calculated column with nested if statements. Due to my users not wanting to format the phone number correctly I am creating this new column to take the phone number in the ...
0
votes
3answers
204 views

Can i map the word document properties inside SharePoint document library

Inside MS word document we have the following properties:- and my question is if we can map these properties inside SharePoint document library? so for example i can populate the above properties ...
0
votes
1answer
33 views

RegionalSettings.TimeZone.UTCToLocalTime will always return 01/01/0001 00:00:00

I have the following CSOM code inside my C# console application:- var regionalSettings = context.Web.RegionalSettings; var localDueDate = regionalSettings.TimeZone.UTCToLocalTime(itemversion.Created)....
0
votes
2answers
48 views

Inside my CSOM code how to convert UTC date time into date time as per the regional settings for the site collection

I have the following code to get the Created date time for a list item:- ((DateTime)item.Created).ToString("dd MMMM yyyy HH:mm:ss") + " )" now the date time i will get will be in ...
0
votes
0answers
26 views

Azure Function Updating user profile using SharePoint Online and CSOM .NET Standard gives access denied

I have Azure Function v3 and I want to update Sharepoint user profile properties with CSOM and .NET standard 2.0 by using global admin account credentials. Reading is working. I can change other users'...
0
votes
1answer
26 views

Why on some lists i can do item-level edit while on others i can not

I am working on custom lists inside 2 site collections on the same tenant. On the first site >> when i click on a list item >> a popup will open >>where i can do an item level edit ...
0
votes
1answer
27 views

Do i need to Issue ListItem.Update(), when i am executing these commands ( ListItem.ResetRoleInheritance() + ListItem.RoleAssignments.Add() )

I am working on a remote event receiver inside SharePoint online custom list. now inside the RER i am getting the item been updated, then reset its role inheritance + add users to the item permission, ...

1
2 3 4 5
87