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

learn more… | top users | synonyms (3)

1
vote
0answers
29 views

creat navigatin 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 ...
7
votes
4answers
5k views

How to rename title column in Document Library using code?

Everybody loves renaming columns. The title column is a favorite of mine and I can't seem to rename it via code: SPList list = web.Lists.TryGetList("MyList"); Guid guid = new ...
0
votes
1answer
36 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
11 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
31 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
31 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
29 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 ...
1
vote
2answers
692 views

Adding ListViewWebPart with CSOM

I have to add a few webparts to a default page using the Client side object model. For the most part this goes fine, I can add a XSLT and content query webparts. However, when i try to add a ...
0
votes
1answer
28 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
106 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
59 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
17 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
75 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 ...
0
votes
0answers
12 views

Go through all items then delete them and then set boolean to yes for last item

I want to go through all items in a share-point list, then i want to delete them one by one after gotting there details. I want to set flag to yes for last item; how ?
1
vote
1answer
48 views

Webpart - Get user ID of user profile

I am going to create a webpart located in user profile page. That webpart should get the user ID of user's profile. For example, I login as user A and access to profile of user B, the webpart located ...
0
votes
2answers
46 views

SP13: Master Page Centering

I am working changing the master page to center the content in the middle of the page. For an example, see the homepage to www.topsharepoint.com. To accomplish this task I have changed the master ...
2
votes
3answers
176 views

Getting Minor Version, Major Version, TimeCreated, TimeModified of document using CSOM

As a follow up to this post: http://sharepoint.stackexchange.com/a/111685/32419 I have a document that I am downloading from OneDrive library using CSOM. private static void ...
2
votes
2answers
544 views

Create list from custom template using csom, c#

I would like to create a list based on a template (.stp uploaded to the list template gallery), it almost works with this code: ClientContext context = new ClientContext("<Your Site URL>"); ...
0
votes
1answer
105 views

Web service timeout issues

I've seen some posts on timeout errors but nothing I think that will help me. I have a custom web service running on a sharepoint server. It creates site collections and is being called through a ...
2
votes
1answer
79 views

download file from OneDrive using Microsoft.SharePoint.Client

I have a winforms application and I need to download files from a SharePoint OneDrive directory. Currently, given my code below, I am able to read the "Title" of the file, but I can't find anything to ...
2
votes
2answers
35 views

SharePoint group not visible

I created a new SharePoint group using UI. I do not see the group using: $web.Groups | select Name Why? (I need to access to the group by CSOM but the group is not found)
3
votes
2answers
534 views

SPAppToken (context token) is null

I have a Sharepoint 2013 on premise environment for which I am developing an provider hosted app using Visual Studio. The Visual Studio project has an app project which contains a custom ribbon ...
0
votes
0answers
42 views

How can I return differences between versions and access properties that changed?

i have a list in SharePoint 2010 that has fields "title,count" .one of the fields (count) possible to change. I FROCE TO USE CSOM CLIENT SIDE OBJECT MODEL ... NO SHAREPOINT.DLL BUT ...
0
votes
1answer
791 views

Render label using itextsharp to pdf and word

Could not load file or assembly 'itextsharp, Version=5.4.1.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca' or one of its dependencies. The system cannot find the file specified. I have added ...
1
vote
1answer
66 views

Hide / Show custom action in ribbon conditionally

I have a question regarding Custom actions: Basically what I would like to have is a custom action to shown only when the list.RootFolder.Properties.ContainsKey(). This action is located in the ...
0
votes
0answers
49 views

Get Lookup field ID from DataTable

I have this code : SPListItemCollection CatList = LinkList.GetItems(query); SPListItem test = CatList .GetItemById(1); SPFieldLookupValue tmp = new SPFieldLookupValue(test["Category"].ToString()); ...
3
votes
1answer
2k views

ListView Web part - customization

I created and deployed link list (default template (103)) from code and after that I added ListViewWebPart also from code which looks on default view of my link list. And that works. Problem: How can ...
2
votes
2answers
347 views

Looping retrieved Items throws an InvalidCastException

I have some very simple code using the client object model to retrieve a list and all items from that list from a SharePoint 2013 Online site. When the ExecuteQuery() fires, I use Fiddler to view the ...
4
votes
3answers
5k views

Is there a hack to installing SharePoint 2013 on Windows 8?

Apparently SharePoint 2013 is not officially supported on Windows 8 (which does not make sense to me). And, just like the Vista hack for WSS 3.0/MOSS 2007 I am looking for a hack to install ...
1
vote
1answer
33 views

IF statement containing both AND and OR

Here is the gist of what I want to do. Hoping someone can help. =IF ([value1]="" OR [value1]="Select") AND [value2]="" THEN [value3]="" ELSE [value3]="assigned value" I can get this close without ...
0
votes
2answers
136 views

