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

Programatically adding webparts to a page in sandbox

I've successfully implemented code to add web parts to web part zones in code using WebPartManager's in other projects. Now that I'm working in a sandbox solution, VS can't seem to recognise ...
0
votes
2answers
1k views

Delete Item in Document Libarary using Client Object Model?

I have custom Database, this Database having SharePoint Item URL like(http://site.com/Shared Documents/a.pdf), so my challenge to remove this file from sharepoint Library using Client Object Model.
0
votes
1answer
202 views

I want to delete attachment and listitem but using this code it deletes all the listitems

private void DeleteFromSharePointList(HyperLink hp) { SPWeb web = SPContext.Current.Web; web.AllowUnsafeUpdates = false; SPList myList = web.Lists["Document cv"]; ...
0
votes
1answer
161 views

Creating SPSiteCollection, top level site programmatically

I have been given a task to create an event that dynamically creates new site collections on our sharepoint webApp. Thing is using Central Admin I can create "http://testsite.com/sites/newSite_1" and ...
0
votes
1answer
575 views

How do I get C# code behind a Document Library?

As part of an internship assignment, I'm working with SharePoint 2013. I'm completely new to SharePoint in general. Part of this assignment is a labeling system. The idea is that users can add labels ...
0
votes
3answers
600 views

Link to a document of shared document library

My specifications: Windows Server 2003 Visual Studio 2008 Windows Sharepoint Services 3.0 visual studio 2008 extension for Sharepoint services 3.0 I'm creating a web part with a SPGridView. I ...
0
votes
1answer
425 views

GAC and Signing assembly with strong name

I am following someone's tutorial like the following http://ranaictiu-technicalblog.blogspot.com/2009/11/sharepoint-create-custom-web-service.html Here are the steps i need to follow Create a ...
0
votes
2answers
6k views

Downloading files from sharepoint programmatically C#

I would like to know what are benefits/drawbacks when using either of these methods for downloading a document from Sharepoint using Microsoft sharepoint library public void Download(string ...
0
votes
1answer
2k views

How should I use sharepoint for facility booking?

Our company use sharepoint 2010, we would like to use sharepoint for facility booking, following are some basic requirements: 1.Users can submit application form( including who submit, where they ...
0
votes
1answer
142 views

Get UniqueID from splist how to , i only get the ID , but i want UNIQUE?

protected void LinkButton1_Click(object sender, EventArgs e) { try { int index = 0; LinkButton lb = (LinkButton)sender; GridViewRow row = ...
0
votes
2answers
2k views

SharePoint 2013 “Working On It” a lot during development with no CPU/disk activity

When doing anything that requires SharePoint to recycle, like deploying a project to SharePoint from Visual Studio, it takes forever for SharePoint to spin up again. The deployment is about the same ...
0
votes
1answer
1k views

SharePoint 2013 development from Visual Studio 2012

Do I need to install VS 2012 after SP 2012. I don't see SP 2013 Project options only SP 2010. I install VS 2012 before SP 2013.
0
votes
2answers
41 views

Webpart disabled! error!

In this image i am not able to press the webpart button to upload a webpart it does'nt mather which webpart , webpart button is disbled! When trying to Delete an existing webpart i get the following ...
0
votes
2answers
114 views

get string from another method after setting it with SelectedIndexChanged event of asp-net dropdown

So I'm creating a contact form for my event management system at the moment. I've got a Visual Webpart including private string selectedEmail; as a variable after declaring my class in code ...
0
votes
1answer
283 views

Ajax Control Toolkit at Sharepoint How to install

I get a AjaxControlToolkit from http://ajaxcontroltoolkit.codeplex.com/ I used install by Toolkit via NuGet. And i'm woried that it's get a lattest version of AjaxControlToolkit. Now I'm getting a ...
0
votes
2answers
74 views

How to build a InfoPath form on the site

I listened that it could be done that InfoPath Form is on the Site with WebPart. How Could be it Done? It should be a InfoPath form when I could on a site put date start of range, and date end of a ...
0
votes
2answers
1k views

How to get a list of events from a Sharepoint calendar that are 1 day from now?

I've been trying to get all events that are today as a test, I haven't been able to do that either. So far I've set an event for today (an all day event so times don't matter) and executed this query: ...
0
votes
2answers
259 views

The language-neutral solution package was not found

How repair this error: Please describe. The language-neutral solution package was not found.
0
votes
1answer
887 views

Can I store a date in a (Sharepoint Designer) workflow-variable?

So... I want to create a workflow to send a reminder-email 7 days before a date specified in a column of a custom list. So far so good, I have very little experience with workflows (created only one ...
0
votes
2answers
1k views

Find control in application page?

This line returns null Button BtnCopy = Page.FindControl("BtnCopy") as Button; but the control is there in the markup. <asp:Button ID="BtnCopy" runat="server" the entire method is called in ...
0
votes
1answer
231 views

Setting a Lookupfield for current Item in List

my use-case: I'm trying to implement an event-management system to sharepoint using visual web part(s). I have two custom lists, one is called "events". Let's say it has a column "Title" which shows ...
0
votes
2answers
1k views

Error “duplicate field name” while adding content type programmatically

Judging by the stack trace, one of the following lines of code is giving me an error: private void AddcontentTypesToDocumentLibrary(SPWeb web, SPList list) { SPSite site = ...
0
votes
1answer
379 views

How to add in Event Receiver Items Deleting

How can I delete a elements in secound list bounded with secand list if I delete elements in first list. I write a code, but i don't know how to delete a bounded item, please help: public override ...
0
votes
1answer
637 views

Sharepoint, changing a class of CSS in Sharepoint Modal Dialog

How can I change a name of class in Sharepoint Modal dialog. I want to color a background of massage so it be good to change a name of class="ms-dlgFrameContainer", but where could i Find this class ...
0
votes
2answers
32 views

Define the service and consume it

Regarding my question, I need to consume service and do some manipulation from what i get. This includes two questions for me, basically: 1) What kind of service is that? I dont know what kind of ...
0
votes
1answer
2k views

Event Receiver Item adding - How to get a user name?

At Event Receiver Item Adding I must add name of worker which is adding a items to the list. Here is my code: SPListItem item = lstOtherList.Items.Add(); item["Kontrakt"] = ...
0
votes
2answers
162 views

XmlFormView and QueryStringFilter

I'm working on a project to automatically generate some document libraries and pages. One of these pages I have to put a infopath form webpart and a TextFilter to send to this form some information (a ...
0
votes
1answer
32 views

How to backap a list with a dates older than a half of Year

I want to backup a list when a dates are longer then one half of year. How can I do it on list? I have got a list: Contract | Worker | Day | Percent ...
0
votes
2answers
396 views

Problem with connectivity and OWSTIMER.exe

Our stagging environment is on a single server with 3 virtual servers, Database Server K2 Workflow Server WebFrontEnd Server Now time to time I am getting this exception for a webpart in event ...
0
votes
1answer
35 views

removing or hiding option “Add new document” for a custom document library

I have a custom document library that "should only allow one user" to upload/Edit documents but let everyone else to download/View it. At the moment I got two events that are checking who is ...
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
74 views

AutoStart Popup when some code are true

I have got a code: if (sumaProcentow > 8) { e.Cell.Style.Add("background-color", "#FF0000"); e.Cell.CssClass = "dni_swiateczne"; } I wont when this code are true to auto post popap in the ...
0
votes
1answer
272 views

List of Users in dropdownlist at adding form

When You adding a new element to the list, how made in adding item drop down list, where can users choise person which adding this thing to the list. I want to person have got a chance to choise ...
0
votes
1answer
103 views

CAML query, only want to render days in Calendar

I'm new in CAML. I try to learn it. I want to render a day's on ASP Calendar. Have got a list with 5 colums/fields: Kontrakt | Pracownik | Dzien | ID | Procenty ...
0
votes
2answers
54 views

Not able to add webpart to page using chrome

I created a visual webpart for SharePoint 2007, now I am able to add it to page using Internet Explorer but when I try to add it to page using chrome it doesn't add it or do a page refresh, I followed ...
0
votes
1answer
68 views

Pro grammatically adding choice field with another field relation

sorry about the title am not sure how i should name it. I want to be able to create two columns for a list that have a division - subdivision relation. If in the first field if i choose People the ...
0
votes
2answers
68 views

Is it okay to use a domain account for a SP dev box?

Salvete! I have installed Windows7 64bit on an Oracle VirtualBox VM. I am preparing to install Sharepoint (Enterprise 2010), but I've a question about how this will work with my network's Active ...
0
votes
2answers
2k views

How to check if list item exists using item URL

At the moment I am trying to delete list item file using this code, SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new ...
0
votes
1answer
2k views

will sharepoint 2013 support MVC

I'm wandering if anyone knows if SharePoint 2013 will support MVC. Does anyone know? I'm wanting to be able to implement MVC in my sharepoint development process. Thanks,
0
votes
3answers
411 views

Render TextBox (sever control) in WebPart and manage (text, visibility etc of) the server controls from editor part

My initial goal is to achieve the following Render dynamic TextBox in custom editor webpart Manage Text (, visibility, height, width etc) of the TextBox from editor part. We can consider ...
0
votes
2answers
216 views

Can find user in peopleeditor but not in web?

I want to assign the value from a peopleeditor control to a user field in C#. I have a resolved entity in the people editor, but when passing the SPUserId into the SPFieldUserValue constructor along ...
0
votes
1answer
33 views

Trouble with redeploying Timer jobs during development

i have a project containing 1 timer job and 1SPpersistedObject. when i deploy the project for the first time it works fine and i debug the correct code. i then made a change and now it is debugging ...
0
votes
1answer
94 views

Import a UI built solution into Visual Studio for further development

Trying to get my head round a few things with SP and SP development. I have a complete solution which was built using both the UI and SPD. I have exported the WSP and now want to import this into ...
0
votes
2answers
451 views

Ribbon button and client object model code

My question is regarding the button on the ribbon and client object model code. I'm not sure how to do it: So i have a button here: <CustomAction Id="NewButton" Location="CommandUI.Ribbon" ...
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
3answers
4k views

C# If statement: The name Example does not exist in the current context

I am making this if statement and inside i am setting this SPWebTemplate which is a type. I think it would work fine, but it says that it does not exist in the current context. if (properties.WebUrl ...
0
votes
1answer
741 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
270 views

Adding column to a SPList

Normally I create a New List if I want to add an additional column to a List that already exists in a web. Wondering what would be the best option, should I create a new list with additional column ...
0
votes
1answer
271 views

Check if any user is currently logged in

I have a userID/userName, and I want to know if that user is currently loggedon to the SharePoint site. The SPUser object does not seem to have any of these properties. I looked at ...
0
votes
2answers
1k views

Datasheetview copy managedmetadata field

We have a list with 2 metadatafields, however in this list the user wants to use datasheetview to copy many rows, the problem is when you try top copy it says managed metadatafields are readonly, is ...