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

learn more… | top users | synonyms (3)

1
vote
1answer
283 views

SPList.Delete() vs. SPWeb.Lists.Delete(SPList)

Assuming I already have the list object, is there some difference between calling its Delete extension as opposed to removing it from the Lists collection? Why would I ever choose the latter?
0
votes
1answer
56 views

Problem with performance of External List

In my company a person which are Administraiting the CRM Microsoft Dinamics give me one of External list with a Vacation of Workers in Company. I try first with list local in my project, and this list ...
1
vote
2answers
265 views

How to copy one custom list to another custom list (approximately 600 items)

I have one master list from which I wish to query and create a subset of this in a new custom list. The code I have so far works, but it is extremely slow and occasionally hits the hard limit of the ...
3
votes
2answers
5k views

How do I get the url for attachments on an SPListItem using C#?

I have an SPListItem for which I would like to get the urls of all its attachments. The urls will be used as part of my custom web part which has an SPList of SPListItem items.
2
votes
1answer
137 views

Deploying Sp Solution

Add Solution - stsadm.exe -o addsolution -filename "C:\Users\Administrator\Desktop\Kingen.wsp" Deploy Solution-stsadm -o deploysolution -name Kingen.wsp -url http//xxxx -local -force ...
0
votes
0answers
34 views

Problem with import a External List

Why i import a External list, and Add to my code the error is Shown: Name cannot begin with the '-' character, hexadecimal value 0x2D. Line 1, position 316. Here is screen Shot. How can I run ...
0
votes
1answer
710 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 ...
1
vote
1answer
145 views

Attachment problem!

I want to save attachments to a list, and i'm using the following code: SPSite site = new SPSite("http://knowitintranet:9797/"); SPWeb web = SPContext.Current.Web; SPList list ...
0
votes
0answers
730 views

Error while attaching content db to a different server

I got back up of content db from a demo server and trying to attach it to a newly created web application in my personal copy of same demo server but not up to date. however I am getting this error, ...
0
votes
1answer
85 views

Remove selected attachment from listbox and from SPlist

for (int i = 0; i < ListBox1.Items.Count; i++) { if (ListBox1.Items[i].Selected) ListBox1.Items.Remove(ListBox1.Items[i] ...
2
votes
2answers
1k views

Best way of getting SPWeb in Event Receiver [Best Practices]

what would be the best way of getting SPWeb and List in context below, specially when list title can be different for different cultural websites, private bool ...
0
votes
1answer
37 views

Programically call sharepoint to a view

How Can I call programically from the view ? I have got a List from CRM but it's only a view no column have been created.
0
votes
1answer
78 views

Attachment Problem…?

hi i am using built in attachment in a list i have created an textbox and a button and i would like to show the url of the attachment in the textbox TextBox1.Text = ...
0
votes
1answer
112 views

Remove Attachments sharepoint

I am trying to remove an Attachment from SPList , i would like to remove it from an webpart , that uses an Listbox and an Delete Button oreach (SPListItem customer in items) { ...
1
vote
2answers
146 views

How to get the event/trigger of a SharePoint workflow?

A SharePoint workflow can be associated with a list, and configured to 'start when a new item is created', 'when an item is changed' or 'manually started by an authenticated user'. This is my ...
0
votes
1answer
27 views

Is it posible to create a EventReceiver for opening a site?

I want to start an EventReceiver when a site or a list opens. How can I do this? Is this possible?
1
vote
2answers
480 views

how to have connectable web part on two pages?

I have two connectable webparts but i want to have them on different pages is it possible? If it is , how to i solve this?? public interface IData { string Mydata { get; } }
0
votes
3answers
1k 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

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

Uploading file to pic and doc library

I'm working with a webpart and saving the data to a SPList. I also got two fileUpload controls and i want to upload a picture to a picture library and a document to a document library. Is that ...
0
votes
0answers
110 views

Update WebPart MenuItem/Verb from Client Side

Here is the scenario - I have a custom webpart where I added one custom menuitem with client side handler, now my requirement is when I click on the menuitem some text should be shown, for example ...
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
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,
1
vote
1answer
184 views

Google Map Visual WebPart

Some that has an guide on have to create an Visual WebPart using Google Maps for an list.... protected override void Render(HtmlTextWriter writer) { string rScript = ""; rScript += ...
1
vote
2answers
500 views

delete item in list

SPWeb web = SPContext.Current.Web; SPList list = web.Lists["MyList"]; if (list != null) { for (int i = list.ItemCount - 1; i >= 0; i--) { ...
1
vote
1answer
316 views

Adding a content type to a list gives me a duplicate field error

I have the following code: list.ContentTypes.Add(contentType); It works on my dev environment, but on test fails with the following error: A duplicate field name "[GUID]" was found. I've had ...
0
votes
1answer
192 views

How to check the versions of Sharepoint Server, services and patches of my Office 365 portal?

I am reading a lot that Office 365 has been patched, upgraded and now migrated to Server 2012 (and Office 2013). How can I determine the versions of Sharepoint Server, services, etc. on which my ...
1
vote
1answer
308 views

Dev environment - Drives are at risk of running out of free space.

Available drive space is less than five times the value of physical memory. This is dangerous because it does not provide enough room for a full memory dump with continued operation. It also could ...
0
votes
1answer
138 views

Fileupload image to library

i want to use an List that i create by me self that named MyList that done! Then on my webpart i want to use Fileupload to upload an picture to MyList, is it possible? Then for showing it on my page i ...
0
votes
2answers
53 views

List button two list how to save…?

Is it possible to have one button and when pressing the button i want it to save different this to two differens list , if its possible how do i solve it?... i have created an save button that saves ...
0
votes
1answer
26 views

I have written following code wont get it work because after my query i dont know what to write

SPWeb web = SPContext.Current.Web; SPList customerList = web.Lists.TryGetList("MyList"); if (customerList != null) { SPQuery query ...
0
votes
1answer
373 views

Update ListItem

Solved it with a hiddenfield control: public void MyData(string prod) { SPWeb web = SPContext.Current.Web; SPList myList = web.Lists.TryGetList("YourList"); if ...
2
votes
1answer
543 views

ftp upload in sharepoint and presenting list of files on ftp server in sharepoint page

I have SharePoint 2007 portal and I need a solution for my problem the problem is as describe below I need a page (in SharePoint portal) that it could be send some files to a ftp folder in a ftp ...
1
vote
0answers
133 views

Moving files from intranet to extranet - ShaerPoint 2010

I am working on a new SharePoint project (new to SP overall) and a requirement is to "publish" documents on the intranet, across different sites, to a desired location on an extranet. The intranet is ...
1
vote
1answer
835 views

Get SPWeb from SPContext in WCF hosted on SharePoint

I have created and deployed a WCF service in SharePoint and I am sending requests using JQuery. Every thing is working fine except for sub sites. Lets say I have these two service URLs: - ...
0
votes
1answer
116 views

Update SPLIST Help Problem?

SPWeb web = SPContext.Current.Web; SPList oList = web.Lists["MyList"]; SPListItem oListItem = oList.Items[1]; oListItem["Name"] = TextBox_Name.Text; ...
1
vote
3answers
65 views

Whats the best way to create a list when a web part is added?

I have a web part I'm creating that displays links in a metro style fed from a compatible list. I'm pretty new to share point development and was wondering how can I make sure a compatible list is ...
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 = ...
2
votes
3answers
224 views

Connect two WebParts, cant get info from my provider to consumer

Got a small problem but don't know how to solve it. Getting the exception: "Input string was not in a correct format." I hope someone can take his/her time to read my codes and try to help me solve ...
0
votes
2answers
603 views

How delete a record from list by using a jQuery

I find aut a this article about to easy and fast delete a records from list: http://spservices.codeplex.com/discussions/245147 How could I use it ? Can I use it on cs files, if yes so how can I use it ...
0
votes
2answers
102 views

Does Pages in SharePoint 12 hive have code behind files

I am not sure if we call them application pages or something else but am talking about standard sharepoint forms like "NewForms.aspx" or "EditForm.aspx" for lists in 12 hive. Does they have any code ...
0
votes
1answer
77 views

How we can update the sherepoint elements in event Receiver ItemUpdated or Item Updating, or add a column in ItemsAdded

I tried to do Cascade deleting in two of my colums. If I deleted in First List record i wated deleted all records at Secound List bounded with records from List One. I adding bounded data first in ...
0
votes
2answers
498 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
1k views

Add document to document library with more fields

My question is regarind adding a new item to document library programmatically. Basically, when I add an item to document library it goes as follows: In a document library i click add new and i ...
0
votes
1answer
59 views

I have got a two CAML Queryies. How Could I done to see them in 3 montths from today

I have got a two CAML Queries. How Could i set them to see all object on ASP Calendar 3 months from today day? Here are the Queries: string DateOnlyQuery = "<Where><Eq><FieldRef ...
1
vote
1answer
2k views

InfoPath 2010, Sharepoint Liist Form and Custom code

I'm editing SharePoint 2010 list's Form in InfoPath 2010. Heard I can edit/add custom code via Visual Studio. Checked all buttons on ribbon but cannot find anything referencing to 'custom code' or ...
1
vote
1answer
424 views

CheckOutFile() raises SoapException: “Your changes conflict with those made concurrently by another user.”

I'm trying to check out a file using the Lists web service. Here is my code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using Soap = ...
0
votes
1answer
3k views

How to import a csv file to the SharePoint list on the fly

I need to import in the fly day by day a records to a Sharepoint list. At end of a day I need to import a upgrade of vacation users from ending day and add them to the list. How Can I do it. Please ...
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
239 views

How to update existing record of list one of two in Event Receiver

I have got a problem how to update Secound list which is made by First list. All must be in Event Receiver. How Can I made difrent Event Receivers update to Diferent Lists Could You Help me with his. ...