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
46 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
357 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
179 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
172 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
829 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
159 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
470 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
8k 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
364 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
238 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
2answers
331 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
160 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
431 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
116 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
556 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
103 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
72 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 ...
0
votes
2answers
215 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
5k 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
503 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
143 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
482 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
788 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
535 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
229 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
94 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
132 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
208 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
250 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
105 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
392 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
170 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
348 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
743 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
829 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
449 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
143 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
72 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
83 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 ...
0
votes
1answer
1k views

Can't see any custom fields when 'adding new item' to custom list

As title says, I can only see the 'Title' field when adding a new item to my custom list. Any ideas? I've double checked the field definitions and checked the field references are in both default ...
0
votes
1answer
164 views

Digitally signing a docx on sharepoint document library with no need to open the document with C#

My question is that is it possible to sign documents without the need to open that document?
0
votes
0answers
57 views

Error Running Code Analysis in Visual Studio 2010

I am developing my web parts in SharePoint 2010 and have code analysis framework installed. I have 4 (1 is SharePoint project other are class libraries) projects in my SharePoint solution. All build ...
9
votes
6answers
1k views

How to choose a development computer for a SP 2010 environment?

I'm looking for a descent development computer that targets SharePoint 2010. The computer must be a laptop and does not have to rely on a domain controller (or at least not all the time). What are ...
2
votes
1answer
321 views

Changing the sort field in search center

Using MOSS 2007. The only OOtB options for sorting search center results are Relevance and Modified Date. There doesn't seem to be a way to do it through the XSL. I was wondering if and how I could ...
0
votes
1answer
28 views

Possible to get a list of scheduleditems?

Is it possible to get a list of ScheduledItems from SharePoint in C# (event receiver)? For example, I've created a ScheduledItem and called the .Schedule() method. I'd expect this ScheduledItem to ...
2
votes
1answer
93 views

Is it possible to enable PDF Crawling in Foundation 2010 Search?

I am trying to enable PDF crawling for Foundation Search V4, but have only been able to find resources for PDF crawling for the complete versions of 2010 - Some of the instructions and procedures vary ...
0
votes
1answer
210 views

Foundation 2010 Services fail to restart on reboot

All of the services on our SP Install that use Domain Accounts fail to start automatically after an IIS Restart or System Restart. Services Affected: SharePoint 2010 Timer - Logging on as ...