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

learn more… | top users | synonyms (3)

3
votes
2answers
118 views

.NET forms for SharePoint 2010 without InfoPath

Afternoon all, Can anyone advise if it's possible to create forms for SharePoint 2010 Standard (to submit to a list) without using InfoPath? My version of the product doesn't have InfoPath Services. ...
2
votes
2answers
5k views

List Item “value does not fall within the expected range” error--strange behavior

I am getting the error on the following line for a timer job: if (listItem["Department"] != null) Normally this error indicates that it cannot find the field, but there are no spaces and the field ...
0
votes
1answer
568 views

Checkout file returned by sharepoint does not really exist

I have the following code that returns me a list of checkout files in a document library. private static void IdentifyCheckedOutFilesForRequest(SPListItem listItem, SPDocumentLibrary lib, ...
0
votes
1answer
173 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 = ...
2
votes
1answer
332 views

Content Type Lifecycle management best practices

I saw thisarticle in the link below and I wonder if you could help me with some questions I have http://msdn.microsoft.com/en-us/library/ee330223(v=office.12).aspx In our current project, which we ...
0
votes
1answer
76 views

Time in Sharepoint

We have got two method in Sharepoint to get the time. One is ToUniversalTime() an secound is ToLocalTime() But when we are in server and have got a aplication instaled on server which kind data method ...
2
votes
1answer
92 views

can User profile synchronization be started from a web service?

I'm trying to kick off the user profile syc using a web service. Here is what i've tried : [WebMethod] public string runUserProfileService() { var message = ""; ...
0
votes
1answer
2k views

How do I get the list item ID of an item I just created in a Visual Webpart

I have a visual webpart which creates a list item, but I need to reference the newly created item's ID for later use in the same webpart. How would I do this in C#? Thanks
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
838 views

What is a good way to modify the upload link in a document library in 2010?

I have a custom upload form that I want to incorporate with new document libraries. Ideally, user will be able to add document libraries with this updated link to their site on their own without ...
0
votes
1answer
86 views

Changing character limit on inherited column of custom content type

I've inherited the OOTB content type 'Announcement'. I want to set a character limit on the 'Body' column for this particular child content type. Is this possible/feasible or is this generally ...
4
votes
2answers
4k views

JQuery Accordion with SharePoint 2010 Custom List

I have a FAQ custom list in Sharepoint 2010 with two columns: Question (title column renamed) and Answer. I want to display the questions and answers from the sharepoint list in JQuery Accordion. ...
4
votes
1answer
347 views

How is better to create content with XML or Programmatically

I have a project in SP2010 in which i need: to create some custom content-types to create custom lists based on this content types. to add custom actions in lists (list level actions). Two lists ...
2
votes
1answer
672 views

Why Item Updated and Item Added trigger together when we add a item to list (document library)

I have gone through hundred of articles over months but never understood as what could be the reason Item Updated and Item Added trigger together when we upload a item, even though if you try ...
0
votes
2answers
99 views

Sorting out lookup values while getting them

I have two lists, List A [Document Number, Name, Title,...] (document library) List B [Information Number, Name, Title, Document Number] (simple list) Now List B is getting all documents from List ...
0
votes
1answer
717 views

How to use your own custom ListItem template for Display, Edit, and New

I would like to use my own custom ListItem template. I also would like to overule the ListFieldIterator method to use some logica to include or exclude some fields dependance on user/usergroups: ...
0
votes
1answer
184 views

How To Add Item ToSharePoint List Programmaitcally

My goal is to simply submit a new item to a SharePoint list programmatic-ally through a custom web part that I'm building, however, I'm having trouble putting some pieces together. There are plenty of ...
0
votes
1answer
30 views

Checking if a list is consuming lookup value column or not

I have two lists, List A [Document Number, Name, Title,...] (document library) List B [Information Number, Name, Title, Document Number] (simple list) Now List B is getting all documents from List ...
6
votes
5answers
1k views

When I execute a CAML query, how do I know what ListItem details I can include?

I was querying a SharePoint library, trying to retrieve some file attributes. Apparently some things like FileType and Date are not supported, even though those fields are listed as a built in field. ...
0
votes
1answer
78 views

Rate Control overlaps with Menu items

On my sharepoint page i have Menu on the top and a sharepoint rating control on the top right side. The onHover event of menu displays a list menu items. The rate control is added to the layout which ...
1
vote
0answers
127 views

get DataKey in GridView's OnRowCommand event

protected void OnRowCommand(object sender, GridViewCommandEventArgs e) { { if (e.CommandName == "Select") { GridViewRow row = ...
0
votes
1answer
63 views

Where To Start Learning SP 2013 For SP 2010 Developers

What are your ideas for beginning to learn(upgrade) to SP 2013 development?
11
votes
5answers
4k views

Can't install Sharepoint Foundation 2010 on Windows 7

I'd really like to prepare development environment for Sharepoint 2010. This is what I did: I installed Windows 7 x64 I installed VMWare Workstation Created a VM domain controller based on Windows ...
0
votes
1answer
28 views

Displays two urls one link and desciption how to solve

My column in the list has this values Links Type the Web address: (Click here to test) <asp:HyperLinkField DataNavigateUrlFields="Links" DataTextField="Links" ...
1
vote
0answers
199 views

UPS Sync started from powershell script / web service

I have a web service that is kicked off from a workflow. The web service runs a powershell script that kicks off the User Profile Synchronization job. The powershell script works perfectly if I run ...
1
vote
2answers
487 views

How to check if a list content type has its link broken from the site collection content type definition

Its very clear to me that content types after they are deployed their inherited lists shouldnt be changed manually using the web gui. “Do not, under any circumstances, update the content type ...
0
votes
1answer
87 views

Reorder of newform and editform its different

I have a list which editform and newform fields order is different, the question is why? somebody told me the edit form might be unghosted, if so, how can I confirm this and revert it so that it uses ...
0
votes
0answers
42 views

GetList with a Library

I'm relatively new to SharePoint 2010 development and I recently rediscovered the DataContext class. Of particular interest right now is the GetList method. I've seen examples and sample code around ...
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
1answer
61 views

How do i set Linkbutton1 to my propertie MyData

protected void Button1_Click(object sender, EventArgs e) { try { if (DropDownListFeeds.SelectedItem.Value == "All") { SPWeb web = ...
0
votes
1answer
37 views

Listinstances Changes Guid ID

I have my Listinstance in Sisual Studio every time i Deploy the Guid Id changes to a new value ...
0
votes
1answer
116 views

get “Date” Colum from my List there it Displays DateTime.Now

<asp:TemplateField HeaderText="Date" > <ItemTemplate> <asp:Label ID="lblDat1" runat="server" Text='<%# Eval("Date", "{0:D}")%>' ...
0
votes
1answer
41 views

SharePoint 2010 Development Setup

Is it possible to develop in Visual Studio on the host machine while F5 deploying/debugging a SharePoint WSP to a VM with SharePoint 2010 installed? I have had significant issues with Visual Studio, ...
0
votes
1answer
193 views

Gridview not showing date

I'm working with a gridview, so i can show data from my three lists. I get it to show the title, but the date doesn't appear! Check the if statement. using (SPSite site = new ...
0
votes
1answer
170 views

Search multiple lists

I want to search through my lists. And show it on a repeater control. On my dropdown i got 3 options, (All, List1 and List2). But my If statement wont work. The else is working fine, but it hangs when ...
0
votes
0answers
252 views

HTTPModule Init method calling multiple times in sharepoint

I want to execute a piece of code on application start. As application_start not available in share point, so i have written my own custom HTTPModule and in Init method i have written the code. But ...
0
votes
1answer
110 views

List Id Changes

I am trying to find out the id for my list SPSiteDataQuery query = new SPSiteDataQuery(); query.Lists = "<Lists><List ...
0
votes
2answers
70 views

Get Values from two List And display Repeater

I am trying to get the Values from two Lists what have i dont wrong? i dont get any errors the site is only updating nothing more just like it dont fel that i press the button protected void ...
7
votes
5answers
4k views

How do you remove fields from a custom list in SharePoint that have been added via the 'Add from existing site columns' menu item?

I have a custom list, and I've added a 'Page Image' field by clicking on the 'Add from existing site columns' link on the Settings page for the list. I would now like to remove the field, but clicking ...
0
votes
1answer
57 views
0
votes
1answer
60 views

SplistDataQuery Display Multiple Lists in Repeater

I am trying to get information from 3 lists my code looks as following i am trying to get all the list with a query by modified and display in Repeater. I Think i should write the code in ...
0
votes
2answers
46 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 ...
2
votes
1answer
353 views

Possible to attach an event receiver to the list of user alerts?

There's seemingly loads of ways of overriding the OOTB e-mail notifications for creation and deletion of user alerts - can't you just attach an event receiver to the alerts 'list' (is it an SPList?) ...
-1
votes
1answer
46 views

Overides attachment shows current only

This only show the current attachment in the repeater i want it to show old also SPWeb web = SPContext.Current.Web; SPList list = ...
0
votes
1answer
69 views

Listinstance url

I'm working to show my attachments in a repeater control. It works ALMOST perfectly. I just want to get the full url to my attachment. Right now i'm getting: ...
1
vote
2answers
233 views

SharePoint Migration from Dev to Live

I am going to be in the process of taking my dev site and putting it on live. Just wondering if there is anything I need to be aware of or any tips/software to do so?
0
votes
0answers
21 views

Old attachment disappears new one shows up [duplicate]

private List<string> arrayList = new List<string>(); protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e) { { SPWeb web = ...
0
votes
1answer
75 views

Retrieve attachment from list help

protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e) { SPWeb web = SPContext.Current.Web; SPList list = ...
0
votes
1answer
242 views

Spquery Attachment from list display in webpart

SPWeb web = SPContext.Current.Web; SPList list = web.Lists.TryGetList(DropDownListSelectCategory.SelectedItem.Value); SPQuery query = new SPQuery(); query.Query = ...
0
votes
2answers
726 views

Fixing programmatic alert URLs

Environment: SP2010 Enterprise, SQL2008R2, VS2012, full server access A while ago I created a massive amount of alerts using a c# console app I made in VS. The app ran on the server using SP ...