sharepoint

SPList.GetItems(view) returns an exception when attempting to get item title

When I try: using (SPWeb web = site.OpenWeb("/")) { SPList list = web.Lists["Blah"]; SPView view = web.GetViewFromUrl("http://foo.com/Lists/Blah/View%20Name.aspx"); foreach (SPListItem item in list.GetItems(view)) { writer.write(item.Title); } } item.Title gets me an ArgumentException. But when I just use...

In MOSS, can you add a Publishing Image field to an Announcements list?

Using Sharepoint MOSS 2007, I want to add a Publishing Image field to my Announcements list which I am using for news. Is this possible? Should I make a new list type that instead inherits from Publishing Page? Ultimately, I want to display the contents of this list using a Content Query Web Part. Thanks. ...

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

Sharepoint Wiki

We use TFS in our environment. Is there a way I can set up a Wiki under M$ Sharepoint? ...

Using SharePoint as a data source

I would like to create a C# ASP.Net application and query (read-on) information from our companies SharePoint site. Is this possible and if so how? ...

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

Access 2007 with SharePoint 2007

Hi! I have Access DB with One StudentTable. I have created multiple queries from that table then Exported to SharePoint Different Sites. Student table is exported to Site Collection. I added multiple records to Student Table that is uploded in site collection. Now My problem is - those new records don't get reflected to other list (cre...

Exporting and importing subscriptions to SharePoint-hosted reports that were created in SQL Server Reporting Services

I came across this question in related questions which basically asks the same thing. Is there a way of exporting and importing subscriptions to SharePoint-hosted reports that were created in SQL Server Reporting Services? Scenario: During report re-deployments, reports are deleted and re-created, and the associated subscriptions are de...

sharepoint and ActiveDirectory

Hi guys i am new to sharepoint . Actually we are using WSS not the MOSS 2007. we don't have shared service provider installed and no user profile service web service installed.Now I need to populate the active directory data to sharepoint list and after that I have to sync both Active directory and sharepoint list.which means the change...

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

Programmatically instantiate a web part page in Sharepoint

Is there a simple way to add a web part page to a Sharepoint site programmatically, using either the object model or web services? It seems straight-forward to create lists and add web parts in this manner, but I can't find an example of how to create a content page. Edit: For a plain WSS installation (not MOSS). ...

Sharepoint: Image field with a link

Hi All, I would like to add a field to a list with displays an Image, but acts as a hyperlink. In other words like the "Hyperlink or Picture" column, but "Hyperlink AND Picture" instead. Where the two fields you input would be the URL to the image to display, and the URL of the hyperlink. This must be possible. I notice that the Type...

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 to create a custom document library in SharePoint?

Howdy, I am wanting to create a Custom Document Library for the purpose of targeting a custom action feature to the Custom Document Library's New Menu. I have found many different guides on the internet, but you know how old those can be. So what would be the "correct" way to create a custom document library in SharePoint 2007. T...

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

Sharepoint- Inserting in a list subfolder

How can I insert a list item in a folder within a list, using list web services (UpdateListItem). The breadcrumb of the folder would be something like this. [My site] > [My list] > [My sub folder] I have tried with a CAML like this: <Batch PreCalc="TRUE" OnError="Continue" RootFolder="/Lists/MyList/MySubFolder"> <Method ID="1" Cmd...