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

learn more… | top users | synonyms (3)

2
votes
3answers
988 views

Simultaneous development environment for SP2010 and SP2013 in single OS

I have on my laptop a development environment as win7 with std IIS, SharePoint 2010 Server, SQL 2008 R2 and Visual Studio 2010. I already installed Visual Studio 2012 side by side. But what about ...
2
votes
1answer
288 views

Is there a way to only clear a specific item from the recycle bin?

I know I can empty the recycle bin for a site collection with the following: public static bool EmptyRecycleBin(string siteCollection) { try { using ...
2
votes
1answer
2k views

Set multiple values to Enterprise Keywords TaxonomyField

I want to programmatically set the values of the Enterprise Keywords Managed Metadata field. This field supports multiple values, but I can only get it to take one at a time. I have the following ...
2
votes
4answers
2k views

CAML query to find a value that does not begin with

I want to build a CAML query to search for all title fields that do NOT begin with a certain value: something like this: Where Title NOT BeginsWith 'myvalue'. How can i do that in my CAML query?
2
votes
1answer
1k views

Why can't I update an SPView query?

I'm trying to update a SPView query, it doesn't give any error but it also doesn't update the property (SPView.Query). In SPManager 2007 it works with the resulting query of that code. Can you spot ...
1
vote
2answers
425 views

Updating 'Created By' field in SP2010 programatically

I'm trying to import data from an .xml file to a custom list in SP2010(created programmatically). I'm able to create and update all fields except 'Created By' as it says that "Cannot update read only ...
1
vote
1answer
586 views

Check box in gridview should update the splistitem check box

I am a newbie in visual studio. I have a Sharepoint list which contains the following fields group name, user, section and active(which is a check box) . I have a grid view visual web part which will ...
1
vote
2answers
1k views

SP GridView Filtering in share point 2010

I have sp grid view in my application page, I am binding some data to the sp grid vie, now I want to apply filtering for this grid. I am googling on this one since 2 days, I am unable to get the exact ...
1
vote
1answer
75 views

Content DB not getting any permissions on web application created through central admin

I tried to create a Web Application using Central Admin. It created web app without displaying any error, I can browse site too after creating site collection and that, but content db got no ...
1
vote
2answers
2k views

How to get user tasks from My Site task list?

I'm working on a solution in SharePoint 2013. It's a Web Part that is going to display the five tasks that are due next from the task list on the current users' My Site. I'm new to SharePoint and kind ...
1
vote
1answer
145 views

InfoPath, and Calling a instation of Template InfoPath from Event Receiver

I want to call a form of InfoPath from Event Receiver. How Could I set a field infopath a Values, from Event Receivers to sets a Values on infopath fields which could I Validate and show or hide a ...
1
vote
1answer
353 views

CAML how tu change Query to get a Range from Date Start, to Date End

I have got a list with the specyfic column Nazwisko | DataPoc | DataKon | I'm made a procedure like You told me, but debbuger told me that it's not coming to the loop for. string ...
1
vote
1answer
744 views

Rating's not being saved

Initially, I thought there was a problem with a control I've made to rate a document when I found that no documents appeared to be rated. So last night I rated documents (approved and published) ...
1
vote
2answers
445 views

Convert an SPTimeZone to a TimeZoneInfo Object

I am working with the Exchange Managed API on SharePoint and in order to correctly get date/time information from the Exchange Managed API I need to pass it a TimeZoneInfo object when initializing the ...
1
vote
3answers
2k views

Redirect from ItemAdded event

I am using an ItemAdded event handler for doing some validation. If my validation fail is it possible to redirect the user to another page. Ideally it would be good to show the page in a dialog box. ...
1
vote
0answers
78 views

What are the must have tools when working with SharePoint? [duplicate]

Possible Duplicate: List of SharePoint 2007 / WSS 3.0 development tools When developing or administering SharePoint, what are the must have tools? This question is intended to reference ...
1
vote
1answer
1k views

What cannot be developed for Sharepoint Server 2010 in 32-bit workstation? and in 64-bit workstation?

Before, I was developing remotely on Microsoft Sharepoint Server 2010 machine (Windows Server 2008 R2 Datacenter and all servers 64-bit) accessing it over internet through RDP from Windows XP SP3 ...
1
vote
0answers
365 views

Content Types not visible under New Button

I have a Sandboxed Custom Action for SharePoint Designer that can add Content Types to Document Libraries. The problem is that it does not automatically add it under the "New Document". It's not ...
1
vote
1answer
225 views

InfoPath form template not displaying in custom Application Page [duplicate]

Possible Duplicate: SharePoint InfoPath formviewer part I have a requirement for opening an InfoPath item from an InfoPath library in a custom application page. Here is the code: ...
1
vote
3answers
790 views

Upload document to SharePoint document library using batch in C#

I want to know if i can upload a document to sharePoint document library using batch in C#. I know how to update and delete it using batch, but i don't know how to upload it. If i can't, what is the ...
0
votes
0answers
136 views

Why edit option is not working on the SPGridView in SharePoint 2010?

Have created the Webpart based on http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview It does work however I want display the results based on the filter value as below it ...
0
votes
1answer
85 views

Can SPPersistedObject settings be updated by normal users if ran with elevated privileges?

I have a custom ribbon icon "Enlist" deployed to each document library. A normal (i.e. non-admin) user can click this icon; when he does, I would like to permanently save the document library ...
0
votes
1answer
189 views

Trying to view custom application page in browser results in “404 FILE NOT FOUND” error

In VS2010 I created a new .NET 3.5 solution and inside a new project for SharePoint 2010 (empty project called "SPAppPageTest"); I deployed it as a farm solution. I added a new application page, ...
0
votes
0answers
290 views

clientContext.ExecuteQuery() giving an error: The remote server returned an error: (403) Forbidden

I'm trying to connect to SP site programmatically and get List data (external list) But getting an error: The remote server returned an error: (403) Forbidden. At clientContext.ExecuteQuery(); ...
0
votes
2answers
231 views

Retrieve user's tasks from mysites using server object model

I am having trouble aggregating info on all tasks from current user programmatically. This is what I got so far: SPWeb web = SPContext.Current.Web; SPSiteDataQuery query = new SPSiteDataQuery(); ...
0
votes
1answer
298 views

Using custom SPRoleType

Environment: SP2010 Enterprise, VS2012, c# Server-Side, full control of environment I'm trying to assign unique permissions to an SPItem (a folder in a document library) through a console app on the ...
0
votes
3answers
69 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 ...
0
votes
2answers
66 views

How to describe all content from the list in SQL

I must do Data Warehouse from my lists in Sharepoint. I need to connect to the Sharepoint and get all elements from the list and Show them in MS SQL Serwer 2008 R2. I need to show them in another ...
0
votes
1answer
481 views

openfiledialog in webpart

How to implement openfile dialog in a webpart ? OpenFileDialog class could not be accessed in webpart. Is there any other way to achieve this ?
0
votes
2answers
185 views

Custom action doesn't appear

I have an issue with custom action in SharePoint 2007, basically i have the following custom action declaration: <Elements Id="CF60B88A-783A-44f8-A49D-43659AB51G7E" ...
0
votes
1answer
596 views

How to use your own custom ListItem template for Display, Edit, and New

I would like to use my own custom ListItem template. I also would like to overule the ListFieldIterator method to use some logica to include or exclude some fields dependance on user/usergroups: ...
0
votes
1answer
4k 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
689 views

How to get count related Lookup value programmatically?

Another day, another question ;) So, I have two custom Lists, "Attendees" and "Events". In the Events-List there's a Lookupfield "Registrations" which I want to fill programmatically on page_load. In ...
0
votes
2answers
345 views

How to get elements from essential List programmatically

I have gotten two lists (like a view) from Microsoft Dynamics CRM. How can I get a elements from these two lists to the C# Sharepoint code in .cs file. The Administrator of CRM told me that this lists ...
0
votes
3answers
945 views

Why are some users appearing as system account?

I have implemented a feature in my solution where by the current user's Name is assigned to a field. With certain users - this appears as 'System Account'. Is it possible that if somebody is the site ...
0
votes
2answers
473 views

How to send dynamic parameters in url of sharepoint modal dialog options

I have the following code for the javascript modal popup. function ShowSearchBox() { var options = { title: "Search Here", width: 760, height: 380, url: ...
0
votes
2answers
689 views

How to add a from lookup field value to the text

I think about how to add a from lookup value to the text ? How can I write it to another colum ? In the same list.
0
votes
1answer
152 views

TimerJob error missing public constructor

I have an issue on my SharePoint 2007 portal, where i created a custom TimerJob, but when I deploy it i get a message: MyTimerJob cannot be deserialized because it does not have a public default ...
0
votes
3answers
512 views

Webpart properties getting empty after IIS Reset

I created a custom visual user control webpart property for my SharePoint webpart. The property has a textbox which is getting empty after an IIS reset. Can anyone tell me how to solve this issue ...
0
votes
2answers
783 views

The type is not registered as safe “Custom Actions”

I am trying to create a custom actions using wsp builder, My folder structure is something like this, Now when I try to deploy solution nothing comes up however I get this error in my ULS log, ...
0
votes
1answer
161 views

Refresh Site from Adding Item

Hello I tried refresh Site from Adding Item, but if I try too Use SPUtility.Redirect("http://gzawistowskilap/SitePages/Event.aspx", SPRedirectFlags.Trusted, current); it's giving me a error which in ...
0
votes
2answers
2k views

How to get items id in properties.AfterProperties elements?

I try this in ItemAdding, but it isn't work(Gives Null): public override void ItemAdding(SPItemEventProperties properties) { base.ItemAdding(properties); if ...
0
votes
1answer
777 views

The file * has been modified by SHAREPOINT\system

In the current scenario I am trying to copy a document set from one library to another, the thing is I cant use DocumentSet.Import because I only need the docset properties and not the contents. The ...
0
votes
2answers
3k views

Adding multiple controls to AdditionalPageHead

My question is regarding the delegate control AdditionalPageHead, as we know it allows multple controls to be loaded. My questions are: How to add multiple controls? I want that the different ...
0
votes
2answers
2k views

programmatically deploy to site collection level using c#

I would like to use c# to remotely deploy my sharepoint site collections and sites, I can easily write the code to perform most operations. However I can't seem to find a way of deploying the code to ...
0
votes
1answer
720 views

how to Find Template Name that has been used while creating a new Site Collection

I have like tens of custom Site definitions, so when I try to create a new site collection I select a template name, let say "ABCD 2020 DEVELOPMENT ISSUE SOLVED" and create a new site based on this ...
0
votes
1answer
794 views

close infopath form with managed code [duplicate]

Possible Duplicate: How to close an infopath form in C# style? I am trying to close the browser (aka where infopath form is loaded) with managed code. I tried some for variation below but ...
0
votes
3answers
1k views

ItemAdding getting the file name of a document

I have a document library. I want to add an itemadding event recieiever to do some validation on the file name of the document. How can I get the file name from the SPItemEventProperties
0
votes
1answer
323 views

Inherited Page Viewer Control - allowTransparency on iframe

I created a custom control that inherits from PageViewerWebPart. Now I need to toggle the allowTransparency attribute to = "true" on the rendered iframe to enable background transparency for the page ...
0
votes
1answer
1k views

How Do I Get the MySite Images and Full Name of the MySite owner in MOSS 2007 in C#

I am building a simple web part that needs the image that is used from the MySite and the First and Last name of the site owner. I know how to get the current user, I need the name. I am also having ...