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

learn more… | top users | synonyms (3)

0
votes
1answer
16 views

LDAP query not working in custom web part

I have a custom web part which will pull Active directories custom attribute(logged in user). For testing purpose currently I am trying to get "mail" of currently logged in user. But it is not ...
0
votes
0answers
18 views

Missing Site Collection Features

I'm having trouble with mirgrating a subsite template to a new sharepoint site. When I try to create the new subsite, I get a list of required features that I cannot find on the site collection ...
0
votes
1answer
22 views

Get a webpart in the webpart gallery

I am trying to get a webpart from the gallary to add to a webpart page. It fails on the GetFile line saying that it can't find the file but the file is in the gallary. Is the code/path correct? ...
0
votes
2answers
35 views

Acces Active directory users custom attribute from sharepoint

We have a custom attribute in Active directory for all users, say 'HCODE' and I have to access 'HCODE' based on logged in user and to pass that value to the SSRS reports. So far I have done this ...
0
votes
0answers
34 views

String was not recognized as a valid DateTime

I am fetching data from external list using SPListItemCollection.GetDataTable() method. But this method throws error: "String was not recognized as a valid DateTime.Couldn't store <2015-03-24 ...
1
vote
1answer
36 views

Where to keep configuration for SharePoint solution

Where do I store a configuration of a sharepoint solution? The solution has a feature activated on a site collection, so there will be multiple instances of it running on a farm. Installation and ...
0
votes
1answer
71 views

GetListItems /_vti_bin/Lists.asmx

I need to get a item by a giver url. (SP2010) I am using the Lists.asmx web services. (I can not run code on sharepoint machine). I tried this: SPWSList.Lists queryListService = new ...
0
votes
1answer
27 views

How to display data into an asp:Repeater from two different SharePoint List programmatically

So basically, I am new in Sharepoint Development and I am having a hard time using asp:Repeater. I want to display all the data from one SharePoint List and find some of its related field in the other ...
0
votes
0answers
28 views

Get\Set values from SharePoint 2013 custom fields

How Get\Set values from ListItem SharePoint 2013 custom fields using CSOM and C#?
0
votes
1answer
23 views

How to find if a sharepoint list was created from external content type?

Is there a method or way to know if a list was created using External Content Type with Sharepoint Designer? Something like: list.IsCreatedFromExtContentType
0
votes
0answers
14 views

List Data Validation still fails for document library when data is valid

