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
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
811 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.
1
vote
1answer
159 views

SPLongProcess never redirects to the destination page and hanging on the processing page forever

I got the following code below , it starts a long running process , once the processing completes it will redirects to another page using EndScript().However,SPLongProcess never redirects to the ...
0
votes
1answer
36 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
660 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 ...
1
vote
2answers
1k 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
41 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
2answers
327 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
1answer
160 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 ...
0
votes
1answer
160 views

Error on setMapping for managed property

I'm getting error when i try to add a crawled property to managed property "contentshidden" Anyone know why the problem can ben, when i add a mapping to empty mapping property it is ok, but when i ...
1
vote
1answer
753 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
156 views

Custom field type - how inherit attributes from base field type

I need to create custom field type which must inherit ATTRIBUTES from inherited field type (e.g. Note). I know how to add custom attribute on my custom type (using fldtypes...xml, custom ascx,...) ...
1
vote
1answer
388 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. ...
4
votes
5answers
7k views

How to check if a user exists in a group

How can i check if a user (not the current user) exists in a group. The SPGroup object allows to check if the current user is member of the group, but there is no method that checks if a SPUser given ...
0
votes
3answers
346 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
201 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, ...
0
votes
3answers
2k views

What is the best way to connect to sharepoint's api using PHP?

I am using the Sharepoint 2010 server. As far as I know PHP does not support NTLM. If I cache the wsdl XML how then can I connect to the 2010? Would Oauth work? Has anyone successfully used PHP to ...
0
votes
2answers
317 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 ...
2
votes
1answer
135 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) ...
1
vote
2answers
410 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
0answers
105 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 ...
1
vote
1answer
514 views

BDC hide identifier in new item form

I'm working on a simple bdc model in visual studio. i use the entity framework to access the data on the database. Everything works fine (all CRUD operations) but in the "New item" form i have to ...
2
votes
1answer
95 views

Deleting a SharePoint User Profile remotely

Can anyone tell me how to delete a SharePoint user profile remotely? I don't see a way to do this using SharePoint Web Services or User Profile Services. The following code works fine when run on ...
1
vote
1answer
71 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 ...
9
votes
2answers
8k views

SP.UI.ModalDialog.showModalDialog using the html option

http://msdn.microsoft.com/en-us/library/ff410058.aspx says that you can use the option html to display html text in a modal. I have a string like this; var html = ...
0
votes
2answers
198 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 ...
3
votes
2answers
4k 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
2answers
434 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", ...
0
votes
1answer
130 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
428 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
2answers
673 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
1answer
464 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
1answer
200 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
91 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 ...
0
votes
1answer
122 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 ...
1
vote
2answers
189 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 ...
0
votes
1answer
223 views

Remove value in drop down list after being selected

I would like to ask, how to disable the value in drop down menu after being selected? I mean, let says if when User A select value B in drop down list, B is not available to be selected anymore to any ...
0
votes
1answer
96 views

Can only create site (from custom defintion) when in central admin

As title says. I've created the bare basics of a custom site definition (no features etc.). It, at least appears, to deploy and activate fine judging by VS 2010 output. If in central admin, I can ...
1
vote
1answer
321 views

Error 401 after idle time then AJAX request however still returns results

I have a ashx handler in "_layouts/ihandler/.." in which I make AJAX requests for an in page search. If my page stands still for to long the requests change from 200 to 401 return status, this is ...
1
vote
2answers
3k views

Try Get Field with client object model without error

Question regarding the client object model. I wrote some client script for a procedure, but i don't know, how can I determine if the list or item has the field available or not? For example: ...
0
votes
1answer
160 views

Want my column display minutes and want it to sum in hours

I have an issue again... I create list from csvfile. I convert string with date into DateTime type like this: string[] formattedDates = { "dd.MM.yyyy HH:mm:ss", "mm:ss", "HH:mm:ss", "dd.MM.yyyy", ...
3
votes
4answers
11k views

Error message: “A sharepoint server is not installed…”

Im trying to develop a Visual Web Part using Visual Studio 2010 RC. I have not installed SharePoint 2010 locally on my developer box, but I have installed it on my Windows 2008 Server VPC. When I try ...
1
vote
1answer
290 views

How can i get entire role assignments from SP 2010 using the COM interface including the users in the AD groups and not the groups names?

I've been trying to get all the RoleAssignments using the COM interface. the problem is that i get the AD user group names instead of the actual users inside the groups. my code looks something like ...
2
votes
0answers
609 views

Url to an item with Client Object Model

Regarding my question, at this moment i'm writing some client object model code and I can't find a way to retrieve create make an url ... My question now is: How can I create an url to an item? I ...
0
votes
2answers
737 views

Visual studio 2010 email activity for workflow

I am using visual studio 2010(sequential sharepoint work flow) and trying to send an email activity automatically when the approval is rejected. I have added the "send email" activity in the workflow ...
0
votes
2answers
417 views

Ribbon button and client object model code

My question is regarding the button on the ribbon and client object model code. I'm not sure how to do it: So i have a button here: <CustomAction Id="NewButton" Location="CommandUI.Ribbon" ...
0
votes
1answer
131 views

Invalid URI when trying to empty recycle bin

Based on this question I wrote the following in my class for emptying the recycle bin: public static void EmptyRecycleBinItem(string siteCollection, string originalLocation, string filename) { ...
1
vote
1answer
71 views

Checking SharePoint Uptime Remotely

I was wondering how people have gone about programatically checking if SharePoint is still available? I use the following now to check it, but it relies on the SharePoint object model and must run on ...
1
vote
1answer
78 views

The location of EmailLink command implementation

My question is regarding a command which is bound to an OOTB button. On the ribbon you have a button to email a link, so this buttons they have some commands like: EmailLink, EmailLibraryLink, etc For ...