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
2answers
3k views

SSIS Import Sharepoint 2010 List to SQL Server

Is there a way to do this via code? How so? I simply want to import data from a list in SharePoint 2010 to a SQL 2005 or 2008 server. I know there are several 3rd party plug-ins that work, but I ...
0
votes
2answers
2k views

CEWP on Allitems.aspx in SharePoint 2010?

I have a SharePoint 2010 Discussion board and would like to add a Content Editor Webpart on Allitems.aspx page of it. I understood that we can not directly add a CEWP into the page however should use ...
0
votes
2answers
213 views

how to calculate the other country time. using my local machine time in c#?

Example: My system having India time and my array contains all the countries GMT time. How to do the calculation to get the other country time? if my time is 5.00 P.M if the country is Pakistan it ...
0
votes
2answers
49 views

Csom or rest to verify user

I am uploading a spreadsheet to a task list using visual studio - the sheet will usually have users that are misspelled or incomplete and SharePoint throws a not a user error. I have to go back fix ...
0
votes
1answer
26 views

Error on web.Webs.Add, Invalid Characters

I'm currently trying to create a Sub Web on a Site. The problem I'm faced with is that for some reason I'm getting an strange error message. Additional information: ...
0
votes
2answers
100 views

ItemUpdated not changing field values

I have a document library that should replace the Name column with the value from an Employee column. Code: public override void ItemUpdated(SPItemEventProperties properties) { ...
0
votes
2answers
60 views

How retrieve custom fields only when using SPListItemCollection?

Hi with following code I am retrieving a DataTable from a List: using (SPSite site = new SPSite("http:...")) { using(SPWeb web = site.OpenWeb()) { ...
0
votes
2answers
23 views

Efficiency of SQL updates/queries versus dealing with lists

I'm doing a lot of operations on very large custom lists, comparing them to SQL tables and updating items in the lists based on those tables. Currently this is a pretty slow process because it takes ...
0
votes
2answers
54 views

How can one learn the overall Sharepoint development ecosystem? [closed]

Since Sharepoint is such a huge platform with so many components and it can be used in so many different ways, I was wondering if there are good examples of sample projects which demonstrate how the ...
0
votes
1answer
65 views

How do you tell if a site (SPWeb) was unsuccessfully provisioned programmatically?

I have an application that is running periodically using the task scheduler. The Application gets a list of projects from a database and checks to see if there is a corresponding sub-site in the ...
0
votes
1answer
57 views

Is a Standalone SharePoint 2010 Server Good Enough as a Test Environment for Production SharePoint Farm

I have inherited SharePoint 2010 at work and would like to test some features we are not utilizing. I would like a testing environment for SP but being limited on resources, I want to set this up on ...
0
votes
1answer
838 views

Do I have a future career as a SharePoint developer? [closed]

I'm a recent graduate with a BS in Business Administration/Management Information Systems. I've been working as an intern in corporate IT for a large company for the past year. I started with basic ...
0
votes
1answer
170 views

Using C# Script in SharePoint Page

I've done quite a bit of searching (several hours actually) but I haven't been able to get this working. Basically, I have this button: <asp:Button runat="server" Text="Go!" id="go" ...
0
votes
2answers
321 views

Do timer jobs always run under DefaultServiceAccount?

I'm curious whether or not all timer jobs will always run under the same farm service account, i.e. SPFarm.Local.DefaultServiceAccount as specified at installation. For example, if farm service ...
0
votes
2answers
101 views

How to programatically get a link to custom timer job settings?

I have created a custom timer job and deployed it to all web applications. In a custom central administration application page, I would like to show links to this timer job (e.g. 2 links if there are ...
0
votes
3answers
106 views

How can I provision Custom Default.aspx to sites?

I have created a Custom Default.aspx and through the code you see I can use it as "Home Page". SPWeb web = osite.OpenWeb("/anotherSite"); SPFolder oFolder = web.RootFolder; oFolder.WelcomePage = ...
0
votes
1answer
668 views

Export my Enterprise Wiki aspx pages to a PDF files

Our client has asked if we can add a link to their current Wiki pages named "Export to PDF", so when the user click on the link the Wiki content will be exported inside a pdf file ? i got confused if ...
0
votes
1answer
403 views

Code Download file from Doc icon image in sharepoint 2010

I have written code where it will show the Sharepoint document library in sp grid view. In the grid view it will show the doc icon Image correctly. Now i want to Download the uploade document from ...
0
votes
2answers
369 views

Use server object model check if SPListItem field is a SPUser or SPGroup

I am making a TimerJob that duplicates ListItems from one SiteCollection to another. In order to do this I need to copy the Users and Groups over to the other site. I am having trouble identifying ...
0
votes
2answers
77 views

Sharepoint 2013 / VisualStudio 2008

We have installed a Sharepoint fondation 2013 and we are working with a VisualStudio 2008. Do you think it will be possible to develop some webparts with this configuration ?
0
votes
1answer
102 views

Cross-Site Collection query/cache

i wonder of this is technically possible. We have 17000 sites. Some people might have workflows in some of these sites with tasks assigned to them. Lets say a normal user can have up to 20 workflows ...
0
votes
3answers
132 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
69 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
2answers
205 views

Have got a problem with making a CAML Query by String contains “&”

Hello i have got a problem with making a CAML Query by the string which contains sign "&". I have Got a "L&M" firm and when I choose it on DropDownList it make me error: How to use this ...
0
votes
3answers
253 views

Read list from central admin

I have an application page which connects to a sql database based on settings on a list hosted in central admin. For some reason, I cant debug the web.GetSafeListByName, I attach the debugger, put a ...
0
votes
1answer
660 views

Auto-compress images when uploaded to Image Library

I have a need to auto compress images as they are uploaded to an image library. Using code or otherwise how could I go about this? I don't want to specify a fixed height / width but would rather ...
0
votes
2answers
703 views

Hide Columns in Document Information Panel, but show in properties panel

I am trying to hide some columns from view in the DIP, but allow users to change them in the properties panel for the document. I am trying to associate 3 base content types for attaching different ...
0
votes
1answer
227 views

Programmatically adding a sequence number to the 'Title' column during item creation in SP List

As per the title above, I have a list that stores IT support requests. I need a sequence number that matches with the item ID and I want to add this sequence number to the Title of the request. I ...
0
votes
2answers
1k views

How to copy files from one document set to another document set

In a event receiver depending on some business rules, I need to copy the Document Set CONTENTS to another existing document set. However I cant find how to do it. I have the code that gets the ...
0
votes
3answers
2k views

Is it possible to have CAML Join without Lookup Columns?

I am new to SharePoint. I am developing a web-part in that I am trying to join two list. I have a same web-part in that lists were join using LINQ query. But it takes more time to fetch the data. So ...
0
votes
1answer
306 views

System.UnauthorizedAccessException was unhandled by user code in simple code

I got this exception in very easy code and I have running with elevated privileges around it. private void ChangeVersioningOnDocumentLibrary(SPListItem item, SPItemEventProperties properties, SPSite ...
0
votes
2answers
34 views

How to round a datatime LocalTime to the onkly datatime. Not to the time with hours

I have got a code: DateTime dzienStart1; DateTime dzienStop1; dzienStart1 = dzienStart.ToLocalTime(); dzienStop1 = DateTime.Now.ToLocalTime().AddMonths(-2).AddDays(-1.0); Whem I look at a date in ...
0
votes
2answers
258 views

Possible to turn off SharePoint 'subscription' confirmation e-mails given certain conditions?

For parts of a site I'm developing - I want the OOTB SharePoint e-mail notification of a newly created alert (i.e. subscription) to be sent to the recipient as it should. But on occasions when I ...
0
votes
3answers
2k 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
1k 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
2answers
609 views

The impact of BreakRoleInheritance()

I call BreakRoleInheritance on a document (the actual list item) in order to assign someone of less permissions the 'contribute' rights to that particular item. In doing that, have I 'broke' the ...
0
votes
1answer
407 views

Popup on Sharepoint. How to add?

I have got a question, How to add popap window to Sharepoint by the code. I tried many thinks, but they could be block by web browsers. I must find that want unblock by web browsers.
0
votes
2answers
241 views

Writing a ItemAttachmentDeleting in Event Receiver

i have got two Lists {"Wpisy", "Szczegoly"} And if I delete record in Wpisy I want to delete all corelate records by days in "Szczegoly", and worker schoud be the same, and Kontrakt schould be the ...
0
votes
1answer
201 views

User's Alerts always null

I've set the user alerts fine (I've even checked through the UI that they're there). But when it comes to accessing these Alerts the collection is always null: I understand that the SPUser must be ...
0
votes
1answer
2k views

Where to Place XML File to be Read by Web Part?

In another question, I finally found a way to deploy the XML file to be read via a Feature, to the _layouts folder: Feature Elements File Should I be deploying it there at all? I wasn't able to ...
0
votes
2answers
345 views

Notify item update by JavaScript

I created a popup window that updated the metadata information of my item. When the operation of updating is complete I would like to close my popup and show the notify alert. I succeed to close the ...
0
votes
3answers
373 views

Site Collections <target user> is a member of

There is already a webpart for this but it shows subsites etc, which is not the requirement. What I need is a webpart that will list the Site collections a target user is a member of, and it must be ...
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
2answers
2k views

Finding all activated Site Features & Site Collection Features in a Site Collection Script

I wonder if someone knows any C# script that will provide me all Site Features in a site collection as well as all Site collection features in a site collection. I only required Activated features ...
0
votes
1answer
190 views

Timer on a SharePoint List

I came across a very interesting scenario I need a Timer for Item added Event receiver for a SharePoint List and this list is being added to hundred of Webs. Now each List needs a timer job, which ...
0
votes
2answers
146 views

How to Find out Site definition being used by a Site

I always struggle to find out that how to know what site definition or site template a "Web" or a "Site" is using. We do have a lot of custom site definitions and site templates, we are using in our ...
0
votes
2answers
70 views

Cyclic calling of event receivers

I have a Deleting Event Receiver, say, on list A. Also I have other Deleting Event Receiver on list B. There is a deleting method in both receivers, which deletes items of each other. So, when an item ...
0
votes
2answers
164 views

Start Sharepoint C#

I'm beginner in Sharepoint 2010. I would like to develop a solution with Sharepoint (interaction with api Linkedin or google maps). I see many samples but the hierarchy of the vs project is unclear. ...
0
votes
2answers
560 views

How to Display a treeview Control in a webpart Or Alternatives

Hi I developed a TreeView that listing groups and users in them, but for some reason I cant find the best way even googled it, here's the Code protected override void CreateChildControls() { ...
0
votes
2answers
970 views

CAML query returning everything?

I am busy messing around with lists and CAML queries: SPQuery query = new SPQuery(); SPList list; SPListItemCollection collection; query = new SPQuery(); query.Query = ...