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
268 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
518 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
813 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
33 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
192 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
35 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
534 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
37 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
100 views

If a change a name for the column of the list how can I get it back

If I made a list in first time and puts a names on them, it's work good, but when I rename it, and want to call back from the code, it don't see the rename title of items colums. How can i call to ...
0
votes
1answer
75 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
425 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
110 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
59 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
71 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
69 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
3k 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
511 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
248 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
105 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
530 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
4k 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
886 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
408 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
375 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 ...
0
votes
1answer
359 views

How to get Site Map of ASP.NET page from where I am navigated to current page

I want breadcrumb trail from where I navigated to the current page and want to add an extra node to it. For example: I was here A > B > C > D > E (E has a link to Z) now I am here A ...
0
votes
1answer
65 views

I want to give a user with minimum permissions the ability to use a content editor

Just one particular content editor. So the user's permissions will still apply (i.e. they are not an editor so typically cannot edit) but will still have access to a content editor's rich editing ...
0
votes
1answer
431 views

PublishingStartDate empty even though the page is published

I've been through the typical publish/approve process and have, seemingly, successfully published a page (I've checked it's approval status in the manage content and structure section of the site ...
0
votes
2answers
4k views

How is Infopath 2010 “Sharepoint List Form” different from “Web Browser Form” and other form types?

If to create a new Sharepoint list, browse to it and click on ribbon a violet button with Infopath logo "Customize Form", one can edit fRom Infopath Designer a fOrm used for updating/editing and ...
0
votes
1answer
1k views

Button Onclick EventHandler from CreateChildControls

I have declared a button in my CreateChildControls method in my web part page: TableCell updateCell = new TableCell(); Update = new Button(); Update.Text = "Update"; ...
0
votes
1answer
142 views

Code improvement help - for SPList creation using code

Hi Just wanted to get some tips on SharePoint List created with the following code? I created a helper method (UpdateDisplayName())to update the display name of the columns created is there anything ...
0
votes
1answer
3k views

SPD 2010: How to use advanced and normal mode of editing?

In SharePoint Designer 2010, when I create a new aspx page (Site --> Righ-click on blank in the right pane --> New --> ASPX) and then open it for editing, I am getting: "This page does not contain ...
0
votes
1answer
953 views

SPWebApplication is null in Feature Reciever

in this code variable _service is null. Any idea what's wrong? It was working before without any problems... private SPWebApplication _service; ... _service = properties.Feature.Parent as ...
0
votes
1answer
608 views

Listing all the Users/Group, there Type, UserName, and Permissions

Trying to find a C# script that will list me all the groups of Current Web for sake of webpart that will show users the groups and users having permission to a specific web. I know I can get all the ...
0
votes
2answers
452 views

Beginners question regarding code-behind for aspx pages

I've been studying sharepoint for a matter of days now so please bear with me if I'm missing something really obvious. I've followed a couple of guides that have got me familiar with the process of ...
0
votes
1answer
1k views

Changing all webpart's Zone ID on a Page programmatically

I Want to add all the webparts already exists on a Page with different zoneIDs into "Top" zone using c#. I know i can use this code of line SPLimitedWebPartManager wpManger = ...
0
votes
1answer
717 views

Specify character encoding in webpart

really simple: I have a visual webpart with danish letters (æøå) which is malformed when deployed - most likely as a result of the wrong characterset encoding. How would I go about specifying this in ...
0
votes
1answer
1k views

When to use SPDocumentLibrary?

Since it inherits from SPList and the only way I know to create a SPDocumentLibrary is to convert it from an SPList object using: SPDocumentLibrary lib = (SPDocumentLibrary)list; Why would anyone ...
0
votes
1answer
7k views

An example of databinding the repeater control?

I am trying to develop a custom visual web part to display the latest 5 announcements with the images that are attached from the OOTB announcement lsit.I have a repeater control with an Item Template ...
0
votes
2answers
135 views

Access the column DisplayName from within a custom field's CreateChildControls()

I am making a custom field in SharePoint 2010. From within the CreateChildControls() function, I would like to refer to the field by the name it has been given in the list. Is this possible? For ...
0
votes
2answers
220 views

Helper DLLs - What is the accepted method of deployment in SharePoint 2010?

Just a quick question about proper helper dll dev. I want to deploy a set of classes in a helper dll for a bunch of features to use. I remember back in 2007 I had to create a class and compile, then ...
0
votes
1answer
208 views

accordian view for webparts

is there an out of the box feature / other that will allow me to create a view to give an "accordion" effect to hide and show webparts? example: section1 webpart 1 webpart 2 webpart 3 ...
0
votes
3answers
223 views

Too Much Memory Usage for Windows form Application

I Made an application to download a folder from a given sharepoint site, but its consuming memory above 600,000K once i click on Connect button, anyone can give suggestion to improve my code ? I ...
0
votes
2answers
912 views

Visual studio 2010 email activity for workflow

I am using visual studio 2010(sequential sharepoint work flow) and trying to send an email activity automatically when the approval is rejected. I have added the "send email" activity in the workflow ...