sharepoint2010

How to get the site collection search results page in Sharepoint 2010?

If you go the Sharepoint's Search Center -> Site Settings -> Search Settings. There's Site Collection Search Results Page which is used for configuring the search results page used for contextual searches (such as "This Site"). The default value is /_layouts/osssearchresults.aspx How can I retrieve and change this value through the...

How can I update the record in sharepoint 2010 using linq.

Hi, I am unable to update the record in SharePoint 2010 using new linq feature. follwoing in my code please review it. AbsentTrackingSystemEntitiesDataContext ctx = new AbsentTrackingSystemEntitiesDataContext(spWeb.Url); ctx.ObjectTrackingEnabled = true; HolidaysItem Holidayobj = GetHolidays(HolidayID,...

How to get information from a list that is on another site collection, on SharePoint 2010?

Using SharePoint 2010, how can I get the information on a list that is on another site collection? ...

Gantt view is missing when using the starter master page

I am using the starter master page in one of my projects but the Gantt view does not show up for a list. Any ideas? ...

How do I validate the page title length in sharepoint 2010?

To aid navigation we would prefer our users to only create pages that have a title of less than or equal to 30 characters. Is there a relatively easy way that this can be accomplished? I've seen a javascript solution that uses a method called PreSaveAction but it's not really what I'm looking for as it has got to work site wide (whethe...

ajax calender extender months don't localize please help

In sharepoint site i've webpart with ajax calender extender .Today in calender localized but not months and days . In script Manager i enabled EnableScriptGlobalization="true" EnableScriptLocalization="true" Added resource .dll in to bin of site. Please help ...

How to hide Edit Property option from the Edit Control Block of Document Library Items

Dear All, I would like to hide the Edit property option form ECB of ducument Library items in SP2010 or capture the click and redirect to my own aspx page. Is it possible? Please help Thanks aYus ...

Error publishing workflow in SharePoint 2010

When publishing a workflow in SharePoint 2010 Designer I received the following error. Errors were found when compiling the workflow.The workflow files were saved but cannot be run. Check For Errors indicated the workflow was fine ...

How to Change SharePoint 2010 Project from Sandboxed Solution to Farm Solution

I created a new sharepoint project in Visual studio 2010 and by mistake it was sandboxed solution, after finishing my development its wont build because i am adding items to controltemplates and its saying i need to have the project as farm solution, so how to change th eproject type ? ...

Sharepoint 2010 sandboxed solutions - where to put images/css/javascript files ?

In Sharepoint 2007/ 2010 not sandboxed you could place images/css/javascripts etc. somewhere in Sharepoint root folder or in wpresources folder. What is a good/working place to put these files in sandboxed solutions? ...

How can I limit feature visibility in SharePoint 2010?

I have a SharePoint 2010 (farm) solution that contains exactly feature: The feature is site-scoped. The feature's visibility is set to "true". The assembly deployment target is set to "Web Application". The feature contains one webpart. After adding this solution to the solution store I can deploy the solution to a specific web applicat...

Using Sharepoint 2010 user profiles to store user information for a public facing website.

Hi, We're planning to use Sharepoint 2010 as a CMS for a website we're building. This site will also have login functionality; and my boss suggested we use Sharepoint's user profile features to store user info (username, password, contact info, etc.) for the site. How is this better then say using a standard list or a database table som...

Sharepoint 2010 - where does it store the real files?

Hi, when I add a new document in sharepoint (*like word doc) where exactly the file (binary data) is stored? In MS SQL engine? (BLOB?) On HDD as Native file? Something else? Thanks, Dmitry ...

Thorough Sharepoint 2010 development books (no previous MOSS 2007 knowledge)

I'm looking for a developer's book that would be quite in-depth and works from the basics to advanced stuff without requiring previous knowledge of MOSS 2007. I would like the book to explain basics of the Sharepoint development framework and class library and then go off with all kinds of common development practices in Sharepoint. Inc...

Viewers in sharepoint 2010 site are able to edit the documents in a document library

I have a sharepoint site that contains 4 document libraries. Even the viewers are able to edit the uploaded word document.I dont want this. Only the admins should be able to edit. How can i achieve this ...

How do you move a SharePoint 2010 DocumentSet from one list to another?

I've tried many variations. Send To Library - That creates a Zipped file in the Drop Off Library, then it doesn't route via the rules in Content Organizer API - I've tried to do an Export, Import, but always receive the same error. This is per this MSDN documentation: http://msdn.microsoft.com/en-us/library/microsoft.office.documentm...

Cross site collection query

I have the following snippet of code that works in MOSS 2007, but when used against SP 2010, no items are returned. The 2010 instance is a test upgrade of the content database from the 2007 farm. Has something changed in 2010? CrossListQueryInfo q = new CrossListQueryInfo(); q.Lists = "<Lists...

Sharepoint 2010: Display Images from the list to the pagelayout

Hi, I created a list in SP2010 that holds a couple of images for the homepage. In the homepagelayout.aspx page, I want to display those images randomly upon page refresh. How do I do it? I am new to the SP world. Thanks. ...

How to change Href of custom Ribbon button in SharePoint 2010

Is there a way to change the Href of a custom ribbon button? I'm tring to tie the button to a lightbox, so that the lightbox is displayed when the button is clicked. The ID of the button is Ribbon.Documents.New.Controls.BtnUpload-Large so I tried jQuery('#Ribbon.Documents.New.Controls.BtnUpload-Large').attr('href', href), but that didn...

problem in flv video streaming in sharepoint 2010

i'm using flowPlayer inside a user control in sharepoint 2010 this user control works well when testing it in normal web page but when i put it in a web part in a sharepoint project the player appears blank and movie doesn't work ** this problem may be casued by IIS7 any ideas please ...