I have a document library with a column with Column Validation. Whenever I try to add a file to the document library, it fails even when the data input is valid! try { file = ...
0
votes
0answers
16 views

How to handle the list data validation error in document library sharepoint

Sharepoint has an exception SPListDatValidationException that is thrown when column data validation fails. Pretty neat thing as I can use it to find the fields causing the validation failure and ...
0
votes
2answers
844 views

How to change a date format in CAML

I got a wrong date format to a CAML. I have got (yyyy-mm-dd) and must to be understand by CAML to the format(dd-mm-yyyy), how can I do this. I tried by String.Format("{0:yyyy-mm-dd}", dateISO1);, but ...
2
votes
5answers
3k views

Napa App: _spPageContextInfo is not defined

Am creating a vanilla Napa app and am seeking to reference the host URL as follows: var ctx = new SP.ClientContext(_spPageContextInfo.webServerRelativeUrl); Yet _spPageContextInfo is being flagged ...
6
votes
1answer
4k views

Checking existence before using GetItemById

I am getting an item by using GetItemById but I want to check before using it whether the item exists or not. I don't want to use a query as the main purpose of using GetItemById is performance. ...
1
vote
2answers
2k views

Custom application development choices on Sharepoint 2010

I'm about to start developing a custom business application on top of Sharepoint 2010. I haven't done anything on this product but client insists on it so I don't have a choice. Application info I ...
0
votes
2answers
338 views

Remove item from SPFieldLookupValueCollection

I have a multilookup column "Employee". i wanted to remove one value from the column. Below is the code using (SPWeb web = properties.OpenWeb()) { SPList TestB = ...
3
votes
9answers
7k views

What's the ultimate SharePoint 2010 development laptop?

We'll all want to be able to develop on our own 64 bit laptops and Windows 7 (at least I will). What is the ultimate rig? I've seen some folks buying the Dell Studio 13 XPS with an SSD (@bluedude, ...
4
votes
3answers
848 views

Unit testing web parts

I've read the articles from Andrew Woodward (21Apps) trying to get started with unit testing on WSS, but when I try something more advanced, like Webpart connections, I don't know how to start ...
1
vote
3answers
973 views

Working Twitter Feeds on Sharepoint 2013?

been trying to get a Twitter feed to work in SharePoint 2013 for some time but it just doesn't seem to be playing ball. I've tried a couple of methods (embedding the code straight in and also using ...
1
vote
1answer
22 views

Is it possible to disable column validation programatically?

I am having the same issue as this thread here : SPListDataValidationException in an event receiver on a task list with Overdue tasks. When I use item.Update();, an exception is thrown "The following ...
0
votes
4answers
84 views

Add Page links programmatically to Sharepoint Quick Launch

I have a solution that deploys a web part with a web page, and I would like it to also add a Quick Launch home screen link to the created web page. I tried a little code sniplet, that I added to my ...
0
votes
2answers
36 views

How to Get all SharePoint SpUsers from SpFarm with C#

How to get a list of all users in a certain Farm in SharePoint by code? Is there any away to do that without must iterate every SPgroup in every SPWeb in every WEApp?
0
votes
0answers
29 views

View property “InplaceSearchEnabled” in onet.xml ignored

i couldn't get the InplaceSearch displayed on my webpart through onet.xml. in my onet.xml file: <View List="Lists/Aufgaben" BaseViewID="1" WebPartZoneID="TaskTab"> <![CDATA[ ...
0
votes
2answers
55 views

Download a file from Share Point Team site

I have a requirement where i need to download excel file from Office 365 Share Point site through my windows application using C#. This is how my site looks ...
4
votes
4answers
4k views

Get SPWeb by ID without Site Collection?

I have a list of SPWeb IDs and would like to open the associated SPWeb objects. However, I do not know in which Site Collection they are (I DO know that they are in the current Web Application ...
0
votes
1answer
25 views

Auto Reply to Form Submission

Is it possible to set up an auto reply to a form submission? If so, how? Any assistance is greatly appreciated!
3
votes
2answers
5k views

How to read a User field value for a list item

I've got a content type that contains a filed of the type user. When I want to read the ListItem I just get a string containing the users name instead of a object which contains Name, Username, E-Mail ...
0
votes
0answers
10 views

XElement and GetListItems

I use vS 2012 and .NET 4.0. I use Unit test. I add Service Reference http://serverxxx:1090/desarrollo/aplicaciones/_vti_bin/lists.asmx In app.config generate using ...
0
votes
0answers
27 views

External List & SPListItemCollection.GetDataTable & DateTime

I have one list that was created in SPDesigner via an external Content Type that gets the information from a SQL database, and it is Read Only in SharePoint. My list contains a DateTime field. Now ...
0
votes
0answers
9 views

Sharepoint 2013 - Space Bar Action NOT Recognized

I'm building a site in Sharepoint 2013 and have a strange problem. The space bar is not recognized. If I edit a web part and try to change the title, for example, to "The Web Part" all of my spaces ...
2
votes
2answers
5k views

Event Receiver, Before and After properties

In an event receiver, Item Was Updated. I want to Compare the Moderation status on ListItems to perform some functionality.This is just some of the code. SPList list = web.Lists["DocLib"]; SPListItem ...
0
votes
1answer
26 views

Create file in SharePoint Online without using SharePoint Client Model in C#

In C#, I want to create a file in my SharePoint Online site without using SharePoint client object model. I am trying to use SharePoint REST APIs and List methods. I don't want to use ...
0
votes
1answer
62 views

Create folder in SharePoint Online without using SharePoint Client Model in C#

In C#, I want to create a folder in my SharePoint Online site without using SharePoint client object model. I am trying to use SharePoint REST APIs and List methods. I don't want to use ...
0
votes
0answers
28 views

Export/Import SharePoint List Template without using Microsoft.SharePoint.dll (Is it possible?)

What I'm trying to do is build a migration tool that when moving from a development environment to production environment for example, any SharePoint List references will be packaged as List Templates ...
0
votes
1answer
31 views

A list of all users in a SharePoint site, including in a group?

I'm trying to get a list of all users that have access to a SharePoint site. This is working, except it's only showing people who have been given direct access and then listing out the "everyone" ...
0
votes
1answer
31 views

Is there sharepoint event for sharepoint server up and running?

I am building a sharepoint 2010 application (server APIs, c#) that sends notification messages via TCP from sharepoint server to server X whenever a file changes in a sharepoint library. I have my ...
0
votes
1answer
27 views

Add filter and pagination to CAML query

I'm developing a visual web part for Sharepoint 2010. I would display all documents from a specific DL, but this DL contains more than 7000 items. So I would like to add a pagination (show only 20 ...
0
votes
1answer
33 views

NullReferenceException on TitleResource for SPNavigationNode

I keep getting a NullReferenceException when trying to access the TitleResource of an SPNavigationNode. bool isExternal = false; // assume anything starting with "http" is an external link if ...
0
votes
2answers
71 views

Display Custom Fields in a SharePoint 2010 Content Query Web Part

Using SharePoint 2010, Having Custom List With 4 Columns, Now I am Using Content Query Web-part To Display List Data ,But Currently It Display Only First Column, SO How to Display Custom Fields in a ...
1
vote
0answers
21 views

Infopath 2010 form in Sharepoint 2013 modifying values before save

I have a really complicated problem that I haven't been able to find a solution for and was wondering if anyone can provide some suggestions. Background: I have a SharePoint list that contains 2 ...
8
votes
2answers
133 views

How do I delimit Property bag values so search treats them as individual searchable words?

Currently I am using the property bag with values that are comma separated something like: web.AllProperties["fruits"] = "bananas, apples, oranges, tomatoes"; Currently search is treating them as ...
0
votes
1answer
63 views

Update Custom Webpart with timer

I have a C# custom webpart in sharepoint 2013, display listview from a document library. This library will be updated if we submit a form. I want to update this Webpart each x time. Here is my code: ...
0
votes
0answers
31 views

Sharepoint workflow tasks Items

I am trying to get a task id of a specific task in a workflow. I would like to do this in the createTask activity. I have tried using taskProperties.TaskItemId but i seem to get back "-1" Is there a ...
0
votes
2answers
22 views

Content Approval Set to No In SharePoint List

I want to set content approval "no" in sharepoint list in version setting programmatically at the time of list creation. How to do that?
0
votes
2answers
44 views

Insert image from ActiveDirectory to SPListItem c#

First of all, I would like to ask question, do I need to insert image to Sharepoint as Image or byte[] array? I have tried both ways to do that. In both cases it returns me ...
0
votes
2answers
49 views

Retrieve Site collection administrators from SharePoint Online using C# client object model

Can someone please suggest on how to fetch all the sitecollection administrators from SharePoint online(Office 365 SharePoint) using c# client object model. Thank you
12
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 ...
1
vote
2answers
132 views

Change Document Library Webpart's Toolbar Type to 'Show Toolbar' programmatically in 'sharepoint online sandbox solution'

I want to change the Document Library's webpart property 'Toolbar Type' from 'Full Toolbar' to 'Show Toolbar' programmatically. I am working on Office 365 sandbox solution.I am creating document ...
0
votes
2answers
26 views

How to query large list and retrieve one field of all items?

Image a list with i.e. 20.000 list items. All items have the field ContainerId (indexed). I now want to retrieve all ContainerIds to do other stuff with those. SPQuery is limited to a maximum of 2000 ...