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
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
36 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
111 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
40 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
183 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
159 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
231 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
107 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
67 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
59 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
44 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
341 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
67 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
69 views

Retrieve attachment from list help

protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e) { SPWeb web = SPContext.Current.Web; SPList list = ...
0
votes
1answer
226 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
672 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 ...
0
votes
1answer
81 views

SharePoint temporary location

I am working with SharePoint 2010. I need to get the data from excel file stored in sharepoint library. I have plans to accomplish this by using OLEDB connection. So I need to download the excel file ...
1
vote
1answer
85 views

Content DB not getting any permissions on web application created through central admin

I tried to create a Web Application using Central Admin. It created web app without displaying any error, I can browse site too after creating site collection and that, but content db got no ...
0
votes
1answer
260 views

Consuming On-Prem SQL Data from SharePoint 2013 Online (Office 365)

At a high level, What's the recommended Development model if we want to consume local (On-Prem) SQL data from Office 365 SharePoint 2013 Cloud application? Say we have a custom SharePoint List Form ...
6
votes
1answer
2k views

SPListItem.SystemUpdate(false) is still triggering alerts

Environment: SP2010 Enterprise, VS2012, c#, full server access Simple question... I'm using a console app to create sub-folders in a document library based on user input, then calling ...
0
votes
1answer
158 views

Repeater display attachment

new SPAttachmentCollection is getting red what the problem? Want to display an attachment in Repeater <%# (new ...
2
votes
2answers
138 views

Hyperlink column

I'm using two textboxes. One textbox that saves the link to my hyperlink column: http://... and one textbox that saves the description. But i can't get it to work. I've tried new ...
0
votes
1answer
433 views

Repeater control reverse order

I'm working with a repeater control that displays my list items. Everytime i add an listitem it displays it on my repeater. But i want the repeater to display the latest added item at the top. Any ...
0
votes
0answers
301 views

ASP Calendar double click event get the date of clicked day

I haw got the ASP Calendar. I want to choose range from date to date. If i choose "SelectionChanged" i could only set one date. I think meybe I could set a second date which is end of Date Rannge when ...
0
votes
1answer
109 views

Make Label To HyperLink

I have an Webpart there i save some values and that also saves an link to an splist. In an another webpart in what to display the link in an label but the label dont show as an link it only show like ...
1
vote
2answers
223 views

Display Newest added Item in List to show in Textboxes and Labels

Need to get the Newest added Item To Display in Texboxes and Labels try { using (SPSite site = new SPSite("http://wingtip:49074")) { ...
0
votes
1answer
135 views

Display items from Splist in Textboxes only takes one Item not two

protected void Button1_Click(object sender, EventArgs e) { try { using (SPSite site = new SPSite("http://wingtip:49074")) { ...
2
votes
1answer
43 views

Do I need an Rss Feed? Where to Start?

I Have an WebPart That saves News to an List and in this Webpart it show the the news as u see my problem is , if i add more news in the list and then what to show it in this webpart it only shows ...
0
votes
2answers
241 views

Possible to turn off SharePoint 'subscription' confirmation e-mails given certain conditions?

For parts of a site I'm developing - I want the OOTB SharePoint e-mail notification of a newly created alert (i.e. subscription) to be sent to the recipient as it should. But on occasions when I ...
-2
votes
1answer
116 views

Textbox Multiline MaxLength

I have created an Multiline textbox and need to define the MaxLength on it. I have read that we can use javascript to solve it but since I am new in JavaScript so maybe someone can help me? ...
0
votes
2answers
124 views

Set textbox MaxLength not Working

foreach (SPListItem news in items) { TextBoxContents.Text = news["Contents"].ToString(); TextBoxContents.MaxLength = 10; news.update(); } Setting ...
0
votes
1answer
1k views

<div class in textbox why?

SPWeb web = SPContext.Current.Web; SPList list = web.Lists.TryGetList(DropDownListSelectCategory.SelectedItem.Value); SPListItemCollection items = list.GetItems(); foreach (SPListItem news in ...
0
votes
1answer
371 views

Creating a site programmatically - folder does not exist on server

I'm trying to create a site programmatically using a console application, but have been getting an exception whenever I try to add a new SPWeb "The folder that would hold URL'/sites/[sitename]' does ...
-1
votes
1answer
90 views

Dropdownlist,SelectedItem From SpList show in Labels

I have a webpart that contains a list were i have values and columns in it. In another webpart I want to use a Dropdownlist where I can select an item in the list that i want. I want it to take ...
0
votes
1answer
32 views

Create Sharepoint HyperLinks Help

I would like to saves multiple hyperlinks to a list. Can anyone guide me where to start?
0
votes
1answer
646 views

SharePoint 2007 : Custom Field Type

I'm trying to create a custom field type in SharePoint 2007, and the steps I did as below: i) Create a Class Library project in Visual Studio. The code: public class CustomField : SPFieldText { ...
1
vote
1answer
241 views

Deploying InfoPathForm to Web

I deploy a Infopath form to my SiteCollection with a Module. When i want to deploy my solution i get following error: An object of the type ...
1
vote
1answer
799 views

Event manager error after upgrading my WSP via Update-SPSolution

So I just deployed this .wsp to production and I've identified a tiny bit of logic that needs tweaking in an event receiver. I'm considering compiling a new .wsp package, and then running an ...
6
votes
1answer
850 views

Obtain Default Content Access Account via PowerShell

As part of farm configuration audit, I need to obtain the current content access account. While I've found several resources for setting the default content access account for search using PowerShell, ...
3
votes
5answers
25k views

how to upload file to sharepoint doc library via c# application?

I need to upload files with specific information(custom fields) into sharepoint document library via custom windows application. I have no idea how to do it, anyone has any examples how to do it ...
0
votes
2answers
162 views

SP2010 Update Site Title and Description - Security problem

I've created a custom application page to update the Title and Description of a site. The page is generating an access denied and the following error message in the log file: Unknown SPRequest ...
1
vote
1answer
706 views

c# Programmatic sub-folder creation with SystemUpdate

Environment: SP2010 Enterprise, VS2012, full server access Goal: Console application that creates sub-folders in various locations based on user input, and uses SystemUpdate(false) to prevent alerts ...
2
votes
1answer
306 views

rootFolder.ContentTypeOrder throws unexpected error for sandbox solution

I'm trying to add content types into a library list, in order to make "Visible on New" option ticked. Firstly I enabled contenttypes in the library, then I want to do this: SPFolder rootFolder = ...
2
votes
1answer
66 views

How to Retrieve the Data from an Individual Blog Post

I am trying to brand a blog post according to our standards, and to do that I have simply created a custom visual web part to take the place of the SharePoint default. What I am wondering is how am I ...