sharepoint

What Are Some Sharepoint Best Practices?

Hi guys I am new to Sharepoint. Is it a good practice to query the content database tables through the SQL Server Management studio? Which things need to be considered for Sharepoint testing? As of now I have considered Authorizations and Performance of Sharepoint portal. Still there are lot of things need to be considered but since...

Creating a subsite/web via the Sharepoint Web Serivces - is it possible?

I'm trying to create/add a Sharepoint subsite on an existing site collection through the web service api (as oppposed to the object model or RPC), but I see no clear way on any of the Admin.asmx, Webs.asmx, Site.asmx, or Sites.asmx services to do so. I can see ways to create a full site collection, lists, and list items, but not to cr...

Sql Server Reporting Services and Multiple Sharepoint Farms

I was wondering if you can have a single SSRS 2008 server be used for two different sharepoint farms? I have a SSRS 2008 box and would like to have two different reporting instances, one for each farm. We're in the middle of a transition from WSS --> MOSS, and I need to be able to support reporting on both. It seems when you run the...

SPSite.Exists() returns true although the site collection doesn't exists

I'm currently working on a TimerJob which does some site collections management. When the job runs it looks into a list to retrieve the Url of a site collection then it calls SPSite.Exists() to check if the site still exists or not. To test the TimerJob I delete a site collection but left the corresponding entry in the list. Then I sta...

Where can I find resources about SharePoint best coding security practices?

Where can find resources about best practices for SharePoint programming? I am talking about CODING against Sharepoint and NOT administration and deployment ...

Displaying Documents (filtered) from a library in Sharepoint

Using the latest current version of Sharepoint. I have aded a "Foo" document library containing documents of a custom Foo document type. The document repository carries along a FooID for each document, which will correspond to a primary key in an external database's [Foo] table that we are using for other purposes. I have a Foo.aspx p...

How can I set the default value in a SharePoint list field, based on the value in another field?

Hi all, I have a custom list in SharePoint (specifically, MOSS 2007.) One field is a yes/no checkbox titled "Any defects?" Another field is "Closed by" and names the person who has closed the ticket. If there are no defects then I want the ticket to be auto-closed. If there are, then the "Closed by" field ought to be filled in later on...

sharepoint: Using a Content Editor Web Part this error occurred:"Cannot retrieve properties at this time."

Hi all, I have a content editor web part. Whenever I edit the content and then click save, the following errors occurred: "Cannot retrieve properties at this time." "Cannot save your changes" How do you fix this? I tried googling it.. there are some similar cases but not exactly the same. I tried this link: www.experts-exchange.com...

Is there a programmatic way to influence the rank of search results in MOSS (Sharepoint) 2007?

Searches in Sharepoint rely on SQL Server as far as I know. I have an internal search project based on MOSS 2007, where users can search keywords in archives. My idea is to take some statistics data (page hits, recent visits, user voting, etc.) into consideration and affect the final rank returned to the user. So, is there a way to inf...

Different My Site Themes on different SSP's

Hi We are running MOSS 2007, with 4 different SSPs. I want to change the theme that is applied to the mysites created on one of the SSPs. I plan to do this using feature stapling but how can I deploy this feature to just this specific mysite url as it only differs by port number. Cheers ...

Sharepoint Search doesn't work

Platform: MOSS 2007 on server 2008 Sharepoint is working etc... Problem: When you search for something, it doesn't find anything, no errors. Authentication and permissions look fine. Search service is up and running. What could be the problem? Any checkpoints I might have missed, any bad configurations I should check, etc...? ...

ItemUpdating not showing changed values in SharePoint event receiver

I'm trying to find how a field's value has changed in an ItemUpdat**ing** event receiver. The particular field's display name and internal name is Regions. As soon as ItemUpdating is hit, the value of the Regions field is identical for the following: properties.AfterProperties["Regions"] properties.BeforeProperties["Regions"] propertie...

How to update web.config on each WFE in a SharePoint server farm?

We have a SharePoint farm with multiple WFEs. A new application requires us to write some custom code to the web.config during deployment. What is the best way modify the the web.config file during deployment, ensuring that each WFE in the farm get updated? ...

SharePoint: Calculated Column Values Disappear When Editing List Item. Any ideas?

I have a calculated column in a custom SharePoint 2007 list, with the following formula: =CONCATENATE("IR-",[ID],"-",LEFT(UPPER([Title]),25)) If an item is created in the list, everything is fine, however, when an item is updated the [ID] column is no longer in the calculated column for that item. So, on creation: "IR-40-TheTitleIsHe...

SharePoint - How To Upgrade VSEWSS Solution From VS2005 to VS2008

Hi I have a MOSS solution successfully created in Visual Studio 2005 using VseWss 1.1 I have now tried to upgrade to Visual Studio 2008 to use VseWss 1.3 The upgrade did not raise any errors however now when I try to deploy I get the following error: The class id 00000000-0000-0000-0000-000000000000 exists in this Solution in both MyGl...

How to hide a custom field type from new column choices

I'm trying to figure out a clean way to hide a custom field type from the list of available columns when a user goes to add a new column to a list. I only want this field type to show up when a given feature has been activated (the feature could be site, web, or web app scoped for my purposes). One theory (haven't had a chance to try i...

Accessing controls on a sharepoint master page

Just wondering if you know how to accessing controls on a sharepoint master page in code at runtime, I using System.Web.UI.HtmlControls.HtmlGenericControl logout = (System.Web.UI.HtmlControls.HtmlGenericControl)this.Master.FindControl("logout_switch"); logout.Style["display"] = "block;"; Which seems to find the control but the change...

SharePoint problem while adding custom menu item in document library

Hi, I have written a feature(Site scoped) that adds custom menu items to the New Menu and EditControlBlock of a SharePoint 2007 document library. These menu items should show up only when the user has add and edit permissions for that document library. This works great except for one particular case where the user has only read permissi...

How multiple SPListItem's can share 1 workflow history?

Hello. I`v come across a need where I want to create multiple list items from within a workflow and be able to view workflow history from any of that item. The problem context: In a recurring meeting, Agenda items are added. Some items have "open" status and some "closed". Those who have open, have the ability (and probably will) conti...

Any good alternative for sharepoint ? Ofcourse opensource

We are a small company and would like to have a Content & Doc management (with version control, custom lists, workflow ,alerts,Feeds,blogs,wikis,forums,Good Integrated Search ) features which are most commonly found in SharePoint, we cannt have SharPoint for its Cost,complexity and High maintenance. Search feature which supports most co...