sharepoint2007

store data in a list definition sharepoint

I am creating a list definition that includes three columns that are look-ups off of other lists. I would like these look-up lists to be populated with some data when they are created but they also need to be editable by the site content managers. When I save a list as a list template via the list settings page it gives me the option o...

WSS Web Part password in Tool Pane

I have a password that I want to store as property in a Web Part that can be set via the tool pain. Currently it is a String and can be clearly read. How would I go about making it * out? If this is the wrong way to be doing this what would you advice to do instead? ...

How to get the URL for a SharePoint Discussion Board entry?

How do you retrieve the URL for a discussion board item? That is, the URL displayed when you mouse over the subject line (once the list has been added to the page as a web part). ...

properties.ListItem is null on event ItemCheckingOut

I am having the weirdest error. If anyone can give me hints, I've found nothing relevant with Google. When I hook the events on ItemCheckingOut on a Document Library (TemplateType=101) with 6 items inside, properties.ListItem will always be null for all those items. This never happened before. The problem seem related to the fact that...

How to allow Users to request access to a particular document in SharePoint?

I would like to create something in SharePoint that allows users to request access to particular documents and then for me to be able assign access for a period. Would this be possible in SharePoint? If so, how would i go about doing this? What must i use? Thanks in advanced! ...

Synchronizing Sharepoint and Active Directory Groups?

Not sure if this belongs here or on Serverfault. I have a Sharepoint installation and several Active directory domains. In each domain, I have some Security groups. I need to create Sharepoint groups that contain those Active Directory groups, but I need to inlude the actual users instead of just the security group. (So in I have Group...

Are WCF Web services compatible with Sharepoint?

I am trying to place a dataview webPart on a WSS page through Sharepoint designer, consuming a WCF Web service, buth when I place the WSDL of my Web Service, it gives me an error. I migrated the WS to ASP.Net WS and it work perfectly. The error is related to the Soap envelope. I am using anonymous consumption for now (don't want to ad...

How to Display SharePoint controls in ASP.NET Designer in Visual Studio 2008

How I can display SharePoint controls (such as the PeoplePicker) in an ASP.NET Page in Visual Studio 2008? I drag and drop the PeoplePicker but it gives me: Error rendering control. ...

Sharepoint - Fields appears twice on View / New Item

I have a problem in a SharePoint list - some fields appear twice on the Display form, New Item form and on the list settings page. Both fields have the same ID and the same property page (same URL), so hiding one hides the other. Using SharePoint Manager I can only see one field, but maybe I looked at the wrong places? Has anyone experie...

SharePoint list based on another SharePoint list

I have a list in SharePoint that contains several fields. I need to do some calculations on this list (filter and count) and display the results on a different page. We are currently using SharePoint 2007. I can't get what I need by creating a view from the list. I need to create a new list based on the first list to get the proper leve...

Can I create a COUNTIF calculated column in SharePoint?

Is there a way to create a SharePoint calculated column that returns a count of the number of entries in a list? So If I have 3 customers in my list with the company "Starbucks" I'd like the field to return "3" ...

In Sharepoint2007 survey, I need to show Question3 only if Question1 AND Question2=Yes

I need to create a survey on a Sharepoint 2007 site. In this survey I need to: (a) Ask everyone Question1 and Question2 (b) Show Question3 ONLY IF Question1=Yes AND Question2=Yes ...

Branching based on number of checkboxes checked in a SharePoint survey

I need to create a survey in SharePoint 2007. Question1 will have 7 checkboxes. I want to show Question2 only if 2 or more of those 7 checkboxes are checked. How can I do that? ...

How do I add attachments to MOSS list from WSS doc library?

Following a recent merge of companies, we are in the process of migrating documents from WSS off one server to MOSS on another, along with reviewing our filing structure. I've created a list which needs attachments adding to the new items when created, however these are presently stored on WSS as pdfs in a document lirary. If I browse ...

How to dynamically switch PageLayout and MasterPage of SharePoint Publishing page?

To improve both the editing and displaying experience of SharePoint WCM Publishing pages I would like to be able to switch to a special set of Masterpage/PageLayout when in edit mode. So in /_catalogs/masterpage I want to have: MyMasterpage.master - masterpage for display mode MyMasterpage-edit.master - masterpage for edit mode, only u...

How do I access the digital signature of an InfoPath form from a workflow created with SharePoint Designer?

I would like to create a workflow with SharePoint Designer that will run whenever an item in an InfoPath form library is modified that will check to see if the form has been signed. The form is a travel expense form. It will be created by a user, reviewed by an administrative assistant, and then approved or disapproved by the office ma...

Set list field permission

So you don't have programming privileges on a SharePoint Server but you can use SharePoint Designer. You create lists and you need to separate field permissions. You need fields that all can fill out and fields for administrators to fill out. How do you accomplish this without code? ...

Changing List's Column type from Lookup in Sharepoint

I am using the ilovesharepoint Lookup Field with Picker that is on codeplex on a Moss 2007 standard environment. I ran the setup project, and then in Powershell issued the appropriate command to change a Lookup field to the Lookup with Picker (ConvertLookupToLookupFieldWithPicker.ps1) which is shown below. # http://www.iLoveSharePoint.c...

How to migrate sharepoint 2 survey to sharepoint 3.0

I am trying to migrate surveys from an older sharepoint site to a new 3.0 version of it. I exported the old sharepoint surveys as spreadsheets and I know how to import the surveys as regular lists. But how do I import the spreadsheet data as an actual survey rather than a regular list? ...

Customized Sharepoint List Add/Edit page is slow to load

I have a list with about 3000 items in it. The editing page is taking forever to load but the rest of the site is fast. I thought it had to do with having a Lookup column on the page and using the multiselect drop down but after replacing it, I am seeing no difference. The page is about 118kb and take about 5 min to load. Any ideas o...