Questions tagged [sharepoint-server]

SharePoint Server is the Microsoft product "SharePoint Server".

Filter by
Sorted by
Tagged with
2
votes
4answers
5k views

Download file using REST

I want to download a file using REST API. I have a file in a document library /folder. I want download that file, but with a different name. Edit 1 : Below is my code. i am able to download file on ...
2
votes
2answers
8k views

Search Service Application error

Search Service Application in SharePoint 2010 server is showing an error when trying to access the Content Source, Crawl Logs etc from Crawling Menu item. Following is the error message: System....
2
votes
2answers
3k views

How to do SharePoint calculated column due date calculation?

We have a SharePoint 2013 list column 'Expiry Date' and we need to calculate overdue by days. For eg, if expiry date is 1/8/2017 and Overdue by days should be 158. How to achieve this? thanks in ...
2
votes
1answer
2k views

Error handling in ensureuser() method

I have an issue where I am trying to handle the error but could not get it done. here is the code: $UserSPU = "domain\user" $site = Get-SPSite http://siteurl $web = $site.OpenWeb() $user = $web....
2
votes
3answers
4k views

How to delete a document, locked by another user ? I'm a super admin

How to delete a document, locked by another user ? I'm a super admin. Environment: SharePoint 2013. We have a document library. Inside this we have a excel document, when I try to delete the ...
2
votes
1answer
1k views

How to access Excel PROTECTED spreadsheet in SharePoint Web Access Web Part in SharePoint2013?

I have excel file which is protected by password. I need to access Sheet 1 on SharePoint Web Part Page on Dashboard. While I add protected I can not able to Excel Sheet is corrupted as per below image....
2
votes
4answers
71 views

Migrate Documents from local drive into SharePoint with default metadata

Want to migrate around 40 GB's of documents from windows File-Share to SP 2016 on-premise. Documents should be migrated to SP2016 with properties like; Created date Create by Modified date Modified ...
2
votes
2answers
600 views

SP 2016: application pool account

I need to change application pool account for SP 2016 web application from farm account to service account, i did the same steps here https://blogs.msdn.microsoft.com/denotation/2014/02/27/how-to-...
2
votes
3answers
2k views

Create a view based on filesize column and apply filter in a document library

in a web application there is a document library and daily 1000 to 2000 documents are uploaded by users, so here i want to calculate the average size of documents uploaded to this web application, ...
2
votes
1answer
1k views

Search Document Properties but not contents

Is it possible to build a "full text" KQL search query in SharePoint 2013 (without targeting managed properties) that will not query the contents of the document itself. i.e. we only want to return ...
2
votes
1answer
200 views

Item still deleted when click on OK in ItemDeleting event CancelWithError

