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
1answer
13 views

Check user exist in active directory group without RunWithElevatedPrivileges

Yes I know it is duplicate question of this and this, but I want to check if user belongs to active directory group with out RunWithElevatedPrivileges. Is it possible? ...
2
votes
2answers
3k views

SharePoint 2013 oAuth URL to get token

here is the idea: i want to make php web site which will be hosted on my server and it will work with my sharepoint 2013 site hosted on office365. my sharepoint 2013 ...
0
votes
1answer
13 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
14 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
21 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
28 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
25 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
34 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
26 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
15 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
20 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
21 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
1answer
493 views

Check-In & Checked Out files inside folder in Document library using Client Object Model

I am not able checkin/checkout the files in sub folders in the document library using client object model. Below is the code I am using. public void CheckOut()// CHECK OUT FUNCTION { try { ...
0
votes
0answers
9 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
11 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
804 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 ...
0
votes
1answer
459 views

Problem with join two lists by linq

I wanna join two list and fill drop down list by specific column but i have error in join query note:c.user_id is lookup field my code lst.DataSource = (from c in dc.Complainant ...
0
votes
1answer
865 views

Sharepoint 2013 Site Title only show parent site

I have a team site and am using the Site Title snippet, but I don't want that changing to show my subsite titles. For example here is an example team site hierarchy we are using for our companies ...
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 ...
1
vote
1answer
3k views

Load properties of list item client object model c#

I have a situation where I need to load items from the list and which columns to be loaded cannot be hardocded, as it will be decided on user input. I have following code. ocamlQuery.ViewXml = ...
1
vote
1answer
422 views

how to update properties of item in doc set with client object model

I've been able to create doc sets and upload files to it with the client object model. I am having difficulty updating the properties of the files in the doc sets. Here is what I've tried: public ...
2
votes
1answer
439 views

Extract text from document in a SharePoint 2013 library

I would like to extract the text from documents stored in a SharePoint 2013 online document library. I have the document loaded using: ClientResult<Stream> data = file.OpenBinaryStream(); ...
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
328 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
844 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
934 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
18 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 ...
1
vote
1answer
385 views

REST API ItemCount on oData BCS List

I have a list generated from a BCS oData provider and I am attempting to get the number of items in the list so I can generate a $top on my request rather than bring back only the 100 item generic ...
0
votes
4answers
46 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 ...
1
vote
2answers
1k views

Retrieve all site collections

I want to retrieve all site collections in an Online tenant through Visual Studio: I can do it via Powershell: get-sposite on-premise server : Get-SPSite on-premise again: var sites = ...
0
votes
2answers
26 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
17 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
41 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 ...
3
votes
1answer
1k views

System.ServiceModel.ServiceActivationException “A relative URI cannot be created because the 'uriString' parameter represents an absolute”

The client object model code in my application is throwing the following exception. How to solve it?. System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be ...
0
votes
1answer
22 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
4k 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 ...
1
vote
2answers
449 views

Windows 8 App using COM dlls of Sharepoint gives error “Cannot resolve Assembly or Windows Metadata file 'System.Web.Services.dll'”?

I have created a sample app using Windows 8 C# XAML to get site info of SharePoint 2010 using COM Dlls. I have added reference of: C:\Program Files\Common Files\microsoft shared\SharePoint ...
1
vote
1answer
389 views

Listbox in webpart has no selection

I'm having a problem that's really blowing my mind right now, because it seems like some basic .net functionality isn't working properly. No doubt I'm missing something really obvious. I could really ...
1
vote
1answer
731 views

In a SharePoint List I cannot see items that are in a folder

I have a sharepoint list (Not Library), where I am programmatically adding in a folder: SPList list = web.Lists[ListID]; SPFolder parent = list.RootFolder; SPFolder child = ...
0
votes
0answers
9 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
21 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 ...
1
vote
1answer
380 views

workflowAssociation not displaying workflow

I have created a feature. In the FeatureActivated event I am creating some lists. I am then trying to attach a custom workflow to one of the created lists. However when I do this the workflow history ...
0
votes
0answers
6 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
4k 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 ...
3
votes
1answer
410 views

making an SP.UI print dialog

I'm thinking of adding a print button to my list ribbon , the minute I click on this button a print dialog appears showing the list of the available printers on my computer. so this printdialog i was ...
1
vote
1answer
413 views

How to programmatically access and manipulate Discussion item and replies?

How to access and manipulate Discussion item and replies? I have a discussion board that has a check box, based on the input I switch the permissions of that discussion post for a specific user (from ...
0
votes
1answer
713 views

Modifying List View in C# Doesn't Work?

I am trying to modify a view for a list in a Feature Event Receiver. The list is created in the same function; and the columns all added to it. When I look in the List Settings via the web interface, ...