moss-2007

SharePoint 2007 from scratch

Hi, I've got to get up to speed on Microsoft SharePoint 2007 over the next few months. I need to start from the beginning, so I need to know what it is and how to use it to build sites. Then I need to know how to develop using C# with it (web-parts and such). Can anyone recommend a good series of articles or books that cover the creati...

Is there a reliable way to find out last accessed date in MOSS 2007?

Site Usage report in Site Administration does not help. I also tried querying the SQL Db to read daylastaccessed but that would not help. 'GetUsageData' method of the Object model only reads data for last 1 month and the "Most Recent Day" value is not accurate. Also I want a report of the last 6 months. The search crawler too modifies t...

Adding Content Database with STSADM, but failing to connect to SQL Server

I'm trying to add a content database to my MOSS 2007 site, but I can't seem to connect to the SQL Server. I run the following from the command prompt: stsadm -o addcontentdb -url htt://testserver:101 -databasename WSS_ Content_MySite -databaseserver SHAREPOINT01 STASADM gives me this error: "An error occured while establishing a conne...

Item-Level Permissions (Edit only their own but, read everyones)...

I have a list which I've set item-level permissions on. I set it to allow users to read all items and only edit their own items... The issue is that if I do this then I can still edit all items... If I change it so that I can only read my own and only edit my own then it works as expected... Anyone have any thoughts on why this would...

Using JQuery autocomplete and external Json url in sharepoint 2007

I am trying to implement autocomeplete box in a custom webpart in sharepoint 2007. When i use a static file in same domain (for textbox with id f1) everything works fine but when I use a remote url that gives a json output (for textbox with id f2), it gives a Permission Denied error in javascript. In the final page following is the HTML ...

Adding a required field validator to a SharePoint webpart

I am writing a webpart for MOSS 2007. I need to validate a text field in that webpart, or which I am using th required field validator. I am creating the required field validator as follows: vldProjectError = new RequiredFieldValidator(); vldProjectError.ForeColor = Color.Red; vldProjectError.ErrorMessage = Resources.LABEL_PROJECT_ERR...

what are the best practices/strategies to handle session timeout in MOSS2007?

I have a MOSS2007 web application (created using publishing site template). In this app, user is allowed to add various items of interest. Those item of interest are saved in DB as a group. Thus each user has more than one group of interests. User is allowed to add/delete/edit interests within a group at will. My queries are as follows ...

Sharepoint: Calculated Column replace all spaces

Seems like it would be a simple thing really (and it may be), but I'm trying to take the string data of a column and then through a calculated column, replace all the spaces with %20's so that the HTML link in the workflow produced email will actually not break off at the first space. For example, we have this in our source column: fil...

Can MOSS's AssetUrlSelector browse sub folders in lists?

I keep getting a 'List does not exist' error whenever I try and use AssetUrlSelector to browse a subfolder in Microsoft Office SharePoint Server (MOSS). To reproduce this behaviour: Add a Summary Link Web Part and add a new link. Click 'Browse' this will open the AssetPortalBrowser.aspx dialog. Browse to a list that contains sub folde...

How do modify a form on a sharepoint site?

I have a task that I need to perform for a friend as a favor, to modify some forms on a MOSS/Sharepoint site to add some javascript to each form for some SEO tracking purposes. I've had a little bit of exposure to Sharepoint, but it is mostly by using the Sharepoint Designer 2007 tool. I am able to navigate to the site, and I can see t...

SharePoint Blog Template Master Page Branding

This may be a simple question, but I am having a problem with it. I have multiple publishing SharePoint sites & sub-sites with a customized master page. I now have a sub-site based off the Blog site template. The custom master page is not being applied to it. I checked to make sure the site's master page setting it pointing to the cus...

Exporting an SPGridView to a document

I have a webpart which uses SPGridView to render tabulated data. I need to provide a button in the webpart, which upon clicking will export the SPGridView into a document, preferably, an Excel Sheet or a Word document. How do I export the data from an SPGridView? ...

Considerations for Upgrading SharePoint 2003 to 2007

Thanks in advance! I was wondering if you SharePoint architects/experts out there could help me nail down the specifics and concerns around upgrading an existing SharePoint 2003 deployment to SharePoint 2007. I know this is general and vague and the steps/problems will depend greatly on the current SharePoint deployment. Any help woul...

How to change Virtual Directory Local Path for a MOSS WebApp?

I have a MOSS web site with its virtual directory in IIS. That VD maps to a folder in certain location in the C: disk. I need to move that folder to the same location but in the D: disk. If it were a common web app it is no problem, just change the "Local Path". But as it is a MOSS website... I think that this will break that MOSS webs...

ListTemplateOwner

I’ll keep it short and sweet. Does anyone really know what the "ListTemplateOwner" tag of the elements.xml's "Receivers" node really means? From Microsoft’s site: http://msdn.microsoft.com/en-us/library/ms431081(loband).aspx ListTemplateOwner: Optional Text. Specifies the GUID of the list template owner if the list template is regis...

Scope of a timer job feature

I am writing a timer job for the first time. I am following the examples that can be obtained by googling as my reference. In many such articles, I am coming across the timer job features being activated to the Site Collection level or the Site level. I feel this is weird, since there can be only one instance of a timer job for a parti...

sharepoint public form

Hi, I have a MOSS 2007 running a site that has a public facing form that any anonymous user can fill and save. But I require that only blank forms are visible to anonymous user and that the forms filled up by other users are not visible/accesible to anonymous users. For that I have a form library(form1) that is authentication-protected,...

Multiple copies of a Sharepoint list view

We have a Sharepoint website with a different page for each of our products and another page displaying a list of all our product release dates. You can change the view in this list so that only the release dates of a particular product are shown. Is is possible to have a list view showing release dates of one product show up on the ...

STSADM Command for Creating a Web Application

i'm scripting (as much as possible) a MOSS 2007 environment migration. i'm able to get most of it done using a batch file of STSADM commands, however, i'm unable to find an STSADM command to create a web application. Does one exist? ...

allowing anonymous user to save contents of a form in sharepoint doc library

I have moss 2007 configured for anonymous access. I also have a public accessible form created in infopath, which can be opened in a webpage and filled and submitted. However, an anonymous user is unable to submit the form after filling it. Submit action is supposed to save the form in a doucment library. I checked the anonymous permiss...