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

SPD 2010: How to use advanced and normal mode of editing?

In SharePoint Designer 2010, when I create a new aspx page (Site --> Righ-click on blank in the right pane --> New --> ASPX) and then open it for editing, I am getting: "This page does not contain ...
0
votes
2answers
725 views

Workflow Context always null

I am a newbie in the custom workflow development. The scenario I want to send an email notification to the group when an item is created in the list. I am referring to ...
0
votes
1answer
676 views

How to Create a List using a list template in a site definition

I have created a custom list definition which simplies creates a new list using "Document Library" list. I created another Custom Document Library and was wondering if there is any way I can create ...
0
votes
2answers
172 views

How to Refresh Web Service Value

I have an InfoPath 2010 form that is pulling data from a web service. For example, I have a text box, a button, and a drop down list. The button submits the text box value to the web service. The ...
0
votes
1answer
295 views

SpServices Cannot Get Sub-Sites without Being Site Collection Admin

I am building a web part which is delegated by permissions. It is displayling members of the Members group and Owners group onto the page, and if a user does not have Members or Owners permissions, ...
0
votes
1answer
80 views

TopNavigation Bar is shown Null for Report Centre site in Sharepoint 2007

I have create a Publishing site collection in Sharepoint 2007 and when i try to get the TopNavigation Bar for 'Report Centre' site I get it null. Why ? However for Document Centre,News etc it is not ...
0
votes
1answer
260 views

EntityList empty when querying items provisioned in List Instance XML

I'm not sure if I have found a bug here or if I'm doing something wrong. I have a list which I provision using a SPI in Visual Studio, in the List Instance XML I provision some default list items ...
0
votes
1answer
661 views

Avoid metadata columns in SOAP response

I searched around the internet (and on this stackexchange site), but didnt find any answer. I wrote a small C# application that should retrieve some data via the SOAP webservice of a sharepoint ...
0
votes
1answer
485 views

Why the files which are added as link in project are not deployed on SharePoint 2010

I have two projects in my VS solution, a project named "B" is a SharePoint 2010 project which has a mapped SharePoint "Layouts\js" folder and some other project "A". In project "B" I put various ...
0
votes
1answer
4k views

The file name you specified could not be used. It may be the name of an existing file or directory

SPContentTypeCollection listctc = list.ContentTypes; In that line,. I am getting this error: Invalid file name. The file name you specified could not be used. It may be the name of an existing ...
0
votes
2answers
227 views

SPWeb object is empty

