Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
0answers
6 views

Calculated column formula for an expiry date based on drop down selection

I have a dropdown list named “Expiry Period” with options as follow:- Yearly Monthly 2 weeks 1 week Other options might be added later on Now I want to create a calculated column named “Expiry Date”...
0
votes
1answer
19 views

The remote server returned an error (401) unauthorized

I have install a fresh version of SharePoint 2019 which is on domain A,then i added a second computer to A which will be hosting websites on IIS. I have created a console application just for testing ...
0
votes
0answers
5 views

Where inside my page layout i need to register Page.ClientScript.RegisterOnSubmitStatement?

I were searching for an approach to add a validation on a Date field inside my enterprisewiki.aspx page layout, the validation to check if the Date >= Today. so finally i find this appraoch http://...
1
vote
1answer
27 views

Unable to read doc extension file from SharePoint 2019

I am using the code below to read files from SharePoint 2019 server. It works perfectly for docx file extension but with doc files it throw an error. Can you guy s help me out here please? using (...
1
vote
1answer
14 views

Fuzzy Search in File content

My scenario : I am testing the search engine in SharePoint 2019 server. What i found out is that fuzzy search works in this way WORD then after i can place an asterisk(WORD*). What i am trying to ...
0
votes
0answers
27 views

Using SharePoint search API to crawl document with c#

My scenario : I have a SharePoint 2019 server that contain some documents with different file extension (ppt,doc,docx,xls,xlsx,pdf etc). I have manually forced indexing and crawling to make sure my ...
0
votes
1answer
16 views

How to get existing template (or) look and feel old farm to new farm in SharePoint 2013

I am new SharePoint. We are using SharePoint 2013 environment for our project, under that so many sub-sites are created. Now we setup new farm 2013 for Development purpose. In our current farm(...
1
vote
3answers
66 views

Unable to add a validation for our enterprise wiki pages' fields.. Error “List Data Validation Failed”

I am working on an enterprise wiki site collection inside sharepoint 2013 farm. i have a custom date field named "ExpireDate", and i added a validation inside the Pages library's Validation settings, ...
0
votes
1answer
19 views

Creating Custom WebPart — RangeErrror / TypError trying to access data from a file

Hi I'm new to using SharePoint and I'm trying to transfer over an Employee Directory Search app from a website to SharePoint Foundation 2013. I'm not able to use the same code in my .JS file and am ...
1
vote
1answer
32 views

Powershell command to update enterprise wiki pages without changing modified, modifiedby + do not trigger ER or workflows

I am working on an enterprise wiki site collection inside sharepoint server 2013 professional farm. now i want to write a power-shell command to update some custom fields values for the wiki pages, ...
0
votes
1answer
22 views

Error when trying to access site columns “Field type BambooKBRichText is not installed properly. Go to the list settings page to delete this field. ”

I am working on a sharepoint famr 2013 professional, and inside an enterprise wiki site collection, when i tried to access the "Site columns" to create a new site column i got this error:- now i ...
0
votes
1answer
11 views

Conditions for the programmatically created Dropdown list do not work

The conditions for the programmatically created DropdownList do not work. When I click on CopyData, condition does not work and the DropdownList is reset to the beginning. <asp:DropDownList ID="...
0
votes
1answer
39 views

Read content of a file and display the result

My scenario: I am using SharePoint 2019, I am using the code below to search for a particular word in all the files found on the site. Once the files with the word that is queried is found, I want ...
1
vote
0answers
17 views

Difference between List.ContentTypesEnabled & List.AllowContentTypes

I would like to enable content types on lists with REST. Microsoft says this about these properties: List.AllowContentTypes: Gets a value that specifies whether the list supports content types. ...
1
vote
0answers
12 views

SharePoint C# move attachment and keep creation values in SP 2019

We want to copy item attachments from one Item in one site collection to another item in a different site collection using C# (Server Side Object Model). Is it possible to keep or replicate the ...
0
votes
0answers
23 views

SharePoint 2019 rest search api not working

My scenario: I am having an issue that if i try to search for a content in a file it returns null. I have make sure to manually re index both the site and the list. I have then force a manual ...
0
votes
2answers
28 views

How to authenticate to use SharePoint rest api

I am using the code below and am getting unauthorized access. Can you guys show me what i am missing here.I am using SharePoint 2019. string URL = "http://sharepoint/sites/test/_api/search/query?...
0
votes
1answer
16 views

Layout - enlarge multi-value fields using designer

I changed an Edit Form in Sharepoint (included a script editor web part) to enlarge multi value fields list boxes (they were to small in width) and it worked (inserted code snippet). However, if i ...
0
votes
1answer
40 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
7 views

Using CSOM to determine if a publishing page has a currently published version even if the current version is checked out?

I'm working with SharePoint 2013 C# Client code (CSOM) and I am trying to determine if a page with lets say 20 versions has any version that is currently published even if the current version is "...
0
votes
2answers
33 views

Can we register an existing site collection as a Hub site

I am reading this official Microsoft documentation SharePoint classic and modern experiences, which mentioned that there is not a 1:1 map between site collections and hub sites, and we can not move a ...
0
votes
0answers
10 views

Unable Debug “attaching-remote-event-receivers-to-lists-in-the-host-web” using azure service bus

I use to follow the following approach to create remote event receivers and debug them using azure service bus https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-...
0
votes
0answers
18 views

Programaticaly retreive version history changes of an Sharepoint list item

In Sharepoint CSOM (c#) how to retreive the item version history for a particular version. For example for an item there are 8 major version. In that i need to retreive programatically 2nd version ...
1
vote
0answers
12 views

Send mail in list event receiver work only for site owners

I have simple event receiver start after save item, do something and send mail, there is part of code: SPSecurity.RunWithElevatedPrivileges(delegate () { MailMessage mailMessage = new MailMessage(); ...
0
votes
0answers
7 views

how to retrieve LastModifiedon details of a file in sharepoint using C#

Can anyone help with C# code to retrieve file name and lastmodifiedon of file present in a sharepoint online url.
0
votes
0answers
12 views

I am trying to update one field of a document, which is in a folder. I am using REST API and C# for achieving this. But I am getting 403: Forbidden

var passWord = new SecureString(); foreach (var c in pwd) passWord.AppendChar(c); SharePointOnlineCredentials credential = new SharePointOnlineCredentials(loginName, passWord); ...
0
votes
0answers
12 views

How to show pdf documents inside the email body using C#

I have a requirement to send an email programmatically with hmtl body content. Inside the Email body content, I have to show the pdf documents. like below. ABCText PDFDOC1 PDFDOC2 when a ...
1
vote
1answer
30 views

Powershell script for Restarting SharePoint Timer Service (SPTimerV4)

On SharePoint log folder so many ".usage" files are creating and not getting deleting. Due to space issue occurring. So We are restarting "SPTimerV4" service manually. We need to scheduled task ...
0
votes
1answer
34 views

Force browser to clear cache when changes has been added or updated in Visual web-part control file

I am working on visual web-part (SP 2016 on-prem) and it's control (ascx) file has HTML, CSS and jQuery code. When I made any changes inside it, then changes are not reflecting at end user's or client ...
0
votes
2answers
44 views

Archive old items from one list to another(Archive) list in SP2013 using powershell or SharePoint Designer

We had sharepoint list with 10,000+ items. We need to move (or) archive items to another list which are created by one year back. Means items need to move if created date is less than (or) equal to 30/...
0
votes
0answers
15 views

an exception occurred during a webclient request

I have an error when trying to hit a web services that gives me weather updates. I used to be able to hit it using visual webpart in SP2010. Now I get the exception: an exception occurred during a ...
0
votes
1answer
33 views

Adding a list item in C# takes 5 minutes after calling the initial Update()

I have a timer job that queries an external list, and then copies items into a regular SharePoint list. I store the ID of the external list item on the SP list item so I can update instead of add if ...
0
votes
1answer
46 views

Data need to fetch another column from exiting column list

We had two list in SharePoint 2013. One list for report and list for access. First list "Report" consist of different column, one column name as "Request access" with Hyperlink column. So when user ...
1
vote
1answer
14 views

Permission change event in SharePoint

I am working on one solution where, I need to track changes over permission for any documents under selected sites. If I do crawl to each document I will ofcourse will get the updated permission, but ...
0
votes
2answers
25 views

JavsScript/CSS Files in SharePoint Style Library/Site Assets not updating

We store all code files(.js/.css) in Style Library/Site Assets Library in SharePoint Publishing site. Sometimes, we/end users don’t see the updated JavaScript/CSS files in Browser even after clearing ...
0
votes
1answer
51 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
2answers
83 views

link need to open when click on title column

Some trick request came. We had list with columns as "Title", "Owner", "Description", "External Path", "Requester". In "title" column, we have given name of item, under "Description" some matter given ...
0
votes
2answers
38 views

How to SP2013 list put it into DataTable dynamically?

I have a sharepoint 2013 list with some items, I need to put it into DataTable dynamically, is possible create the html table automatically?
2
votes
2answers
58 views

Migrate a term from sharepoint on-premises to sharepoint online, to have same name & GUID

I have 2 farms sharepoint on-premises 2013 & sharepoint online. where we use to have a license for a third part migration tool, and we have migrated around 70% of the sites, but still the ...
0
votes
3answers
28 views

Unlike what is mentioned on many articles, using SystemUpdate() is able to our enterprise wiki pages without creating new versions

I am working on an enterprise wiki site collection inside sharepoint on-premises 2013, and i want to update a field named "PageNumber", without affecting the modified, modifedby & version number, ...
2
votes
1answer
31 views

unable to create a list view to filter my Wiki Pages which contain the following text 'T:\' inside their “Page Content” field

I am working on an enterprise wiki site collection inside our sharepoint on-premises 2013. and i want to create a list view which shows all the wiki pages which contain the following "T:\" inside ...
1
vote
2answers
35 views

Show/hide columns in view

In a document library, I create folders, sub-folders, and upload documents into the sub-folders. This is done programmatically. For all of these objects, I'm adding a field "Level" that will ...
0
votes
0answers
71 views

Debug remote event receiver:- “Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException..localhost is not the intended audience”

I want to debug our remote event receiver for a sharepoint online site collection. and since the azure service bus appraoch for debugging RER is not supported anymore. so i am trying to use the ngrok ...
1
vote
1answer
32 views

I have a folder that the name starts with character # and my script does not get items from that folder

I have a folder in SharePoint online that the name starts with character # for example #23 - 05 and my script does get all items from all site except the items that there inside of that folder. Do ...
0
votes
1answer
25 views

How to use windows credentials using CSOM

I need to use windows credentials instead of hard coded password because it's against our company policy to use hard coded username and password. I check some threads here and tried everything but my ...
0
votes
0answers
18 views

How to use 'LoginAsync' in SharePoint 2013 Visual Web part?

We are working on Open ID authentication. For this we are using IdentityModel.OidcClient dll. We want Access Token and IdentityToken. We can get both the tokens in one call using below code snippet ...
0
votes
1answer
33 views

submitted item user need to get email receipt in sharepoint list 2013

Suppose when user submitted item in SharePoint list, he\she need to get email confirmation as your item submitted and sent request to IT Desk as message. And also in a list we have one column name as "...
0
votes
0answers
50 views

Remote Event receiver error “There was no endpoint listening at https://localhost:44332/Services/AppEventReceiver.svc that could accept the message”

I am developing a new remote event receiver, where i followed these steps:- 1- Inside visual studio 2015 >> create new sharepoint add-in >> provider-hosted Add-in >> i enter the url for a test ...
0
votes
0answers
16 views

Documentation for display templates functions and variables

I am reading few blog posts, that use functions and variables like this: $htmlEncode ctx.ClientControl.get_nextUniqueId() var hiddenElmId = $htmlEncode(ctx.ClientControl.get_nextUniqueId() + "...
0
votes
2answers
27 views

powershell script for fixing default URL to SharePoint list column

I am trying to fix default URL for Hyperlink column in share point list and getting an error. Please help to find the problem. Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction ...