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
3answers
91 views

Is using the Using statement to close unknown and possibly Current webs, bad practice?

Until today I had been using the Using statement to open and dispose of webs. The variable relative_web_url is defined by a user input in the custom web part editor. using (SPWeb web = ...
1
vote
0answers
80 views

DropDownList change the values in the same times

I have got two DropDownLists, and I want to change if I change in first Drop down list Values then I want to change in secound DropdownList. My first DropDownList has got a code: SPUserCollection ...
2
votes
2answers
408 views

Item Updated through different forms runs Item Updated event receiver

Simple but mind blowing question it is. Basically I am updating a specific list items through two different ways, one is using ASP.NET web forms and one is using default list forms provided by ...
1
vote
2answers
577 views
0
votes
2answers
2k 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: ...
1
vote
2answers
2k views

GetDataTable from SPListItemCollection

My question is regarding the use of DataTable vs ListItemCollection. Basically I have a small solution, where I have to loop through the items in the list to verify if the items already exists or not. ...
3
votes
1answer
4k views

What text type are multi line text columns in SharePoint lists?

When accessing a multi line text field from a SharePoint item in a list, what is the text type returned? Using C#: item["Description"].ToString() Is the above plaintext or html or...? I want to ...
0
votes
0answers
43 views

Can't read by loop foreach Externall List

If I tried to view in Element one of three External List I geting this error: Unable to display this Web part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint ...
2
votes
2answers
122 views

Getting latest datetime from a splist

I have sharepoint list with data and one of the columns contains date ... how can i programmatically retrieve the latest date, the field is a Date And Time type?
5
votes
2answers
307 views

Why we need to do IIS Reset after adding a template

I added a template using, STSADM -o addtemplate -filename "C:\Stalker\BaleeeBaleee.stp" -title "YouBreakLive" I can see it in Central Administration in "Custom" site templates when I try to create ...
2
votes
2answers
192 views

Retrieving the highest value from list

My question is regarding retrieving a value from a sharepoint list. Basically I have a list with some data. One of the fields in the list is a text field with numbers. So what i want to do, i want to ...
1
vote
1answer
31 views

Is there a way of saving changes done in Google Chromes dev-tools directly to a SharePoint library?

Is there a way of saving changes done in Google Chromes dev-tools directly to a SharePoint library? This would be a big time saver when editing and debugging CSS- och JavaScript-files! Any ideas how ...
1
vote
0answers
464 views

Migrating MySite User Profiles to new account

We are currently in the process of changing (AD) domain and user names for users. This is done gradually, and the old and new domain/user names will coexist in a transition period. A challenge we ...
2
votes
1answer
565 views

Use count-related column value as int in a SP Designer-workflow

I have another problem concerning the count-related column-value of SP2010 in a workflow(see also: How to get count related Lookup value programmatically? ). my use-case: I have a column "actual ...
1
vote
0answers
33 views

Problem with finding out loged user

I try to write a procedure, which find out is the user logged or not not loged in the service. I write a code. But it sometimes giving me a true or false if not a person shown. Sometimes it gives me ...
1
vote
0answers
74 views

Best way to create a Drafts List and save and Load entries from another list?

So, I have a Custom List named "Events". Now I'm searching for a best practice to create "drafts" for the list items of the list, because there might be some events (monthly/ annually) which have ...
0
votes
1answer
338 views

how to submit and query values from web service infopath2010

I have a web service that takes a string parameter. In my infopath form I have a dropdown list that gets values from the webservice. I have another dropdown list below it that I'm wanting to ...
0
votes
1answer
120 views

Adding EventReceiver to Dynamic List

I am trying to add a Event Receiver to a list that is dynamically created (by code). So i cannot add a event receiver on the list directly. I found a way to attach a Event Receiver to the list by ...
0
votes
0answers
121 views

Reading a data from External Lists

I have got a problem to read data from External List. I getting this error while I reading a External Lists: Exception Details: System.Xml.XmlException: Name cannot begin with the '-' character, ...
0
votes
1answer
993 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 ...
2
votes
1answer
721 views

Custom sign out page, not removing cookies

In my custom login script I'm creating a cookie that can be read by other company web applications. The code for this is: setCookie("Communities", "LoggedIn=true&NSContactId=" + NSContactId, ...
0
votes
1answer
80 views

Sort alphabetically Users

When I'm Adding users, i want to sort them alphabetically. Could You help. Here is my code: SPUserCollection userzyWszyscy2 = witryna.SiteUsers; foreach (SPUser oUserKolejny in ...
1
vote
2answers
1k views

Show User List (GridView?) on Button Click in new Popup

Hi there and thanks in advance :) So, my use-case is: I have a visual webpart on top of the DispForm.aspx of a custom list for events. I have another List called "Attendee List" where attendees are ...
3
votes
1answer
717 views

Show asp.net webpart elements based on user permission level?

I want to do the following: I have a webpart and two users (not in groups, though, because for a reason I don't understand there are no groups in the productive environment here ;) ). One stands ...
2
votes
1answer
2k views

Populate a Drop Down List with Unique Values from a list

I have got a list with names of workers. How could I populate a DropDownList with unique values (ie: avoid duplicate) from the list? If the list contains duplicate values I need to avoid inserting the ...
0
votes
1answer
136 views

How to add id CAML grouping?

I write this code, and I try to group by Ascending or Descending. <Query> <Where> <Neq> <FieldRef Name='Nazwisko' /> <Value Type='Note'>" ...
2
votes
3answers
703 views

Sharepoint development deployment problems

I am getting the following error, when trying to deploy the visual studio generated Blank Sharepoint Project. Error 1 Error occurred in deployment step 'Retract Solution': Cannot connect to ...
1
vote
2answers
55 views

Event Handler on MenuBar

whats sharepoint renderingtemplate is and how can I use it to add event handler to "Respond to this survey" link button For last couple of days I have been researching on how to add some kind of ...
1
vote
0answers
51 views

Central Admin gives Server error 500 [duplicate]

I tried to update my server SharePoint 2007 to service pack, when I run Office x86 service pack 2 exe on my virtual pc, it made my CA stopped working, I am pretty sure I used right exe file, however ...
1
vote
0answers
32 views

When trying to access my sharepoint site in server explorer

When trying to access my sharepoint site in server explorer (Sharepoint connection) i get the following problem.... I am running SP 2013 and VS2012
0
votes
1answer
97 views

Is there a way to list all content deployment jobs on aspx page?

Is there any way to get all local contentdeployment jobs from within web application code? I'm trying to list all jobs on an aspx page in the backend of a site collection, but everytime I execute ...
1
vote
0answers
69 views

How to access an aspx page located in a different project?

I have a SharePoint solution with an empty SharePoint project and an ASP.NET project. My ASP.NET project has an aspx page I would like to access. How can I access this page from my SharePoint project? ...
1
vote
1answer
269 views

Writing to and reading from owstimer config file

My question is regarding writing to and reading from owstimer configuration file. Could anyone provide any of examples how to do so? I tried searching but didn't find any good examples. Also to note ...
1
vote
1answer
40 views

An event to be fired on editing a file

As title says, I need an event to fire when a listitems file has been edited. I appreciate this isn't as simple as it having it's own event, which is why I've tried to make use of the itemupdating ...
1
vote
1answer
66 views

developing solutions based on SharePoint 2013 Preview

Is it possible to developing SP solutions based on SharePoint 2013 Preview. I Get SharePoint is not installed when running Visual Studio 2012
1
vote
1answer
343 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
58 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
348 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
6k 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
153 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
836 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
165 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
868 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
86 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
2k 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
38 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
80 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
127 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
170 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 ...