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

learn more… | top users | synonyms (3)

4
votes
2answers
121 views

Hide document library using CSOM

I want to prevent users from accessing some document libraries. I have used the following code but it didn't work, Any solution? doclibraryinstanse.Hidden = true; doclibraryinstanse.Update(); ...
2
votes
1answer
58 views

how to add a view filter to check if the login user is inside a group,same as for [Me]

I have added the following filter inside a view:- Which will filter if the “Assigned To” field equals the logn user. But now if the “assigned to” field contain a group which I belong to, then the ...
0
votes
2answers
251 views

How to allow for autocomplete Person/Group for a new custom site column of type Person or group

I have added a new site column named “Assinged To” of type “Person or Group”, then I added it to the page layout. The final result was that I can search for our active directory user/groups.but if I ...
0
votes
0answers
84 views

A timer job's schedule type is changed from yearly to hourly after running it

I have a custom timer job with a yearly schedule (SPYearlySchedule). After I deploy it, its Schedule Type listed under Job Definitions in Central Admin is shown as Yearly as expected. However, if I ...
1
vote
0answers
45 views

SP13: Blank Space on Pages

I am recently changed the master page to have the page content to be centered. My focus for the centering was on the home page that successfully centered. However, navigating to the other pages the ...
0
votes
0answers
167 views

Event receiver not firing Document Library

I have a local development environment in my VM.(SharePoint server 2013 SP1,Visual Studio Ultimate 2013-update3). I'm trying to add an event receiver to a document library on ItemDeleting. Deleting a ...
0
votes
0answers
22 views

How to start workflow independently

Good day, I have a list that has a custom workflow that starts when an idem is created. I the workflow i have a codeActivity that creates multiple items on the list. This in turn starts multiple ...
1
vote
0answers
13 views

wcf.cs file generated by tool

I am porting a SharePoint project from one SP 2007 server to one SP 2010 server. Among the files that make up the project, I found a file called wcf.Project.cs. It's tens-of-thousands of lines long ...
0
votes
0answers
82 views

get data form database & display in gridview's textboxes

i want to populate data in gridview's textboxes which are stored in database and if no value found in database it should show blank text boxes. BUT my problem is i am binding gridview data for Area ...
0
votes
2answers
31 views

SharePoint VS development - tuning changes without redeployment

I have VS project with .wsp containing custom forms for list. I need to tune some details on the form - sometimes in aspx file, sometimes in code behind (.cs). What are the options to tune it without ...
0
votes
1answer
116 views

SP13: Remove Page Horizontal Scroll Bar

I have made changes to the master page on a SP13 page. An horizontal scroll bar appears at the bottom of the page. The following piece of code I have that adjusts the height of the scroll bar, but I ...
0
votes
1answer
61 views

How to send my wiki page to be approved by specific user/s

I have the following inside my SharePoint server 2013:- A publishing site collection based on enterprise wiki. Inside my page library options, I define “Require content approval for submitted items” ...
0
votes
1answer
88 views

How to get C# to recognize argument passed through PowerShell

I'm using PowerShell to call C# code to turn list alerts on or off on a specific list. When I try to use [AlertsOnOff1.onOff]::Main("off") to call the Main method and pass the arugment of "off"the ...
1
vote
2answers
292 views

Site Collection Allwebs for current user

