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
347 views

Adding new items in SharePoint multi lookup

How can I add new items in multi lookup column if it already has some values? Like if I have "Eddi; John; sarah" in multi lookup and I wanted to add 4th value in it. I tried the below code: ...
0
votes
1answer
275 views

Issue in creating sites with different regional setting

I am using SharePoint 2013 Standard edition(June CU update) and facing an issue with multi-lingual sites. I have custom web templates with which sites are created. The current template which I am ...
2
votes
1answer
122 views

How I can start with ASP.NET and Sharepoint 2010 Development? [closed]

I don't know how I can begin with the Development for Sharepoint 2010. I can create ASP.NET Webapplications and begin with ASP.NET MVC 4 Now. I search a good article for the work of ASP.NEt (MVC or ...
1
vote
1answer
313 views

Excel Tooltips is not display in SharePoint 2010

I am setting up the SharePoint 2010 BI environment. When I upload "PowerPivot Excel" document into SharePoint under document library, the Tooltips on chart is displayed as "Excel Chart or image". I ...
2
votes
2answers
4k views

Using SPQuery with SPList.GetItems(SPView)

I have a web-part which displays a variety of items in a spgridview based on a SPView. Additionally, I have implemented a search module which when a keyword is entered should get all items that has a ...
1
vote
0answers
15 views

Sharepoint Multiple Workflow On ListItem [closed]

How to run multiple workflow on listitem programattically in sharepoint 2010 ?
0
votes
1answer
385 views

Update Workflow Task from an external webpart

I have a sequential workflow which creates a task that contains the custom url to a custom webpart. The web part provides the option to select different statuses. When the user selects 'Approved' I ...
1
vote
3answers
3k views

“Updates are currently disallowed on GET requests” error creating a site collection

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I have deployed a publishing portal. I am developing a ASP.Net web application using VSTS 2008 + C# + .Net 3.5 + ...
1
vote
2answers
714 views

SPListItem.Attachments - what type cast?

When iterating through a SPListItems SPAttachmentCollection what type cast am I supposed to use? SPFile or SPFileStream or something else? I want to display the item's filename and when it was ...
0
votes
1answer
115 views

NotSupportedException caught when trying to create library based on custom template

