sharepoint2010

How to manage SharePoint configuration?

We are planning to rebuild our intranet on SP 2010 and are planning to have department sites (among others) where one or more people will be able to edit the page, add/remove web parts, etc. I'm concerned about managing this configuration between environments such as production/test. I'd like to know how people go about doing this? Manua...

ContentType appears to be a "Computed" field and not "Choice" field through API - SharePoint 2010

We are trying to use the ListFieldIterator control to display the edit form of a list item including the content type. When viewing the list item in edit mode in the UI, the content type shows up as a dropdown with the list of content types but when going through the listfielditerator, the "content type" field shows up as a computed fiel...

Does feature stappling is allowed in custom web templates for SharePoint 2010?

Does feature stappling is allowed in custom web templates for SharePoint 2010?If not , I guess I need to use the feature receiver to activate features? ...

how to get the status of an approval workflow of item using sharepoint object model ?

Hi, There is a list on which an approval workflow is associated,workflow starts when an item is added.The list is having anonymous access so anyone can enter an item,but the item needs to be approved by an approver.Hence,each item will have a status(e.g. approved,rejected etc.). Now,I am creating a visual webpart.I want to display the ...

Information and tutorials about developing a SharePoint Service Application

Hi, I'm looking for information and tutorials on how to develop a SharePoint Service Application with the SharePoint Service Application Framework. The Internet seems to be full with information about how to configure the oob Service Applications but offers only very little information about how to develop a custom Service Application. ...

Sharepoint: Using multiple content types in list. Pros and Cons.

I newbie in Sharepoint development. I has some hierarchical structure like internet forum: Forum Post Comment For each of this entities I create content type. I see, that Sharepoint allow store in list different content types and I can store all forums with their posts and comments in single list (Forum and Post will be 'Folder',...

Access a MySite Blog from a home page webpart

I've been away from SharePoint development for quite a while now, and I'm trying to access the information in a SharePoint 2010 blog (from one of our users, within their "MySite") from a C# webpart which will reside on the homepage of the site. The idea is to be able to highlight a certain user's latest post on the home page. Can any...

SP2010: Account login problem

I have some problems with sahrepoint 2010 account management... In my windows 7 i have 2 accounts: an administrator account (let's call it "admin") and a standard user (called "reader"). In the SP2010 central administration i have correctly added both accounts as "managed accounts". In my site i have modified the "site permissions": "ad...

Deploy custom code to Sharepoint 2010 remotely?

I'm relatively new at creating custom content for Sharepoint 2010 and have been having some difficulty understanding how to get non-design related components (ie. web parts, custom classes, ...) into a Sharepoint site. I have created a new visual web part on the company's development server and deployed it successfully from Visual Studio...

SharePoint 2010 - How to print InfoPath form for list item

I edited the form for a list item in InfoPath, and when I print, I just want to print the form itself. It seems when I use the browser's print function, it still pulls up some elements from the page and it cuts off the content if it's longer than the popup window. Also, some of the elements of the form are hidden when I print, so that i...

Accessing All Sharepoint 2010 User Profiles

I'm attempting to iterate through all User Profiles in SharePoint 2010 from a Silverlight application that will be added to a SharePoint page. Based on what I've learned, the User Profile Service is different than the SharePoint Website's store of a list of users who are "members" of the site or have ever visited it. To get that list of ...

jQuery $(document).ready() not firing

Hi all, Using jQuery 1.4.2 from Google hosted Code. Is there a reason why the following javascript does not fire all 3 document.ready functions when the document is ready? The first $(document).ready() function, which renders headers, and the second, which gives a 'Foo' alert box triggered, but subsequent ones in new <script> blocks ...

Javascript link in aspx page within a SharePoint frame replaces apostrophes to #39 element

I have problem with SharePoint encoding the javascript link, that normally renders like href="javascript:Function('url');" but in Sharepoint like href="javascript:Function(& #39;url& #39;)" wich of course does not work. What do I need to do? I need to be able to use my user control as stand alone as well as linked into a sharepoint pag...

Alert on a scheduled end date for a document in SharePoint 2010

When I set a scheduled end date on a document in SharePoint 2010, I want to to alert users when the item reaches this date. Is this possible in SharePoint 2010 without custom code? ...

Problem Sorting With Multiple SPGridViews

Hi, I am using an SPGridView control with an ObjectDataSource control in a SharePoint 2010 solution. The SPGridview allows me to sort and page through a list items OK, but I have noticed a problem when two SPGridView controls are placed on the same page. When I sort the lower SPGridView control by clicking on a column's header link, th...

Set a custom format for a number field in a SharePoint content type

When I create a content type for SharePoint in XML in Visual Studio. Is it possible to create a field with the Type "Number" and give it a custom format? I don't want the thousands separator, but for some reasons I can't use the type "Integer" ... EDIT: I tried this without success ... <?xml version="1.0" encoding="utf-8"?> <Elements x...

Sharepoint Dashboard

We are in the process of evaluating SharePoint Dashboard solution. Do you guys aware of any third party Dashboard components? ...

SharePoint 2010 - List view threshold: What does not trigger the threshold?

In SharePoint 2010, we have the List View Threshold, which defaults to 5,000, and: Specifies the maximum number of list or library items that a database operation, such as a query, can process at the same time outside the daily time window set by the administrator during which queries are unrestricted. So, I'm looking to determine...

Create AND add user to sharepoint site via code

I'm curious about the best/most efficient way to do this. I've already set up my sharepoint 2010 site, and it is configured to use FBA. What i'd like to do is allow users to create their own accounts by filling out a form (the form will sit on a public sharepoint site, and filling it out creates a user in the membership database which ...

Site template for Sharepoint 2010 Intranet Portal

What site template would you recommend to create an intranet portal site? It is going to be used by 200 employees. It probably will have the following content department calendar company news employee search weather useful links new employee list presentation video User should be able to customize the portal based their interests. Ki...