sharepoint2007

Does anybody know if manifest.xml (wsp) has an intellisense for Visual Studio?

Hi, I've been searching for intellisense in Visual Studio 2005 or Visual Studio 2008 when editing "manifest.xml" file in a SharePoint solution (wsp) with no result. Does anybody know if there is something similar to CAML intellisense but for "manifest.xml" files??? Thanks. ...

Filter a Data View Web Part by "last 3 days"

We have a custom list that has a column called "Connection Date" and need to display the most recent list items (relative to this "Connection Date" column) in various places across the portal. the Data View Web Part appears to be the best solution, but I'm having difficulty finding the right method & syntax to filter by date. I can cre...

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

Edit .doc in Word via custom Document Library DispForm.aspx

Hi! I have a document library with a workflow that dynamicly sets user permissions to edit these documents when certain criteria is met. The users who need to edit these items are not the brightest users, so to make it failsafe and simple for them I am customizing the DispForm.aspx to only show 2 fields in the Document Library. "Docu...

Permissions problem using SyncToy to synchronize ClearCase with SharePoint 3.0

So I am trying to setup a simple one way synch from a dynamic ClearCase view over to a MOSS document library. I'm using SyncToy 1.4 as my sync tool and it seems to work fine when it's copying new documents from ClearCase to SharePoint but it's throwing an error when I try to overwrite a file with a new version or try to delete an existin...

Sharepoint List Definition that binds only to my Custom Content Type

Hi. I am developint a Sharepoint Solution, that implements a new list. This list has an event receiver attached to a Custom Content type. I am using VSeWSS 1.3 for this task and it's going ok (the content type gets created, a list is created and bound to the content type, the event receiver triggers successfully. My only concern is ...

Sharepoint Database Access within a domain

I have two servers in a domain. Web Server & Database Server. I have a number of standard .net websites accessing the SQL Server with no problems, using SQL Username/password combos for each database. Sharepoint configures the access as Integrated Security=True When I ran the Config wizard, I 'briefly' saw the Admin top-site. After a s...

Getting (Public) Internet URL for the Sharepoint Portal Site

I have a custom infopath workflow which allows users to submit expesne reports. Whenever someone submits an expense report in the Forms Library the workflow is initiated. The workflow checks the weburl and using a generic method creates a link to point to the workflow item and sends this link in a mail to the submitter and approvers. ...

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

What do I need to develop SharePoint applications?

I'm a .NET developer and I'm used to write standard WinForms and ASP.NET applications. In a few months I'll engage in a project that requires Sharepoint development. Problem is... I'm on ground zero regarding Sharepoint, and I have no idea how Sharepoint works. What software / tools do I need to have to be able to study and develop sh...

Programming with Sharepoint directory list Moss 2007

I'm working with c#, and creating a sharepoint application page for creating a custom site. It's in Moss 2007 Now i want to add the site to the site directory. For that i need to use de catagories of de site directory. How can i fix that? I need to use a dropdown for showing the site catagories. Thanks for your help ...

Cannot catch the SharePoint Access denied error

I am trying to access a sharepoint list programmatically in a webpart, like this. try { masterList = web.Lists[listId]; } catch(Exception e) { RenderExceptionMessage(e.Message); } The RenderExceptionMessage() method is supposed to show a user-friendly error message inside the webpart. But the problem is that I am not able...

Async thread dies in SharePoint web part

I wrote a custom web part for SharePoint 2007 that loads an existing user control. One of the things the user control does is an asynchronous upload of a file via FTP. I'm using a third-party FTP library that has BeginUpload/EndUpload methods for async file transfer. I also have an update panel in the user control that I use to display a...

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

Add a "Hyperlink" item type to a list using PowerShell in Sharepoint

I've been a SharePoint admin for a while, and now have been tasked with a bit more of a developer role - which I'm still very much learning. Most things I've been able to figure out on my own or through Google, but this one has me stumped. For one particular task I need to use PowerShell to script adding items to a list. Normally - not ...

Explicitly changing a connection string for MembershipProvider

I am using the following provider to look up users from ADAM. I would be able to like to change the connection string dynamically depending on the type of user. How can I achiev this? <add name="con1" connectionString="LDAP://con1.url" /> <add name="con2" connectionString="LDAP://con2.url" /> <providers> <add name="Connec...

MOSS 2007 site in a farm type initializer exception

We have some solution that we built against a MOSS farm one of which includes a timer job. This job has been working just fine for months. Recently the administrator enlisted another server into the farm, and our timer job automatically started running on this new machine. As soon as this switch happened our timer job started yielding th...

Exception creating type for an adapter in a Sharepoint website?

I have a website in Sharepoint 2007. I use control adapters, specifically an adapter for the menu and the login control. These two adapters resides in a signed assembly that it is deployed to the bin folder of the website. The browser <browser refID="Default"> <controlAdapters> <adapter controlType="System.Web.UI.WebControls...

CAML to show only Sites in Sharepoint 2007

I need to view only the available sites defining a CAML-structure view in the Content and Structure Reports webpart. I've tried using both Stramit Caml Viewer and U2U Caml Query Builder 2007 but they doesn't seem to support the objects I wan't to show (sites and subsites). ...

How can you make your custom property of a webpart in SharePoint 2007, sort to the top of the property pane?

In SharePoint 2007, is it possible to programmatically sort the custom property you created to the top of the property pane? So when someone edits your webpart it would show at the top, rather than at the bottom by default, so that the user wouldn't have to scroll to the bottom? Here's my code, for reference: private string _strMai...