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
2k views

SharePoint - Deploy new default.aspx through feature

I have created a feature which deploys a custom default.aspx page. The deployed file goes to the template\features{featureName} directory. How does SharePoint know to use this default.aspx page ...
1
vote
1answer
578 views

Why does my InfoPath 2010 form stop opening in the browser when I add a code project? [closed]

I created an InfoPath 2010 form and published it to SharePoint Server 2010. I published it to open in the browser not in the InfoPath Filler, and it works fine. When I attach a code project to it ...
1
vote
3answers
658 views

Sharepoint Designer Crashes When Adding a Custom Web Part [closed]

I'm trying to add a webpart to a "Dispform.aspx" of a list in Sharepoint Designer. I can add ootb webparts without any problem, but mine just won't work. By the way, I can add the web part normally ...
1
vote
2answers
762 views

Sharepoint Foundation 2010 development machine installation problems

I'm having problems installing development machine for Sharepoint (Foundation) 2010. This is what I did so far on the same machine: Installed a clean Windows 7 x64 with 4GB of RAM without being part ...
1
vote
0answers
809 views

What is the best practice handling “Save Conflict” SPException? [closed]

What is the best way to work around the SPException thrown when updating an SPListItem recently edited by another process? Is this a good approach? What can be done to not to lose the update data? ...
1
vote
1answer
427 views

Visual Studio reports fake schema validation errors. How to clean SharePoint schema cache?

I have recently generated a couple of ListDefinitions using both SPSource and VSeWSS SharePoint Solution Generator. In both cases, surpisingly, Visual Studio reports fake schema validation errors in ...
1
vote
4answers
2k views

“Could not load file or assembly System.Windows.Controls” hosting Silverlight application

I'm working on a Silverlight 3 application. It works perfectly running within Visual Studio's ASP.NET Development Server. Now I need to make it run within SharePoint. I have the object tag hosted ...
1
vote
2answers
1k views

Creating a User Profile section programmatically

I'm attempting to create a new user profile section programmatically but without success. The problem is with the Type property of the Property class. When I specify a value such as "section" for ...
1
vote
1answer
1k views

Disabled “Filtered Parameter” drop-down in custom web part with connections

I'm writing a web part that needs to use connections for processing values relating to a business object called a "Program Entity". It is supposed to take in an ID provided by a connected web part, ...
1
vote
2answers
2k views

How to programmatically create editable wiki pages within the Pages library of an Enterprise Wiki site

