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
54 views

Determine the location List or Document Library

How can I determine if I'm in the List or Document library and I'm not on some page that is inside the document library? For example if im on the page which is located in the pages and I do: ...
0
votes
1answer
60 views

DRY and page layouts

Being a fan of DRY to write maintainable code I'm having some problems getting to terms with SharePoint development. Some information (e.g. GUIDs) is often repeated and spread out over several files, ...
1
vote
1answer
286 views

Windows Phone 8 with Sharepoint 2010 Connectivity

How we connect Windows Phone 8 to Sharepoint 2010 and get list data using web services I found connectivity for Windows phone 7 with Sharepoint 2010 but not found with windows phone 8.Is it same for ...
3
votes
2answers
827 views

How to get changes from SP server 2010 in client object model?

Below is the code: ClientContext context = new ClientContext("http://SPSite"); context.Credentials = new NetworkCredential("user", "pwd", "domain"); ChangeQuery cq = new ...
0
votes
1answer
2k views

Where to Place XML File to be Read by Web Part?

In another question, I finally found a way to deploy the XML file to be read via a Feature, to the _layouts folder: Feature Elements File Should I be deploying it there at all? I wasn't able to ...
0
votes
1answer
2k views

will sharepoint 2013 support MVC

I'm wandering if anyone knows if SharePoint 2013 will support MVC. Does anyone know? I'm wanting to be able to implement MVC in my sharepoint development process. Thanks,
1
vote
2answers
229 views

Parsing boolean ListItem property into string

I am currently parsing boolean into string using this line, but it ain't working all of times, is there any alternative ? bool.Parse(listItem.Properties["Boolean Property"].ToString()) == false
2
votes
1answer
321 views

Determine programmatically if you are in MySites

My question is the same as the title: How can I determine programmatically am in MySites?
1
vote
1answer
46 views

Convert Page to PersonalWebPartPage

I've a strange question for you. I have to fix bugs in the another's code (webpart for sharepoint 2010). So in the code there is a line with the code below: var s = ...
1
vote
1answer
1k views

InfoPath form has Multiple Selection List Box that checks all items instead of just one

In InfoPath 2010, I have a Multiple-Selection List Box that uses an external data source to populate the check box items. This data source is an xml document that gets dynamically populated in the ...
0
votes
1answer
923 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
170 views

When placeholder is filled with content from page in master page

My question about the placeholder, basically I have to perfrom a check in my custom user control for some controls, but does controls are loaded from a page in a placeholder. And my user is located ...
1
vote
1answer
469 views

SiteMapProvider for MySites' breadcrumb

My question is regarding the site map provider. I have a breadcrumb in the mysites and i use SPContentMapProvider to build the breadcrumb, but the problem is it always shows 'Home', so if im on my ...
0
votes
0answers
51 views

How Do I Recycle a Folder to Site Recycle Bin and not Site Collection Recycle Bin?

I have written some C# code which will recycle a folder based on the path it is passed, however, when it is executed the folder goes to the SiteCollection recycling bin and not the first level ...
0
votes
2answers
25 views

What is the most efficient way to compile a solution with multiple dependent projects?

I currently have a solution with one "active" project and several helper projects. These projects represent different utility libraries used within my team. The benefit is that the libraries are kept ...
1
vote
1answer
2k views

Add various Fields in a Sharepoint List Programmatically

i need a method where add various Fields in a Sharepoint List, but these Fields must be in the parameter of this method. Show me this method and how should I use it.
2
votes
1answer
270 views

SharePoint Designer not saving changes

I've developed a SharePoint WebPart but am having trouble editing it in the SharePoint Designer. My WebPart is supposed to be a thin wrapper around a DevExpress Chart which exposes all the settings in ...
0
votes
1answer
46 views

SPPersitedObject

Hi i am having some problems updating SPPersitedObjects Enviroment A userA site owner account no central admin permissions userB Sharepoint Installation Account permissions on everything development ...
0
votes
1answer
979 views

The file * has been modified by SHAREPOINT\system

In the current scenario I am trying to copy a document set from one library to another, the thing is I cant use DocumentSet.Import because I only need the docset properties and not the contents. The ...
2
votes
2answers
3k views

Simple Choice field value assignment

My apologies for asking, what seems like, a really basic question - but I can't appear to assign a value to a 'Choice' field programmatically and can't find anything documented anywhere. Defined in ...
0
votes
1answer
47 views

503 after SP-Solution upgrade

i am well aware that when using SP-Solution Upgrade the sharepoint server throws a error 503. this isnt the problem what i need to find out without testing is does the 503 affect the entire farm or ...
0
votes
1answer
213 views

How can I return user-values as a SPUser (Hyperlink) in a visual webpart in C#?

I'm developing a visual webpart (TreeView). If I click on a node (folder), it gives me the credentials of the folder. Now, the values are all appearing in a label. How can I return the users and ...
1
vote
1answer
937 views

User control in delegate control

My question is regarding a delegate control called TopNavigationDataSource, normally when you create a delegate control you just define there some new properties etc. But what if I want to deploy ...
1
vote
1answer
604 views

Sending and receiving fax with sharepoint

my clients expressed the need to be able to send faxes from sharepoint. So they would open up a web page somewhere on the intranet, they would then select another company and click on a send button. ...
0
votes
2answers
412 views

Untrimming trimmed ribbon control