I need to iterate to all the web of a site collection using the current user permission. I tried: foreach (SPWeb web in site.AllWebs) { if ...
2
votes
2answers
51 views

Get List with MDS (Minimal Download Strategy) enabled

Consider the following code: string srcUrl = Request.Params["sourceUrl"]; SPList list = SPContext.Current.Web.GetList(srcUrl); with MDS Feature disabled: string srcUrl = ...
1
vote
1answer
138 views

SharePoint Designer Workflows read .XOML file programmically using c#

I need to get list of all the workflows using a custom activity. I visited a workflow using designer and have the name of the activity. I just need to read that xoml file and see whether that file ...
0
votes
1answer
249 views

I need help getting powershell to run c# code

I found a technet blog saying you could run c# code in powershell, so I ended up giving it a try. When I try to run the following powershell script I get 2 errors and I'm not sure how to resolve them. ...
0
votes
2answers
33 views

Enable editing docs but restrict uploading new docs - SP 2013

Im using SharePoint 2013 foundation. The site level users are stored in a custom sql datatable. Users can download documents in a document library via a web part link. (SPGridView link) Users should ...
0
votes
2answers
155 views

Sorry, something went wrong Could not load file or assembly

I was reading this link which provide a solution to a redirect problem inside my SharePoint enterprise wiki site collection:- ...
0
votes
2answers
98 views

I need help in adding a web control to a page layout

I am trying to follow the steps described inside the following link , which mainly require adding a web control and then reference it from a page layout:- ...
1
vote
0answers
28 views

Deploying “Renditions: Word to Wiki” inside Sharepoint 2013 [closed]

I have SharePoint server 2013 SP1 , and I want to use the Kaboodle Word to Wiki inside it. So I did the following steps to be able to test a trial version:- I download the related 7 .wsp files from ...
0
votes
3answers
92 views

Cannot create a timer job with a yearly schedule

I want to create a custom timer job with a SPYearlySchedule. The job deploys successfully, but when I view its settings in the central admin, it is shown to have an hourly schedule: Furthermore, as ...
0
votes
1answer
93 views

Initializing a DateTimeControl in a webpart

I have a visual webpart that uses several SP DateTimeControls (set to DateOnly) on a specific spot on the page. Those controls were simply added in VS to the ascx page from the toolbox like this: ...
0
votes
0answers
10 views

Can you set Project Site administrator programaticaly?

Is there a way to change the Primary Administrator of a Project Server site from C# ?
1
vote
1answer
441 views

Count of hits for all subsites of a site collection

I have a site collection with number of sub sites. I want to generate a report based on the count of hits(In terms of each and every click or any other operation performed) for each and every sub site ...
0
votes
0answers
54 views

SP13: Dataview Webpart &nbsp

I have a Dataview Webpart that is used in a page that originated in SP07 however was migrated to 2013 version. Looking at the xsl script there are no hard spaces are indicated by using &nbsp or ...
3
votes
3answers
162 views

Is there a way to display a warning message inside my enterprise wiki page layout , when the page status is Rejected

I am working on a publishing site collection using the Enterprise wiki template. Currently I got this behavior regarding the versioning setting. For the library I specify that the library content ...
0
votes
0answers
167 views

How to upload file to Doc library using PHP

I am trying to upload a file to SharePoint document library using REST or SOAP but I am stuck, the documentation is just about the headers of the request How to build the URL string? How to do the ...
0
votes
1answer
61 views

Modifying the layout for my Content Search web part

I have added a content search web part, and I select the following layout settings:- The output was very poor regarding the layout:- So can I do the following modifications:- To have the items ...
0
votes
1answer
111 views

Add custom folder programatically to Document Library

I have a custom Document Library that has a custom content type which is an extension of a Folder (just adding some more fields). I'm trying to, in code, add a new item of this content type to the ...
1
vote
0answers
39 views

SPLongOperation window on the end redirects in itself

I have a small issue with SPLongOperation, basically what i'm doing i have something to happen in "OnPreLoad" method ... In this method i start a long processing operation and i call SPLongOperation, ...
3
votes
1answer
209 views

Sharepoint provider hosted app Microsoft.SharePoint.Client.File.OpenBinaryDirect does not work

I am trying to do. Microsoft.SharePoint.Client.File.OpenBinaryDirect(context,relativeUrl) Always get "forbidden" and unauthorized. However If i use same context and url to do ...
1
vote
1answer
566 views

Using Content search web part to retrieve items from another site collection

I have a web application that contains two site collections(team site + enterprise wiki), with the following URLs:- -http://applicationname/teamsite -http://applicationname/enterprisewiki Now I ...
0
votes
0answers
30 views

Is it possible to move a publishing site collection to a sub site

I am working on SharePoint 2013 web application. I have a site collection of type publishing-->enterprise wiki. I read on this link that moving a site collection to be a subsite is not possible ...
0
votes
0answers
156 views

MVC SPO Search API The system cannot find the file specified. (Exception from HRESULT: 0x80070002)"}]

We have a .Net MVC WebAPI solution that is connecting to SPO 2013 Search API and loading a local SQL DB that was working perfectly in an Azure cloud service. We tried to deploy it an on-prem Web/SQL ...
1
vote
1answer
41 views

Pass Credentials on a SharePoint site and get a Response

I'm trying to pass credentials against a SharePoint site (It uses Windows Authentication). This is the code I'm using to do so, SPServices.Lists sourceListService = new SPServices.Lists(); ...
1
vote
0answers
45 views

Lookup Threshold value override using C# code..!

In Production Environment, the Lookup Threshold value set to Default :12. Because of this Value my code give me an error. So If increase this value to 20 then my code works fine. So i want to override ...
0
votes
1answer
39 views

unable to add a search core result web part inside my enterprise wiki site collection

I have two site collections inside the same web application; siteA & siteB. now inside siteA i want to display the latest items from siteB. i read a lot about cross-site query , and it seems that ...
1
vote
3answers
79 views

Can I create a C# Program for a SharePoint site

I'm trying to access a SharePoint site from an Application created on Visual Studio, this application will pass credentials against the SharePoint site. The application will then be able to create ...
1
vote
1answer
120 views

Create navigation headings in SharePoint Online programatically

Is there a possibility to create headings with multiple links in the navigation bar (i.e. top link bar) in SharePoint online using c3 or PowerShell? My initial guess was to use ClientContext to gain ...
0
votes
1answer
64 views

how can i display the latest items from another site collection

I have a web application, with three site collections . and i want inside my team site to be able to display the latest pages that have been added to my enterprise wiki site collection. so what are ...
0
votes
0answers
13 views

How to directly open an empty wiki page with rich text editor

I am working on an Enterprise Wiki site collection, and I want to add a link which directly open an wiki page with rich text editor directly. As follow:- Currently if I want to open this page I have ...
0
votes
0answers
78 views

How to invalidate ClientPeoplePicker?

I'm trying to add simple validation to ClientPeoplePicker. If the person entered to ClientPeoplePicker already exists in the field on the list it should go back to my custom edit form and display an ...
1
vote
0answers
35 views

How to share source code between ver2010 and ver2013

Following this good article: how-to-migrate-a-sharepoint-2010-solution-to-a-2013 I migrated a project from: Sharepoint 2010 + Visual Studio 2012 + .NET 3.5 to Sharepoint 2013 + Visual Studio 2013 + ...
1
vote
0answers
46 views

how to add WebControl to my page layout

I want to add the following code to my page layout to fix a bug in SharePoint 2013:- [ToolboxData("<{0}:CustomValidationRequiredFieldsOnPage ...
0
votes
1answer
50 views

Does site collection backup , also backup any custom web parts

I have created a custom web part inside my visual studio 2012, and i publish it to a site collection. now i have backup the site collection to move it to another server. but my question is, if I ...
0
votes
0answers
173 views

"Task upgrade has failed with a PostSetupConfigurationTaskException An exception of type Microsoft.SharePoint

I have SharePoint server 2013 , and i run the configuration wizard, it worked successfully but at the last step i got the following error:- "Task upgrade has failed with a ...
0
votes
2answers
441 views

SP13: Opening PowerPoint Presentation into Slide Show

I am using SP13 and wanting to upload a PowerPoint presentation to document library. After I upload the document to the library I would like for the presentation to open into a slide show. I have ...
0
votes
1answer
18 views

Why does a Content type revert to default content type on its own?

This is a large, multi-disciplinary site that is routinely grouping and filtering documents by content type. If the content type is changing on their own this is going to break our views and make all ...
0
votes
3answers
452 views

Changing visibility of text/controls in a visual web part

I need to show/hide a section of text and controls in a visual web part when a button is clicked. I've seen references to doing this via JS but can't connect the dots for how to integrate that into ...