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

learn more… | top users | synonyms (3)

14
votes
1answer
3k 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 ...
4
votes
1answer
2k 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
619 views

FileNotFoundException :<nativehr>0x80070002</nativehr><nativestack></nativestack>

Error related To System.IO.FileNotFoundException`,trying to get survey 1,survey 2 from Custom list Survey list HAVING 2 Columns- 1)Title 2)Url :-Contain URL OF survey 1 or survey 2 Custom ...
3
votes
3answers
2k views

How can I implement SharePoint JSGrid filtering and grouping functionality?

I am working on SharePoint JSGrid. I am able to implement the sort functionality in JSGrid. Now I want to implement the grouping and filtering in my custom JSGrid. For filtering we have to attached ...
0
votes
1answer
584 views

Reference a custom CSS file inside my seatle.html

I want to reference a custom CSS file inside my seatle.html file. currently I find the following in the default seatle.html master page:- <link ...
-3
votes
0answers
14 views

how to Create Group under Facebook APP in ASP.NET [on hold]

//App Token string AccessToken = "41389678736"; try { var fb = new FacebookClient(AccessToken); dynamic fbInfo = fb.Post("/v2.2/" + "9192461854" + "/groups", new ...
2
votes
4answers
4k views

SPSecurity.RunWithElevatedPrivileges working on Windows Server 2003/SP2007 and not on 2008/SP2010

I have this simple code in C# using SharePoint: SPSecurity.RunWithElevatedPrivileges(delegate() { SPSite site = new SPSite("http://localhost:333"); }); When I execute it on a Windows Server ...
0
votes
1answer
522 views

SharePoint Claims authentication on external zone : Could not retrieve the IIS Settings. Parameter name: context

SPClaimsUtility.AuthenticateFormsUser(Context.Request.UrlReferrer, txtEmail.Text, txtPassword.Text); This authenticates the user properly and lets me through to a page that needs authentication on ...
1
vote
1answer
14 views

Sources for learning how to use the SharePoint 2010 API?

Does anyone know of a resource/book/website/video series that's something like a "Non-developers guide to working with the SharePoint API"? I've looked a lot online for something like this but really ...
0
votes
0answers
24 views

C# code errors after decompilation with ILSpy

Need your assistance again. We have SharePoint 2013 console application for list management (updating\cleaning and so on). But someone of our admins has deleted source files of VS project :( I've ...
0
votes
2answers
41 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 ...
0
votes
0answers
26 views

Cannot save edited file css/js under SiteAssets

For SharePoint development, we only use client side programming (Javascript). I am used to place js or css files under SiteAssets. I have problem with only one of my site. When we upload or copying ...
0
votes
1answer
1k views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
0
votes
1answer
21 views

Get selected Value from Lookup Dropdown on ItemAdded

I am attempting to grab the text value of a lookup dropdown after an Item is Added. The way I'm currently doing this, gives me the string 23#ADMIN, which is the combined ID and text. I could go the ...
1
vote
1answer
86 views

How do I use IN in a CAML query?

I have a CAML query where I want to check if a field's "status" is equal to "Ordered" or "Approved". I've located the documentation for IN in CAML but it's not very specific. I've tried two queries, ...
0
votes
1answer
909 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 ...
3
votes
1answer
880 views

Setting an audience from declarative WebPart?

I have a module that deploys some page. I'm adding webparts to these page, using a <AllUsersWebPart> node within a <View>: <View WebPartZoneID="Body" WebPartOrder="5" ...
0
votes
0answers
21 views

Download list attachments using lists.asmx webservice

I am trying to download SharePoint list attachments using the following code. I am receiving an exception "Column 'Attachment_Text' does not belong to table Attachments". private static void ...
1
vote
2answers
608 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 ...
1
vote
2answers
7k views

System.Web.HttpException: Request timed out

I have SP webpart for importing budget items in SP List. For some 4000 items it took about 3-4 minutes (it do some custom checking, parsing and importing) to import that (on my dev pc). But if I start ...
1
vote
1answer
37 views

Create email programatically

I am creating an application page and hence creatig a button in asp.net c# that when clicked will open up Outlook window. I am referencing to the Microsoft.Office.Interop.Outlook dll, and using this ...
1
vote
1answer
68 views

CSOM CamlQuery is returning data I don't believe it should

I have the following code to retrieve orders from an order list that have a status of Approved: private static ListItemCollection LoadListItemCollection() { using (var ctx = new ...
6
votes
4answers
5k views

What SharePoint 2013 Development can be done in Visual Studio 2010?

It looks like the tools for developing SharePoint 2013 customizations are mostly in Visual Studio 2012 and "Napa for Office 365." If you've tried developing solutions for SharePoint 2013 in Visual ...
0
votes
0answers
8 views

Converting ListItemCollection to List<t> efficiently

I am getting items from a sharepoint list, like below, and then appending these to a list of the object type. I can't help but feel this is a slow way to populate this list, looping through each list ...
3
votes
3answers
921 views

CAML query for sharepoint list not working

I have a CAML query where I am getting records between a date range for a sharepoint 2010 list through an asmx web method call. It looks like this ...
0
votes
1answer
20 views

Display/hide control in Webpart based on edit/browse mode

I have a Visual Studio project in which I have created a Visual Webpart. In the user control I have a panel which I want to display in edit mode and hide in browse mode. ASP.NET code snippet: ...
0
votes
0answers
15 views

SharePoint Stripping Embedded Code

I am trying to add the following code to the embed code section. (Insert > Embed Code) when I paste it there, it works perfectly, the snippet is created. Once I save the page it does work, go back to ...
0
votes
1answer
655 views

Can I deploy a sandboxed solution from Visual Studio to SharePoint online?

Apps are great for many things but hosting a service for a one-off customization of a host web seem a little overkill. I want to use a sandboxed solution for things like branding and data structure ...
2
votes
1answer
3k views

Register a global.asax into a SharePoint Site

I'm trying add a .asax file into a SharePoint site. I've been following this tutorial. It's quite simple but I'm new to web programming, and I didn't understand where I must insert (and how) the ...
0
votes
1answer
27 views

SharePoint 2013 Activity Event in Newsfeed

I need to add custom notifications to the personal Newsfeed on people's MySites. I found several tutorials and code examples for SharePoint 2010 on the net and tried to do the same with SharePoint ...
0
votes
1answer
23 views

CAML Query for DateTime field with “In” element

I have a dynamic CAML builder which I built to generate queries like the following: <View Scope="RecursiveAll"> <ViewFields> <FieldRef Name="Editor" /> <FieldRef ...
0
votes
1answer
47 views

What SharePoint code determines the order of the fields in the Edit form?

Where can I find the code in SharePoint that determines the order of and what fields are in the Edit form? I have looked at the EditForm.aspx page and it doesn't look like this is determined there. If ...
0
votes
1answer
32 views

Add FBA User using C#

I have install the FBA SharePoint 2013 pack. https://sharepoint2013fba.codeplex.com/ It's configured and working. What I am trying to do is programmatically add a FBA user. Has anyone done this ...
0
votes
1answer
27 views

Copy SharePoint file from Http to Ftp

Is there a direct way to copy a file from a SharePoint library to an Ftp location? Currently, I'm able to download the document to a local directory using the OpenBinaryDirect method, however this ...
0
votes
1answer
760 views

Retreive Items from SharePoint list using c# client object model

I am trying to retrieve the Author and Editor column values of a sharePoint list using C#(SharePoint client object model). Instead of displaying the value of Author field, it is getting displayed as ...
0
votes
1answer
20 views

Document Library Attachment Retrieval. LINQ vs CAML

In a particular project I am required to retrieve corresponding attachments to a request submitted by a user. On one page the live requests are displayed with links to the attachments. The project ...
2
votes
1answer
714 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(); ...
0
votes
1answer
33 views

Retrieve file version metadata with CSOM

My organization is requiring that we rewrite all of our sandbox solutions as we shift to SP 2013 as provider-hosted apps using CSOM. One of the event receivers I wrote would previously use the ...
0
votes
1answer
29 views

Update Choice column in SharePoint

I need update choice column. Let say my column has values like "A", "B". Now I need to insert their a new value like "C". My following code is not working. using (SPSite site = new SPSite(siteUrl)) ...
2
votes
1answer
1k views

Error: Unexpected response data from server - user Profile properties displays

I get the mentioned error message when i try to display the User Profile properties by using JSOM(Java Script Object Model) Error: Unexpected response data from server. The error occurs for around 1 ...
0
votes
2answers
1k 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 ...
1
vote
1answer
1k views

InfoPath code to delete all rows of repeating table and then add back one default row

I have the code on a clicked event to reset a repeating node (deleting all existing rows - see code)... I am looking for the best way to add back a default row. I tried using xmlwriter, but this ...
0
votes
1answer
70 views

How to get all checked out files in SharePoint client object model c#?

I need to get all checked out files from a document library. I am trying by following query. CamlQuery camlQuery = new CamlQuery(); camlQuery.ViewXml = @ "<View> <Query> ...
2
votes
4answers
1k views

Is it possible to read a sharepoint website using C#

I am new to sharepoint technology. I want to know if it is possible to read a website hosted in sharepoint. I can see that page after I log in. Can I do that in C#? And do I have API to do the log in ...
0
votes
2answers
251 views

Add “file preview” to Document Library “forms”

In SharePoint 2013... (Enterprise). On the Forms for my Document Library, I would like to add the "document preview" that comes up in Search Center (for Office and PDF files). Has anyone done this? I ...
2
votes
1answer
21 views

Multiple Instances of SharePoint App

I have a question that can we create multiple of a SharePoint app no matter if it is either SharePoint hosted or Provider hosted or AutoHosted. I want to know that same as a webpart, can I create ...
1
vote
1answer
3k views

How do I get the list item ID of an item I just created in a Visual Webpart

I have a visual webpart which creates a list item, but I need to reference the newly created item's ID for later use in the same webpart. How would I do this in C#? Thanks
0
votes
0answers
18 views

Retrieve site users permission level using c# client object model

I need to retrieve the permission level of site users on that particular site using the c# client object model. However i am able to fetch the permission level of the groups, but not finding any ...
1
vote
1answer
25 views

Changing Core Document Columns in bulk through cmdlet

I would like to change Core Document Columns and some other columns (id, name, title, created by, version etc) through SharePoint cmdlet, is it possible? My idea is using loop and give columns data ...
0
votes
1answer
20 views

Update user profile property [PreferredName] throws PropertyNotEditableException in sharepoint 2013

I'm trying to update the PreferredName property in the User Profile. When trying to do so I get a PropertyNotEditableException. using (SPSite elevatedSite = new ...