My question is straight forward, how do i programmatically untrim the trimmed control on the Ribbon? So if this happens: SPRibbon current = SPRibbon.GetCurrent(this.Page); if (current ...
0
votes
2answers
300 views

Overriding function in imglib.js

My question is regarding a default SharePoint imglib script. The script is located in following folder: 14\TEMPLATE\LAYOUTS\1033\imglib.js The script has a function called: GenerateFooterContent(f, ...
1
vote
4answers
3k views

What is the best way to connect to SharePoint's API using PHP?

I'm using the SharePoint 2010 server. As far as I know PHP does not support NTLM. If I cache the WSDL XML how can I connect to SP2010? Would OAuth work? Has anyone successfully used PHP to connect to ...
2
votes
1answer
227 views

Why do I have 2 ways of retrieving an average rating? Which one do I choose?

It appears that, on enabling social rating against my list for my custom content type, I now have 2 extra fields for each SPListItem in my list: AverageRating and RatingCount (as explained Blog Link) ...
2
votes
2answers
472 views

Migrate Sharepoint 2007 to 2010

So right now there's a SharePoint 2007 site filled with data. I have to migrate EVERYTHING properly from the SharePoint 2007 site to a new server that has SharePoint 2010 and Windows Server 2008 ...
1
vote
1answer
136 views

Access exceptions when trying to add a content type to list

In the following method, 'list' is simply an SPList ("Documents"). I'm attempting to add ContentTypes to the list and then update it. This code is found in the FeatureActivated event of an event ...
1
vote
0answers
126 views

Accept Delegate Custom Workflow activity

Hi i am currently building a custom workflow activity for visual studio 2010 i would like to create a method invoking property, like many of the oob activities have public static ...
3
votes
5answers
7k views

Value does not fall within the expected range when iterating over all fields

I have a custom page that copies items from one list in one site to another, and its failing with the exception above. I tried checking the field using sharepoint manager but I didnt find anything ...
0
votes
2answers
346 views

Notify item update by JavaScript

I created a popup window that updated the metadata information of my item. When the operation of updating is complete I would like to close my popup and show the notify alert. I succeed to close the ...
0
votes
3answers
498 views

Render TextBox (sever control) in WebPart and manage (text, visibility etc of) the server controls from editor part

My initial goal is to achieve the following Render dynamic TextBox in custom editor webpart Manage Text (, visibility, height, width etc) of the TextBox from editor part. We can consider ...
1
vote
1answer
74 views

How would you dispose of this SPSite object?

I'm doing a simple overloading of a function and I create a SPSite object when I'm calling the second function. I'm not sure of how to dispose of it in this scenario. public static string ...
2
votes
2answers
5k views

How to send an email in a visual studio sequential workflow

I'm trying to create a sequential workflow using VS. I'm needing to loop through all the items in a list and send an email if one of the columns equals a specific status. I have not found any good ...
0
votes
3answers
374 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
2answers
246 views

Can find user in peopleeditor but not in web?

I want to assign the value from a peopleeditor control to a user field in C#. I have a resolved entity in the people editor, but when passing the SPUserId into the SPFieldUserValue constructor along ...
0
votes
1answer
33 views

Trouble with redeploying Timer jobs during development

i have a project containing 1 timer job and 1SPpersistedObject. when i deploy the project for the first time it works fine and i debug the correct code. i then made a change and now it is debugging ...
0
votes
2answers
663 views

“Cannot complete this action.” When calling ApplyWebTemplate()

SPWebApplication webApp = SPContext.Current.Site.WebApplication; using (SPSite site = webApp.Sites.Add("/sites/site3", "SharePoint", null, 1033, null, "administrator", "Administrator", ...
3
votes
2answers
6k views

How to upload/download document to Document Library via WEBSERVICES? Also set metadata

I want to retrieve a template document from a Document Libraries, in order to allow a user to edit it, and then upload it back again to the Document Library. I'll probably need to set some metadata ...
0
votes
1answer
155 views

Features not visable in the ui

consider a solution that contains one workflow. i proceed to deploy the solution, when inspecting features in the UI my feature is not visible. but running Get-SPFeature {Feature Name} i found it. any ...
0
votes
1answer
635 views

Modify the content of the home page programmatically in SharePoint 2010

First of all, I'm pretty new to SharePoint so don't shoot me if this is a noobish question or if I don't provide all the right information at once... :) I have a team-site in SharePoint with ...
0
votes
1answer
283 views

Grab list of site collections from SPFarm object

I have a Farm level feature that returns null when I try to access SPContect.Current.Site. Is another way to grab a list of site collections? I have access to SPFarm.Local
0
votes
1answer
657 views

Add multiline html field is not showing HTML Ribbon tools

I am trying to add a new column to a contentytpe and type note but with rich text enabled. It doesnt throw any exceptions: In the site columns definition it appears as Multiple lines of text with ...
0
votes
2answers
955 views

How to add programatically a RichtText field to a contenttype

THe following code throws me an exception, System.ArgumentNullException: Key cannot be null. Parameter name: key at System.Collections.Hashtable.get_Item(Object key) at ...
0
votes
2answers
713 views

Uploading an InfoPath form programmatically

I know how to upload the published xsn InfoPath form, but when I try to open it, the form can't find its code behind assembly dll. Does anyone know how to add that? I know it gets put in hive 14 ...
0
votes
1answer
140 views

Proper method to modify the STS web.config across the farm via C#?

I need to be able to modify, via C# in a SharePoint solution, the STS web.config across multiple servers. What is the proper way to do this since the WebConfigModificationn class doesn't take this ...
0
votes
1answer
104 views

Import a UI built solution into Visual Studio for further development

Trying to get my head round a few things with SP and SP development. I have a complete solution which was built using both the UI and SPD. I have exported the WSP and now want to import this into ...
1
vote
2answers
244 views

The replicated buttons on the ribbon do not work

I recreated a few buttons from the ribbon; I used the same XML to define the buttons. The OOTB buttons are located on the ribbon in the contextual tab in lists. I want to take a few buttons like ...