public override void ItemDeleting(SPItemEventProperties properties) { try { properties.Status = SPEventReceiverStatus.CancelWithError; properties....
2
votes
2answers
4k views

Upload a file in SharePoint server from a local machine connected through LAN using c#

We have a SharePoint server with admin account in it and I was connecting it from my local machine through IP and SharePoint port manually. But I need to write a program which needs to upload the ...
2
votes
2answers
2k views

How to get backup of workflow in SharePoint 2013?

I want to get a backup of my old workflow how can I do in SharePoint designer 2013?
2
votes
2answers
7k views

RegEx to validate and replace invalid file name characters from a custom web part file upload control

Scenario: I have a fileupload control in my custom webpart that attaches the uploaded files to the list item. The attachment code is given below: private void UploadAttachments(Helper ...
2
votes
2answers
9k views

“This content cannot be displayed in a frame” - SharePoint 2013 Deployment

I have developed a SharePoint-Hosted app which opens a new modal dialog in a list. On SharePoint Online it works without problems, but if I deploy the app on a SharePoint 2013 On-Premise system I get ...
2
votes
2answers
2k views

Merge-SPLogFile not working in Powershell

Client has a Single Server SharePoint 2016 Farm with about 15 Site Collections on it. They have an issue I am trying to diagnose but when I try to run Merge-SPLogFile I get an error :- 'None of ...
1
vote
1answer
506 views

Can't set Target Audience property for list view webpart into a custom list with powershell

I have tried to set target audience property with the lines code: #Create client context $ctx = New-Object Microsoft.SharePoint.Client.ClientContext($SiteUrl); $ctx.Credentials = New-Object Microsoft....
1
vote
1answer
733 views

Windows updates on Sharepoint Servers in the same farm

We have a SharePoint farm with few servers. Recently some servers are updated with Windows security patch & few are not updated. I am aware that Sharepoint product patch level should be same on a ...
1
vote
2answers
1k views

Creating a list event receiver with Visual Studio 2013

I cannot find the create list event receiver wizard in VS2013 - it was there in VS2010. I want to be able to add an event receiver (in C# - item_added) to an already existing list. In VS 2010 it ...
1
vote
1answer
1k views

how to create a view for duplicates?

I have a list in SharePoint 2013 For example In Row 1: Column1 has 12 and Column2 has blackberry as values In Row 2: Column1 has 34 and Column2 has iphone as values In Row 3: Column1 has 12 and ...
1
vote
2answers
2k views

Windows OS upgrading from 2008R2 to 2012 on SharePoint 2013 hosted servers

Can Windows OS be upgraded on SharePoint hosted servers? Will the SharePoint Farm be effected?
1
vote
2answers
3k views

Trace who and when a site collection got deleted Permanently in sharepoint 2013

A site collection was missing, nothing in the recycle bin. Get-SPDeletedSite return nothing. Are there any log that i can trace who and when the site collection got deleted? Thank you in advance.
1
vote
1answer
2k views

Get the list of users from User Profile in SP2013 with programmatically

I have to get all the users from User Profiles. I have to implement search on those users on the basis of First Name & Last Name. This question may be repeated but I don't get use-full solution so ...
1
vote
2answers
49 views

The installation is missing the file\Sharepoint Assembly

Good day! When you try to install updates for SharePoint 2016, It fails. Is recorded in the log of the error: ERROR Failed to call GetTypes() d0aabc9e-f5f4-f088-047b-1a50b287a5e0; ERROR ...
1
vote
1answer
796 views

How to display a Word document that contains links and bookmarks, to SharePoint page

I have a word document that contains links. The links take the user to bookmarks in the same document. I want to display this document in SharePoint 2010, but have the links and bookmarks still ...
1
vote
1answer
105 views

How to take a site collection backup without Active directory and permissions?

I need to move our site collections from one server to another which have different AD and Domain, Please suggest any idea for better migration?
1
vote
0answers
31 views

How I update the Managed Metadata Field in Document Library for only .Zip Files using PowerShell [duplicate]

<Code For Termset> [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Taxonomy") $site = Get-SPSite http://invi28apps9c $session = New-Object Microsoft.SharePoint.Taxonomy....
1
vote
3answers
67 views

How to download SharePoint page in PDF format?

I want to download SharePoint pages(.aspx) in PDF format using Powershell or C# console application. Is it possible? Can you please share your thoughts or some reference code?
1
vote
2answers
3k views

Service Message broker services in Starting - SharePoint 2013

One of our SharePoint 2013 Production server is updated & its Framework updated to 4.6.1 Now Service Message Broker service status is starting which not allows us to start, stop & Restart, ...
1
vote
2answers
1k views

Cannot find resource for the request $batch Sharepoint server 2013

When i try to execute sample batch code in Sharepoint server 2013 i'm getting the error 'Cannot find resource for the request $batch' Int16 listRetrievalCount = 0; if (IsPostBack) { ...
1
vote
1answer
843 views

Attaching Event Receivers on more than one list

I have a SharePoint 2013 site with multiple lists. Many of the lists have a common content type. We have created custom event receivers to be attached to these lists. But since we want the same event ...
1
vote
1answer
1k views

Creating a Managed Property using PowerShell script

I created a Managed Property using the SharePoint 2013 UI, then I re-index and all works well. Now I have been asked to create the same Managed Property using PowerShell script, but I have no idea ...
1
vote
2answers
4k views

Making SharePoint list columns searchable

I've created a list with local columns of Currency type. I created managed properties of text type by going to site collection level 'search schema' and waited for Full crawl to run. This didn't work. ...
1
vote
1answer
142 views

SharePoint 2013 E-Mail Invitation Doesn't Work

Recently I've upgraded our SP2010 farm to SP2013. When sharing sites or others objects with someone, there is a "send e-mail invitation" check-box and it works fine on SP2010 visual sites but it is ...
1
vote
2answers
1k views

SharePoint 2013 list in SQL

I have a couple of questions: Where does SharePoint list stores data in SQL? Is there article for SP2013 on MSDN or TechNet? - I can find outdated articles which explain table structure for a list ...
1
vote
2answers
742 views

How to get the current crawl duration using powershell in SharePoint 2010?

I could able to get the name of active crawls, how to get the current crawl duration From the below powershell script which i tried. Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "...
1
vote
1answer
220 views

How to get “AutoCleanupDays” property of workflow in SharePoint 2013

I'm trying to get "AutoCleaupDays" property of workflow association but workflowassociation always returning null. Then I tried with workflowSubscriptionService & here I am getting my workflow but ...
1
vote
1answer
601 views

Programatically remove item from search index immediately in SharePoint 2013

Is it possible to remove item from search index programatically SharePoint 2013? I know there was tool called "docpush" in SharePoint 2010 but i couldn't find it in SP2013. Thanks
1
vote
2answers
125 views

JSOM to load pop with new item form if user is not created previously

I want to create one SP dialogue box at home page which load the new item form of list or survey if current login user is not created any item previously. Is there any way to do that ? I tried using ...
1
vote
2answers
956 views

Anonymous document library prompts for credentials

I have given anonymous access on document library (Not on entire website). by following the below steps i given anonymous access, Enabled the anonymous access to the Web application from Central ...
1
vote
4answers
4k views

HTTP Error 503 the service is unavailable

When I open Central Administration I get this error HTTP Error 503. The service is unavailable. Same error also when I open my SharePoint Server 2010 site HTTP Error 503. The service is ...
1
vote
1answer
877 views

Audience in SharePoint 2016

Can we control content using Audience in SharePoint 2016? Use case : I want to display List content using Content Query webpart. But all content will not be visible to all users. Can we control ...
1
vote
2answers
3k views

change the name of SharePoint 2013 Farm SQL server

i am needing to rename my SharePoint farm SQL DB server i have been told that i would have to fully recreate the farm to rename the sql server. i am needing to rename it to SQLSERVRE2 original naming ...
1
vote
2answers
104 views

update list item in SharePoint

I have two list(A and B) in the the same site collection. I need to update the item in list B based on list A. Requirement: If user select the drop down item of column name"Student category" in ...
1
vote
1answer
1k views

Best approach for un-installing SharePoint Designer 2013 from my windows server 2008 R2

I have two SharePoint farms; Live & Test. both have the following software specification. SharePoint enterprise server 2013, with SP1. installed inside windows server 2008 R2. Now when I built ...
1
vote
2answers
8k views

I want to remotely connect Sharepoint server through powershell whose database is on different machine

My SharePoint server is on machine M1 and its database is on machine M2. I want to connect and run SharePoint PowerShell command from altogether different machine M3 remotely with user U1. Is it ...
1
vote
1answer
177 views

Add tiles in the app launch

Is it possible to add other tiles besides newsfeed, OneDrive, sites in the app launch in the above blue bar in SharePoint 2016?
1
vote
1answer
956 views

What happens if I don't configure mysites?

We are reconfiguring our Sharepoint User Profile Service (Enterprise 2010). Now, I don't really want to use mysites at all. Do I need a User Profile Service, then? The only think I can think of ...
1
vote
1answer
3k views

How to use Bootstrap in custom master page in sharepoint 2013

I have created html page for branding using bootstrap3. Now when I want to use the same in share point 2013 as master page it is overriding the MS classes and design. Can any one suggest which is the ...
1
vote
1answer
185 views

Adding new server to sharepoint 2013 farm

I have 2 tier SP farm (SP and SQL) I want to add new server(3rd) with following PowerShell script, the same error with Configuration wizard Connect-SPConfigurationDatabase -DatabaseServer "192.168.1....