sharepoint

How do we setup a SharePoint dev environment with VSeWSS 1.2 and Source Safe?

Does anyone use the MS SharePoint Solution Generator and VSeWSS 1.2 in a multi-developer environment with source safe? We are having issues re-deploying (because it doesn't really upgrade the solution with stsadm). It keeps saying the same feature is already installed - which it is, but it should retract the feature and re-install it -...

Restricting Web Application usage when Licensing

Hi, I am just putting some finishing touches onto a Licensing solution for a Web Application I have created for SharePoint. I want to be able prevent the page from loading the Web Application Content when the license is invalid. I have tried the following... protected override void Render(HtmlTextWriter writer) { if (Li...

Customizing default.master in WSS 3.0

Does anyone know how to customize the master page (i.e. default.master) for a WSS 3.0 site? Actually, I already know how to customize the master page (i.e. via SharePoint Designer, or a text editor), I'm more interested in learning how to tell WSS 3.0 to use my customized master page. I've renamed the default.master with my customized ...

SharePoint Lists and Forms

For those using SharePoint or MOSS 2007 specifically. How do you handle forms? Like say you want a form that submits contact information. I don't have this in production yet but I'm currently creating a list for the form that I need and then modifying the list add item form as needed. I'm not sure how this will translate to a public anon...

Filter a Content Query Web Part using the values of another web part on the same page

I have a Content Query Web Part on my page that rolls up all the contacts lists from all the sub-webs in my site collection. this works fine. I'd like to be able dynamically filter the contacts rollup by having the user click on a list of leters of the aphhabet at the top of the page. click A and see the contacts that start with A, et...

Ceiling function in SharePoint CAML query

I am trying to create a custom view for a sharepoint list, similar to the one explained here: http://msdn.microsoft.com/en-us/library/ms916812.aspx I have a column which is a number field with values ranging from 0 to 100. I need to create a view style which will display an image in the column based on the column value, instead of dis...

SharePoint 2007 Remote File Access Denied CAS

I have code running in an ascx within PageLayout within SharePoint 2007 that accesses files on a remote server i.e. File.Create("\servername\sharename\folder\file.txt"). The code runs within a SharePoint web application that has CAS trust set to Full in the web.config. The File.Create throws the following exception:- System.Unauthoriz...

Customise a SharePoint List Form into Sections/Tabs/Pages

I have a SharePoint solution which uses a list with around 20 different pieces of data. I would like to be able to break these up into sections/pages/tabs so that the user experience in populating and editing these is not so poor. I know how to use SPD (SharePoint Designer) to customize list forms and was wondering if anyone knew of a ...

Changing values in Web.config with a Batch file or in .NET code

Hi I have a web.config file on my computer. There are alot of things i need to change and add in the file. (I am actually working with my SharePoint web.config file) Can i do this with a Batch file, if so how would i do it. Or how would i do it using VB.NET or C# code? Any ideas guys? Edit: i need to create a program to alter a web....

Search Center on SharePoint Publishing site

Can someone give me some directions on how to setup SharePoint Search Center so I can get results from the list and that they have some custom (modified) link? I have Forms authentication (and anonymous access) enabled with alternate access mapping. Right now in the Default zone I get results from the data in lists and they all point ...

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...

How do I remove the "Personalize this Page" option in WSS 3 with feature code?

How can I remove the "Personalize this Page" option in WSS 3.0? I'd like to do it in code with a feature at the web application level if possible. ...

Move MOSS 2007 Sharepoint Site to a New Server

I have a MOSS 2007 site hosted on a server. I would like to move it to a new server, databases and all. When looking for help, people generally say, "Just a run a backup, install MOSS on the new server and perform a restore." Is that good enough? I can't seem to get it to work. What kind of options do I need to select when installin...

Review request and expiry notification emails for scheduled publishing pages

I'm currently running a publishing portal in a small server farm environment. Using the page settings and schedule form for publishing pages we have configured our content to 'send a content review request mail to the page contact'. We've tried a number of different configurations for the frequency of the emails but no matter what we sel...

Get the pages of a multipage meeting workspace

Hi, I currently do some testings on the multipage meeting workspace template to check whether it fit our needs to be the base template for our projects. As you might know, a multipage meeting workspace is designed to be able to manage several dates within a single workspace and to display either pages that are only related to a certai...

Fba roles with SharePoint user groups

I have built custom Membership and Role providers. Users are some clients that belong to the company and I am using Company as a Role. I would like to create SharePoint Group and add more companies to it (for example type of industry) and then do redirecting and security by the SPGroup. How do I retrieve SPGroup for the current logged...

Deploying CAS policies in Sharepoint using the solution framework

Hi, I'm deploying my web parts using the sharepoint solution mechanism. Untul now, everything worked fine, but when i added CAS policies to the manifest.xml file, the deployment doesn't work as it should. When deploying the solution with the CAS policies, there are no errors, but the policy file isn't created, the dll isn't copied, an...

Workflows -Conditional Branches

I'm creating a workflow for a form. Form is an approval form that requires 4 approvers or rejected. I can get the approvals to work but not the rejections. I'm using Designer 2007. My work flow looks like this: Step 1: Condition: If Created equals created Action:Email to notify all approvers. Step 2: Condition: Else If TomR equal...

Missing MOSS 2007 Functionality?

I've installed MOSS 2007 a number of times, but I always run into the same problem. The installation goes just fine, but MOSS seems to be missing functionality. In the Administration page, clicking the 'OK' button in Create or Extend a Web Application does absolutely nothing. Also, clicking certain links evoke no response either. I...

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...