sharepoint2007

SharePoint workflow user

I have created a SharePoint workflow in visual studio , I have extended this workflow from the default SharePoint approval workflow as discribed here ( http://bit.ly/b8oJAp ) The workflow is running properly. Is there a way I can get the workflow to run in the context of the user instead of th system account? ...

Data in custom attribute not returned in UserProfile object in MOSS

I've created two new custom attributes in the UserProfile. When the service we wrote returns data about a specific user by using the UserProfile object, sometimes the data isn't returned, even though if we look at the user in SSP it look populated. Some users work; this is the first user we set up with data. I'm not sure if sometime i...

BDC Security Issues

We are planning to use BDC to read and probably write to a SQL Server content database on external server. I have heard that there are many security issues that you may run into or should be aware of before setting up BDC. has anyone faced or knows any security issues with BDC. Thanks. ...

SharePoint 2007 Force Culture and UI Culture

i'm developing a sharepoint portal, and i want to force a portal culture to 'pt-PT', i already installed the moss and wss language packs and i changed the web.config too with the following statment: but if i set the browser language to other language the controls change their culture (this only occurs in portal frontoffice, in backoffic...

Get the GUID of a WebPart in SharePoint 2007

I'm trying to emit some jQuery and other Javascript that will hide and show WebParts on a page. What I'd like to do is find one of two things: The ID of the table cell that contains the WebPart (i.e. MSOZoneCell_WebPartWPQ5) The WebPartID of the div tab of the WebPart that shows in the HTML (i.e. WebPartID="059611a7-adef-479e-bda9-fe57...

Difference Between STSDEV and VSeWSS 1.3 Projects

Some time back, I created two separate SharePoint projects in VS 2008; one using STSDEV, the other using VSeWSS 3.0. I want both of these projects to be created with VS extensions, but how can I tell them apart? The project files look very similar... ...

How to: Add custom Web Part Page in SharePoint 2007?

Hi, I would like to have a custom web part page in SharePoint 2007. I have an application that uses javascript to popup a new window with a web part page. Currently this web part page inherits the look and feel of the site (the default.master). I would like a web part page that i stripped down so that it is almost empty (I guess I still...

SharePoint Feature suggestion

I have written a feature(Site scoped) that adds custom menu items to the New Menu. it will create new documents inside the document library. Webpart is deployed in site collection. If he selected the new menu, url is redirected to my webpart. I have tried this by two way. I mentioned in as case 1 & case 2. But in the both cases i fail...

How do I manage permissions on multiple items in SharePoint 2007?

I'm relatively new to SharePoint and am trying to put a bunch of Word files (that were on our network file server) into SharePoint. We have set up a document library that, by default, gives everyone access to everything. This is the desired top-level permission set because most items will work well this way. The problem is that I hav...

Sharepoint how to get a list of Sharepoint specific fields/columns

Hi all: I have a list of fields/columns that comprises of Sharepoint specific fields/columns, my own custom fields/columns, and a bunch of custom fields/columns created by someone else (which I dont know what they are yet). My goal is to get the list of the fields/columnns created by that someone else. My first hurdle lies in how to t...

import spreadsheet error: "Automation server can't create object"

Hi, When importing an excel spreadsheet in Sharepoint, the following error pops up in a web dialog with the following message-"Automation server can't create object". What is wrong? does office needs to be installed to import spreadsheets or will installing the primary interop assemblies for Office fix this issue. Thanks ...

Make SharePoint 2007 List View read-only

I need to deploy a new List View for the standard List View Web Part in MOSS 2007 via the object model (the list already exists, a new view should be added). I need and want to make this list view read-only. This is because saving changes to the view would corrupt modifications made to Header/Footer. How can I do that via the object mod...

Lifetime management of lists and documents in Sharepoint

Hello: Can I do the following with SharePoint 2007: 1) Create lists (records) and document libraries with content that is in force for a certain amount of days and after that, they automatically expire? How? 2) When searching for words in a SharePoint site where there are lists and documents, SharePoint displays results similar to Goo...

Sharepoint and sending message with net send or msg.exe

I need to send messages to users when items are added to a list. My requirement is not to use email or IM application. Could I use MSG or Net send as a solution and if so can somebody give me some pointers ? ...

SharePoint 2007 Document Libraries vs. Folders

We are building a new SharePoint 2007 web site to replace our intranet website for the company I work for, and a common debate keeps coming up. Specifically, should we be using multiple document libraries (ex. 1 for each department), or one document library with multiple folders within (ex. 1 library with 1 folder for each department). ...

How to programmatically migrate Sharepoint Team Discussion Item

Hi all: I was wondering how can I programmatically copy all the discussion items from one Sharepoint team discussion to another? I have tried retrieving the team discussion items from an existing site as SPListItem. Although I could find the Team Discussion list, but I could not red the retrieved items by assigning them as SPListItems...

How to access SharePoint web part properties?

I have created a feature for SharePoint 2007 that has a web part. I have added a custom property to the web part like so: [Personalizable(PersonalizationScope.Shared)] [WebBrowsable(true)] [Category("My Custom Properties")] [WebDisplayName("ServiceURL")] [WebDescription("The URL for the Wcf service")] public string ServiceURL { get; set...

Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) in SharePoint Part 2

Hi all: Following this post which I posted some time ago, I now get the same error every time I try to rewire 2 web's URLs. Basically, this is the code. It runs in a LongRunningOperationJob: SPWeb existingWeb = null; using (existingWeb = site.OpenWeb(wedId)) { SPWeb destinationWeb = createNewSite(existingWeb); existingWeb.All...

Don't see Office 2007 document type in Sharepoint 2007

Hello, I just installed MOSS 2007 SP2 and configured my site. When I go to create a new document library, I don't see document types of Office 2007 documents? Would really appreciate your help on this :) ...

Accessing Sharepoint 2007 documents outside network

Hello, I just installed MOSS 2007 and configure it on a machine. The machine is not in a domain. When I try to create a new document in my document library (Server is on a remote location and my laptop is not a part of the domain), MS Word 2007 opens, asks me for login credentials 3 times and then disappears leaving me with a new blank...