I'm new to SharePoint. I'm trying to programmatically create a wiki page within the Pages library of an Enterprise Wiki site in SharePoint 2010. Here is my code: using (SPSite site = new ...
0
votes
3answers
622 views

Is it possible to have a lookup field with autocomplete feature

I have defined a lookup field with multiple values over a contact list inside my SP 2013 team site, and by default I got a select list as follow:- So is there a way to have the lookup field with ...
0
votes
1answer
6k views

The remote server returned an error: (403) Forbidden

I am developing a C# console application on my local computer running on Windows 8. My target SharePoint server is SharePoint Online on Office 365. I am trying to get the web site name using web.Title ...
0
votes
3answers
3k views

How to redirect to another page using an event receiver?

I want to redirect to another page after an item is added to the list. I have referred many links and found the same alternative that is SPUtility.Redirect("https://www.google.co.in/", ...
0
votes
3answers
346 views

Recommended Source Control setup for single developer on single machine [closed]

I'm curious about what kind of setup other single developers have for their source control. Do you install your source control system (e.g. TFS) on the same machine as SharePoint, do you use a ...
0
votes
3answers
193 views

managing the relationship between Parent and its child content type

I am a bit confused about the relation between Parent and child content type. Now I want to create a new content type that have the Issue as its parent content type. So how I should be managing the ...
0
votes
3answers
844 views

Finding all items in a list - slow performance?

I've created some code that identifies all of the site collections on a farm and then loops through all of the sites and lists within those collections . It's not ideal, but I've been tasked with it, ...
0
votes
6answers
582 views

What is the Best Way to Set Up a Development Server for Sharepoint?

Let me qualify my question with these points: There is only one developer. The developer is the server administrator. The production server is Windows 2008, iis7.5, Sharepoint 2010 Enterprise, and ...
0
votes
1answer
514 views

Can SPPersistedObject settings be updated by normal users if ran with elevated privileges?

I have a custom ribbon icon "Enlist" deployed to each document library. A normal (i.e. non-admin) user can click this icon; when he does, I would like to permanently save the document library ...
0
votes
2answers
70 views

Disposing SPSite best way

Is there any difference between, using (SPSite site = new SPSite("http:\sdkfsdhfskdjf")) using (SPWeb web = site.OpenWeb()) { } and using (SPSite site = new SPSite("http:\sdkfsdhfskdjf")) { ...
0
votes
5answers
136 views

I like to get to the top in SharePoint, Please help me [closed]

I am enthusiastic in learning SharePoint, I want to know some detail. From where should I start learning SharePoint to get expertise. How should I get to the top in SharePoint? I want to keep ...
0
votes
2answers
2k 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
705 views

Interview Question Difference between SPList.AllItems.GetItem() or SPLIst.GetItem();

I got this interview question today, any idea? Difference between SPList.AllItems.GetItem() or SPLIst.GetItem();
0
votes
4answers
218 views

Should I learn CAML? [closed]

I've been spending the last few days studying sharepoint and plan to work with it for a long time - but I've only just heard the word CAML mentioned and seen it's querying in action, is it something ...
0
votes
7answers
110 views

What are you most excited to see at SPC? [closed]

What topics are you most excited to see at the SharePoint Conference (2009)? For me, I am curious to see how the developer story is playing out as well as the good conversation with folks around ...
0
votes
2answers
166 views

Problem to read custom webpart properties (if it's not static)

I have problem with custom properties. I want to set custom boolean value or write custom text. It do not work, if I don't set values to static. However, if I set value to static all webparts share ...
0
votes
1answer
146 views

Coding best practice display name vs internal name in itemUpdated event receiver

In an itemupdated event receiver, when referring to list fields, is it better to use the field's internal name, or its display name? Is there a clear guideline or best practice, or is this a ...
0
votes
1answer
64 views

Will the code be leaking

I've wrote here a code for SharePoint 2007 to modify few items through out of all site collections in web app, my question is the code written good, or is there a leak somewhere, and i could improve ...
0
votes
1answer
1k views

Decompiling a .webpart file?

I know it is possible to decompile SharePoint web parts if you have their .dll or .wsp files (I have successfully done this myself using tools like DotPeek or this method), but what if you are left ...
0
votes
1answer
5k views

Modal pop up in Sharepoint

How to create modal popup in Sharepoint I want to put 3 or 4 times java script promth or alerts in the site. How should I made them ?
0
votes
1answer
2k views

How do I update/refresh a web part using an AJAX Update panel every 5 or 10 minutes?

I have a news and announcement web part that I would liek to refresh every 5 or 10 minutes so users get the latest information. I have a bunch of asp controls within an update panel's contenttemplate. ...
0
votes
2answers
706 views

Sharepoint SPWeb rename - Exception SPException - The security validation for this page is invalid

When attempting an SPWeb rename I receive the following SPException: Exception SPException - The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and ...
0
votes
3answers
4k views

Setting display:none for empty web part zones

Does anyone know the JavaScript for setting display:none on an empty web part zone? I remember seeing it once on a publishing site but now can't find it. This is to avoid the padding and spacing a ...
0
votes
4answers
71 views

How to retrieve and read items from sharepoint list and assign them to a variable with JavaScript?

I have the following list how can i retrive the value of koha column for first row and second row separate, datatype for koha column is number and how to assign value of koha into a variable var ...
0
votes
2answers
55 views

Sharepoint 2013 List item deleted in odd way

I am using a custom timer job to delete the Sharepoint List Items if the item count exceeds certain count, say for example 2000. The problem is the items are getting deleted, but it deletes the item ...
0
votes
2answers
36 views

SharePoint VS development - tuning changes without redeployment

I have VS project with .wsp containing custom forms for list. I need to tune some details on the form - sometimes in aspx file, sometimes in code behind (.cs). What are the options to tune it without ...
0
votes
1answer
198 views

Developing Apps in Sharepoint

I want to learn how to develop apps for SharePoint. I created a new developer site collection. When I try to install NAPA I get the following message "Sorry this app is not supported on your server." ...
0
votes
2answers
358 views

How to determine custom application page URL independently of the environment/farm?

I have deployed a custom ribbon button and when a user clicks it, I open a custom application page - I have deployed the page to _layouts mapped folder. To open the page (with JavaScript), so far I'm ...
0
votes
2answers
2k views

How to assign my custom permission level to my TestGroup?

I have created one group Name: TestGroup and one permission level Name: Custompermisionlevel How can I assign the permission level(Custompermisionlevel) to my group programmatically? I'm using this ...
0
votes
1answer
1k views

Programatically adding webparts to a page in sandbox

I've successfully implemented code to add web parts to web part zones in code using WebPartManager's in other projects. Now that I'm working in a sandbox solution, VS can't seem to recognise ...
0
votes
1answer
49 views

what we shall use in sharepoint now Ajax or jQuery

I need to add message boxes and other components every now and then. I can use jquery plugin or ajax so I was wondering which one is the best to use in this type of scenario. I see in Sharepoint ...
0
votes
1answer
5k views

How should I use sharepoint for facility booking?

Our company use sharepoint 2010, we would like to use sharepoint for facility booking, following are some basic requirements: 1.Users can submit application form( including who submit, where they ...
0
votes
1answer
799 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
2answers
334 views

How many element can List have to work effectively

I must do a project with 360000 element's on list. Are the list can geret with it ? How make fast a queryes on the project ? Where shall I put indexes, and should I made a orderby on Query CAML? ...
0
votes
3answers
381 views

Site Collections <target user> is a member of

There is already a webpart for this but it shows subsites etc, which is not the requirement. What I need is a webpart that will list the Site collections a target user is a member of, and it must be ...
0
votes
3answers
1k views

How to to add a Content Query WebPart programatically and use a SPSIteDataquery?

This is the current scenario. I have a central site called: XXX. I have many subsites called with the year name: 2012, 2011, 2010, etc. In the central site I have a list called Beneficiaries. In ...
0
votes
2answers
618 views

determine if the `Metadata Navigation and Filtering` feature is activated on a site collection

Is there a way to determine if the Metadata Navigation and Filtering feature is activated on a site collection? I've looped through the farm features, site features and web features but I can only ...
0
votes
2answers
3k views

How to revert accidental page unghosting?

How can I resore ghosting of a page back if I accidentally unghosted it? Will its deleting and recreating restore ghosting and remove copy of changed page from database? Update: Searched for ...
0
votes
2answers
101 views

c# and JavaScript

So i have this code sb.AppendLine( "var nameSplit = users[i].split('\');"); The sb.AppendLine is C# and the bit inside is JavaScript, I am trying to split users[i] so that I can strip out the ...
0
votes
2answers
99 views

How to use values from 2 item collections?

I'm trying to use values from 2 SPListItemCollections, as one of them have a lookup field with values from the other list. The reason why I need to do this, is because I need the value from the other ...
0
votes
2answers
543 views

FileNotFoundException when getting a list that EXISTS?

I am having the following exception when trying to get a list that I know it exists. yes, I know the using should not be used in this case but thats not my code :), but I dont think thats the problem ...