CAML query returns all items instead of one

I am querying a list to return only items matching a certain title, but the query returns all items. It seems I built or execute the query the wrong way: /* SP is an alias for ...
0
votes
1answer
71 views

Add code behind files to a SharePoint App Project (provider-hosted)

Let's first describe my work context: I am working on SharePoint 2013 on-premise I have created an App for a SharePoint 2013 Solution using Visual Studio 2012 with provider-hosted option. Two ...
0
votes
0answers
326 views

Getting error when doing a jquery ajax funtion to a webpart aspx page

I want to send data using ajax from jquery to c# (note: im sending request to the same page). I am following this tutorial http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/. ...
11
votes
5answers
11k views

SP.UI.ModalDialog.showModalDialog using the html option

http://msdn.microsoft.com/en-us/library/ff410058.aspx says that you can use the option html to display html text in a modal. I have a string like this; var html = ...
0
votes
1answer
22 views

Strange behaviour Generic List

I have written some code to delete minor versions after a specific time. I don't know how it is possible, but it only deletes uneven versions, and not the even ones. Below part is to find all ...
0
votes
1answer
35 views

Web control is not safe

I have a code which is deployed with the delegate control, but when i try to call it in the logs i see an error: class 'My.Custom.MyWebControl': The control with assembly name xxx' class name ...
0
votes
0answers
17 views

Problem with DWS Webservice and VS 2010

I have a problem since I switched from VS2013 to VS2010 for a compatibility problem. The problem is that I have my root site "Accueil" and a subsite "PiCRM" and my program can only create folders ...
7
votes
3answers
771 views

Custom 404 Pages

I have followed Microsoft's instructions for custom 404 pages in SharePoint by setting the web application's FileNotFoundPage property. I am now still getting a 404 error if someone types a site ...
0
votes
1answer
32 views

SharePoint 2013 workflow issue

We are developing custom workflow in our SharePoint 2013 project using Visual studio 2013. We have got one issue while updating list items in the custom workflow. Modified By field is changed to ...
9
votes
1answer
2k views

Manage trust/add certificate

I try to add a certificate under "central administration>security>manage trust" but I always get the following error: The Root Certificate that was just selected is invalid. This may be ...
2
votes
1answer
584 views

SPContext.Current.FormContext.OnSaveHandler Not Firing from Custom Field Type Control

I am having the exact same problem described here. Unfortunately because I don't have 50 points yet I can't comment on it so I have to create a new duplicate question. I mean it's not "100% EXACTLY" ...
1
vote
1answer
68 views

Web Part Namespaces include class name in SharePoint 2010

My client is upgrading from WSS 3.0 to SharePoint 2010 (yes, I know the year is 2014, but baby steps). I am migrating my custom solutions to work in in 2010. My current issue is the way SharePoint ...
2
votes
2answers
48 views

Problem in batch processing data with angular bracket

Trying to insert some data into multiline of text SharePoint field using batch processing. It was working fine if it doesn't have any words within <> angular bracket. If it has any words inside the ...
0
votes
1answer
59 views

How to check sharepoint list date column is empty?

How to check sharepoint list date column is empty? I want to check in back end code. IEnumerable<DataRow> x = from laptop in dtList.AsEnumerable() join ...
0
votes
2answers
95 views

SPUtility Send Email for mulitple users

I am trying to send an email to multiple users using SP Utility Send Email I am using visual studio, c# But i am facing issue, as i am trying to specify email addresses as a ,b Should i be using ...
6
votes
4answers
17k views

Get Site Collection full URL using javascript

I want to get the URL for my site collection. One way I thought I could do it was using the window.location in javascript and getting it that way. I know that you can use ECMA script and the client ...
4
votes
2answers
3k views

SPFolder vs SPListItem

I've trying to build a tree view which will show a Sites Lists and folders. This is an external application so I have to communicate with WSS3 through web services. Site |-List | |-Folder | ...
0
votes
2answers
380 views

How to find out the logged in user in workflow?

I have a sequential workflow in SharePoint 2013. I want to update a list item field with the name of the user who modified a specific workflow task. How can I get this done in c#?
0
votes
2answers
742 views

Remove Leading and Trailing Spaces from Rich Text Box using C# code

I am using a MultiLine Rich Text box in my custom list, now I want to remove leading and trailing spaces in the MultiLine Rich text box's input. I have written an List item event receiver with ...
0
votes
0answers
81 views

How to validate multiple fields with c# custom code on button click before submitting

My main goal here is to pop up a validation box that lists which fields have not been populated(still empty) before allowing the user to submit. I know you can use the method built into InfoPath but ...