I create a SPWeb object with a relative url to my SPSite using (SPWeb web = SPContext.Current.Site.OpenWeb(url)) { SPList centralManagementList = web.Site.RootWeb.Lists["mylist"]; string id = ...
0
votes
2answers
2k views

Adding row values to a specific column in a datatable?

I am tryin to retrieve the url of image attachments from a OOTB announcements list and add it to a datatable column I created named "Images". The respective image control in my web part displays the ...
0
votes
1answer
625 views

Can I use a .cs file in a SharePoint WebPart

When creating SharePoint WebParts what is the proper way to go about accessing common methods. For example when developing in .net webforms you can add a .cs file to the App_Code folder and consume ...
0
votes
2answers
320 views

Costs with CloudShare vs own development cloud?

Should we go for the own cloud or use CloudShare cost-wise? Example scenario: we are going for long term SharePoint development with a growing team of both full time and part time + temporary ...
0
votes
3answers
124 views

Proper hardware for productive development?

What hardware do I need for building an efficient local SP development environment? Requirements CPU: How many cores? Xeon vs i5/i7? HD: What SSD would you recommend? Should they be RAID0? RAM: I ...
0
votes
1answer
212 views

Filter list based off a set of IDs

I've written a web part that generates several KPIs based off a list given: - List and column names placed in custom configuration values - Parameters at run time Each KPI is composed from a set of ...
0
votes
1answer
462 views

Get previous versions file in document Library

I'd like get the previous versions of files in document Library, passing as parameter the number of version. else if(getFileObj.versionNumber!=0) { ...
0
votes
1answer
3k views

export and import document library from one site to a subsite using code?

This should be possible, I have find some examples but with list items, or entire sites, not with only a document library. Id be happy if somebody can provide working code!!
0
votes
1answer
184 views

Multiple ListItem Owner

I need to create a List that contains multiple listitems. Each listitem should have 2 autors, or 2 persons wich have permissions to change the item. The users who are allowed to change the items are ...
0
votes
3answers
141 views

Get default WebApplication in a farm

I have a question about getting the default WebApplication in the farm - how do I do it? I need to, because my timer job must be completed only for one WebApplication. PS: I'm using SharePoint 2010
0
votes
2answers
507 views

insert webpart on _layout page

Once I have an instance of an object "System.Web.UI.WebControls.WebParts.WebPart", How can I add it into a _layout page created in VisualStudio. I have tried with ContentPlaceHolder ...
0
votes
1answer
536 views

Batch operation fail for adding items in list

i wrote a simple batch operation to test if i can add items to list, but i always get error. string batchFormat = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ows:Batch ...
0
votes
1answer
259 views

Custom List Not showing up

I created a list using a msdn tutorial as given in link below, MSDN Custom List I followed each single step, and deployed the list, and I can see it deployed globally in Sharepoint Central Admin, + ...
0
votes
1answer
295 views

ChangeLayoutMode(null, true): what are the parameter names?

This saves a page you're editing in SharePoint: <a href="javascript:ChangeLayoutMode(null,true);">Save</a> What are the names of the two parameters to this method? More important, what ...
0
votes
3answers
368 views

Get SharePoint list title in a specified language

I need to get a SharePoint list title in a specified language and i am trying to use the SPUtility.GetLocalizedString Method: public static string GetLocalizedString( string source, string ...
0
votes
2answers
86 views

SharePoint Approach for a system - Task Management [closed]

Hi I would like to get some process flow or logic for the following problem, I have a company which works in three states, lets say states A,B,C In the company I also have team of employees work for ...
0
votes
1answer
228 views

Document Library in code behind

I am trying to get the document library from my SharePoint 2010 site. Let's say, my Document library name is 'Proposals' and Site is 'Http://sok:1234' . I used the code like, SPDocumentLibrary ...
0
votes
1answer
504 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 { ...
0
votes
2answers
78 views

Sharepoint backups - Development image

I'm looking into creating an image of a SP 2010 development environment. I would like to avoid operations like restoring the image of the virtual machine (the environment is on a virtual PC) and opt ...
0
votes
2answers
152 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 ...
0
votes
1answer
413 views

SharePoint 2010 Service Application fault exeption

I am receiving an error from my SP 2010 Service Application when I try to execute the code from my proxy. An unsecured or incorrectly secured fault was received from the other party. See the inner ...
0
votes
1answer
205 views

How are SharePoint (ASP) SiteMaps updated?

So there are a gazillion of different SiteMap providers in SharePoint: SPNavigationProvider SPSiteMapProvider SPContentMapProvider SPXmlContentMapProvider SPXmlAdminContentMapProvider ...
0
votes
1answer
466 views

SmallSearchInputBox on the search result page

I have a custome master page. On this I am including the SmallSearchInputBox control at the top of the page. <asp:ContentPlaceHolder ID="PlaceHolderSearchArea" runat="server"> ...
0
votes
1answer
60 views

Catch click event in another file

I have this .aspx which has a few checkboxes and textboxes and a submit button. Using a delegatecontrol, I add some external textboxes to that page. Now, what happens when I click the submit button ...
0
votes
3answers
223 views

webpart available for all users,

i have a custom webpart , this webpart needs to be available for all users in site. It has a button which redirects to newform.aspx . Everything works for all users except visitors cannot access the ...
0
votes
1answer
141 views

Issue with editing SharePoint Page

I have an issue with editing a Sharepoint page. I have to check whether Silverlight is installed in the user's system which is done by a Javascript function, but the issue I'm getting after ...
0
votes
1answer
514 views

How does the Microsoft.SharePoint.Portal.WebControls.SiteDocuments web part work?

Here is a link to the SiteDocuments web part: http://msdn.microsoft.com/en-us/library/ms544079%28v=office.12%29.aspx Here is a picture of it on MySites: http://i.stack.imgur.com/TVQqM.png I want to ...
0
votes
2answers
1k views

How do I get the current user and sharepoint url in an asp.net web application?

I'm developing an asp.net web application and hosted on IIS 7.5 server. These applications are used in sharepoint 2010 using the page viewer web part. Now I want to get the sharepoint's current user ...
0
votes
1answer
338 views

How to implement a cascading lookup on a dataview new form connected to an external database

I have a requirement to develop a new entry form for a database that drives a reporting services report. I set up SSO and created a new item dataview webpart with a table on the database as the ...
0
votes
1answer
665 views

C# save/submit to sharepoint from infopath [closed]

I have tried this.Submit(), this.Save(), but neither seem to actually work. Is there a simple way of doing this? I have also tried using a submit button and then using custom rules for that, but still ...
0
votes
2answers
699 views

SP 2010 Adding a picture library with some pictures through a feature

I would like to add the following feature to my Web Template. - Add a picture library with some default pictures in it First step would be creating a custom list from the type picture library. But ...
0
votes
1answer
75 views

call method in webpart

I'm trying to debug the code below. For some reason the GetUserProperties Method isn't called during debug. Can someone tell me how i'm able to call it? I wan't to display the user-properties in an ...
0
votes
2answers
318 views

Adding new file in a doc.lib. using client OM with contribute permission only failing

I have this client OM code to add a new file in a doc.lib.: clientContext.ExecuteQueryAsync( (o, args) => { var fileCreationInformation = new ...
0
votes
1answer
2k views

InfoPath close form by code

I'm creating an InfoPath form in InfoPath 2010 Designer, that will be running in InfoPath 2007 and 2010 clients and contains C# code. When the user clicks the submit button I need to execute some C# ...
0
votes
2answers
231 views

deploying custom feature in sharepoint 2010

I have created a custom feature for adding a button in the SharePoint 2010 ribbon. If I click that button, I can open a show model dialog box which I have loaded a aspx file that contains file upload ...
0
votes
1answer
1k views

SPFeatureReceiverProperties coming as null in FeatureActivate Method

I am trying to make a simple timer job which does some task. However its throwing an exception object reference not set to reference of an object as the input parameter SPFeatureReceiverProperties is ...
0
votes
2answers
2k views

Unable to login from custom login page - FormsAuthentication.RedirectFromLoginPage fail

I created custom login page for FBA access (SP 2010). In related custom code i inherit Microsoft.SharePoint.IdentityModel.Pages.FormsSignInPage class. Problem: I would like to login in sharepoint ...
0
votes
1answer
819 views

REST Services - List vs Document Library

I developed a custom ASP.NET application where I retrieve/update list and document library items using REST. It works perfectly fine locally but when I deploy it to a web server it doesn't work the ...
0
votes
1answer
80 views

fetching all the link list type using browse button

I have created a webpart. In webpart property I have put a browse button and using that I have to fetch all the list which are of Links List type. So that I can select a list and save into my web ...
0
votes
1answer
918 views

Created connectable webparts but the “Connections” menu item is not showing

I am trying to create two web parts (that are not in the same project) that can connect. So far I have created The interface that will be used for communication. It is in it's own Class Library ...