I am trying to create a library based on custom template type using the following code: using (ClientContext context = new ClientContext(@"http://website.network/sitecollection/site/")) { ...
0
votes
0answers
814 views

C#: cannot get listitem field value but works fine in powershell?

back again with a strange issue. Using powershell I can get a handle on a SPListItem and do Item["My Field"] which prints its value. However, in a C# custm workflow activity, when I attempt to do ...
2
votes
1answer
33 views

Best way to upload document to a cross domain

what will best way for me to upload a document to a different site collection in a different domain (also a different farm) using some credentails. Should i use List.asmx web services or Should i ...
-1
votes
2answers
42 views

Timer job fails while trying to data [closed]

I'm fetching data from a excel file and creating sharepoint groups for each entry. There are around 10000 entries for which i need to create sharepoint groups I created a SharePoint custom timer job ...
7
votes
2answers
951 views

Can a CAML query find all documents that were ever modified by a specific user?

I'm trying to list all documents that were (ever) modified by a specific user, using a CAML query like this one: var query = new CamlQuery{ ViewXml = "<View Scope='Recursive'>" + ...
0
votes
1answer
62 views

Load libaries given subsite name in clientapi

Hi I'm fairly new to the sharepoint client api, but I'm trying to get the libraries given a site name. My clientcontext in my class is at the root of my sharepoint e.g. https://mysharepoint.abc.com ...
0
votes
1answer
2k views

Create a WebPart Page in Visual Studio 2010

I have a project that will have a few components: Lists, WebParts, WebPart Pages and an Application Page. I know how to create and deploy all of the above using Visual Studio 2010 to a SharePoint ...
0
votes
0answers
48 views

Turning off markup sanitation when creating pages dynamically in c#

I am creating a program to move pages of content from a CMS system to SharePoint. I notice once I run the following code that the html tags (invalid links, anchors) are being purged. This happens ...
0
votes
1answer
150 views

The Version History for a file in the library showing different “Modified By” Column

I am writing a tool to generate the versions of a file/page in the library. My Report should include the version number and the version created by/Modified by name. While getting the modified by ...
3
votes
3answers
2k views

How to create Site (SPWeb) on Sharepoint Online

I have a problem creating Sites on Sharepoint Online. The code that works on-premise do not work on Sharepoint Online. I do not want to bother you with the code, i just want a clean start. So my ...
0
votes
1answer
214 views

CAML query to select users IDs

I'm trying to select users ids from custom tasks lists. All users are in one SP Group and I need to collect users Ids that doesn't have tasks. query.Query = string.Format("<And><Membership ...
1
vote
0answers
47 views

document sharing on sharepoint 2013

So I've been reading (and checking on my vm) that SharePoint 2013 has a built in capability to share documents with users inside and outside your organization without breaking the permission ...
0
votes
1answer
103 views

How to detect if the user exited page edit mode?

I am making a visual web part for SP2010, and the webpart hides shows content depending on if there was a postback or not. However the only exception to this, is the postback of exiting the page edit ...
0
votes
1answer
24 views

Get which fields were modified - before calling Update()

I need to call Update() on an item only if some fields were modified, and some other fields were not modified. Is there anyway to get, programmatically, a list or array with the names of the fields ...
0
votes
1answer
71 views

Create folder in Generic Setup Path

Trying to create folder in filesystem. But it doesn't work for general domain users, only for admins. I've tried _strArticlePath = SPUtility.GetGenericSetupPath(Path.Combine(_strArticleStoragePath, ...
2
votes
2answers
162 views

Cant see document libraries in content by query webpart

I have the following Content query webpart created by code. But its not showing me the last modified documents as I need, when I go to edit page and check the webparts properties, it does not even ...
2
votes
2answers
6k views

How to send an email in a visual studio sequential workflow

I'm trying to create a sequential workflow using VS. I'm needing to loop through all the items in a list and send an email if one of the columns equals a specific status. I have not found any good ...
0
votes
2answers
252 views

2010 - SPFolderCollection not updating with new items

2010 Enterprise, VS2012, c# server-side Here's the situation: I have a method that gets an SPFolderCollection object from a document library. It then loops through the list checking for a specific ...
4
votes
1answer
149 views

Memory Leak is it?

I have this small chunk of code and I can't understand why it's taking soo memory. static void Main(string[] args) { using (SPSite mySite = new ...
0
votes
3answers
152 views

SPFolderCollection valid index arguments

SharePoint 2010, c# server object model, VS2012 Long story short, I'm trying to fetch a folder of a document library, create a new folder in it from an array of names, then fetch the new folder via ...
1
vote
3answers
56 views

New to Developing SharePoint Web Parts and Features

I recently Developed a really simple web part scoped to site (or at least it's feature is). I also created a feature that up[on activation is suppose to create a new content type. That's fine and ...
1
vote
2answers
1k views

Site columns created programmatically don't show up anywhere

I need to create a site column programmatically during feature activation (requirements - supose I can't change that). My code is fairly straight forward: string internalName = ...
3
votes
1answer
6k views

Feature activation error: System.InvalidOperationException: Operation is not valid due to the current state of the object

i have taken one List Email event receiver(Type is EmailReceived) and that event receiver attach with document library. when i am activate that feature got error. i have check on ULS Viewer. error ...
0
votes
1answer
1k views

How to add “Title field with link to Edit Menu” to a View using code-behind C#?

all I am trying to attempt adding Title with Edit Menu in SharePoint 2013 through code-behind. However, I am unable to do so. Below is my syntax I am using: StringCollection strViewFields = new ...
1
vote
0answers
80 views

Changing a file in a document library with SharePoint web services

I'm trying to update a file in a document library using the SharePoint web service. The "CopyIntoItems" method from the "Copy" web service I use to upload new files returns an error if I try to ...
1
vote
1answer
482 views

Which type of app can I publish to Office Store?

I want to know that which type of Apps I can add in Office Store for selling purpose? I created an AutoHosted App and add it to Office Store and after few days I got the error report saying that ...
2
votes
3answers
383 views

SP2013 Development Environment

Curious how people are setting up their development environments for SharePoint 2013. Is it cost effective to setup everything in the cloud? Seems not because Azure keeps charging you even if your ...
2
votes
1answer
3k views

How to check if user has read/write permission for a SPListItem in c#?

In my SP2010 visual webpart, I am checking permissions with the code below. Basically the current user is either an admin or a regular user. If they are an admin, they need to have permission to edit ...
0
votes
0answers
31 views

How to add to Sharepoint list editing mode false after value change

I have got a list with a lot of elements. I want to add to sharepoint list date which block editing when the date expired. When the date not equal the selected Value.
0
votes
1answer
216 views

XSLT list view webpart is not displaying data after adding view dynamically

I am customizing xsltlist view webpart using c#. I am able to get the results properly till I give the view name to the code. As soon as I give it it's not rendering the data. It's only displaying the ...
1
vote
2answers
414 views

Add hyperlink to custom web part properties

I would like to add a hyperlink to a custom web part which will take the users to a web page on a new window with the configuration settings for the web part. If I try and add a text property as ...
5
votes
1answer
680 views

How can i add multiple items to a lookup

I have a CSOM console app that uploads files to a library, then it creates a lookup field in another list and also adds lookups to the files in my library. The following code adds a single item in ...
0
votes
1answer
165 views

SP 2010 Visual Webpart - How to get all documents in a folder and sort them by caml query?

I am making a visual web part for sharepoint 2010. I have a SPFolder object and I want to get all items in it, but I want to sort it by a specific field. I want to do this by CAML query instead of ...
5
votes
1answer
2k views

How do I remove all users from an SPGroup object?

I have an SPGroup object populated, how can I remove all members from the group, so that essentially I start with a fresh group. I can't delete and recreate it, so I need a way to work with the ...
2
votes
4answers
2k views

SharePoint -access to path is denied

I am working in SharePoint 2010. My requirement is to create folder inside SharePoint layouts and create a file inside that folder. Also I need to access the file for a current logged in user. ...
2
votes
3answers
1k views

Sharepoint site throws exception on clicking save button after uploading a file

I have deployed an event reciever with item added event on a document library in sharepoint site. In item added event I am calculating the number of pages for the uploaded document and updated a ...
0
votes
1answer
61 views

Will the code be leaking

I've wrote here a code for SharePoint 2007 to modify few items through out of all site collections in web app, my question is the code written good, or is there a leak somewhere, and i could improve ...
0
votes
2answers
354 views

ContentType.FieldLinks.Add() issue with hidden and required

I have a feature that does the following in the feature activation Code : Creates a new SiteColumn (Type=Text, Hidden=False and Required =True) Set the french version of the Name (using ...
4
votes
3answers
111 views

best way to store property of a site

I have a site called Exhibitions that contains many many subsites each of which is an individual exhibition (with pages, images etc). I would like to attach to each of these subsites a property which ...
1
vote
1answer
391 views

Looping through all the document libraries and modify the items

I have here a piece of code which loops through the all site collections and webs and lists to find particular and modify some items: foreach (SPSite site in webApp.Sites) { ...
0
votes
2answers
739 views

Uploading an InfoPath form programmatically

I know how to upload the published xsn InfoPath form, but when I try to open it, the form can't find its code behind assembly dll. Does anyone know how to add that? I know it gets put in hive 14 ...