sharepoint

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

Inheriting Web Part from both ICellProvider and ICellConsumer

Hi there. What I'm trying to accomplish is to make a series of 3 web parts. One that acts as a provider, second - consumer of a first web part and at the same time a provider for a third web part, third web part - consumer of the second. When overriding the EnsureInterfaces Method the second parameter is InterfaceType and I'm able to ent...

Feature Activation Error(Cannot Add Dll to GAC)

Hi.. we have created a feature ,which have got 2 application pages. one is to activate the user control and the other one is for database configuration,for the database configuration the user have to give the .mdf and .ldf files to restore the database. For the restoration of database we have used microsoft.sqlserver.replication.dll, the...

MOSS variations problem with France french and Canadian French labels

Hi, I have an scenario similar to the one described in the next URL http://social.msdn.microsoft.com/Forums/en/sharepointcustomization/thread/12f1bd0a-b30e-4d4b-83b4-f2ef795f8071 Is there a way to have this configuration? Thanks, ...

Sharepoint ListView with content types problem

Hi all I have a custom asp.net form that I want to place a ListView control in it. The ListView displays items from a list that has three content types. I provide the ListID and the ViweId to the listView but I receive the following error: Cannot complete this action. Please try again. at Microsoft.SharePoint.Library.SPRequestInter...

Sharepoint Announcements List

Is it possible to create a announcements list so that when there is no announcements, it will display a "default" announcement ? ...

Versioning SharePoint binary Workflow ASPX task forms

Hello. As noted by some developers, workflow versioning is somekind of headache in SharePoint. I`m wondering is there a way I can version my aspx forms? For sure, i can version code behind assemblies, but if markup changes for any of my files in LAYOUTS folder? Is there versioning available for files or do i have to choose new filename...

How to update document's metadata in Sharepoint? (Linux -> WebServices -> Sharepoint)

Hi I managed to upload a file (crud PUT khe khe :) from Linux to Sharepoint. The absolute path of the file is: http://myhost/mysite/reports/2010-04-13/file.txt Now, I'm trying to add some metadata to the file: from suds.transport.https import WindowsHttpAuthenticated url='http://myhost/mysite/_vti_bin/lists.asmx?WSDL' n=WindowsHttpA...

Feature element repeatedly added with every feature activation/deactivation

This is a very minor behavior when compared with the entire scope, but it is one that I'd like to put a stop to. I have created a very, very simple SharePoint Feature. It has two elements in its manifest: an aspx webpart page, and an elements xml. I'll paraphrase my elements xml, which just adds a module, below. <Elements xmlns="http:...

Copying List Items from Master List to sub sites

I have a site which contains a custom list Master. I have a number of sub sites which contain copies of this list. When someone edits or adds a new list item to the master list, I would like all sub sites to be updated accordingly by an event handler which is associated with the master list. e.g. if item is added, add it to the list of ...

Determine the property name in a SharePoint Webpart for XML

I'm employing a custom webpart that is made by an unaffiliated third party. I've created a feature which adds this webpart to a page. It's working mostly fine, except that I can't figure out the name of a specific property that needs to be defined. I tried obvious ones that match the display name on the tool pane view, adding the company...

Insert an ajaxified Webpart into an existing MOSS site

Hi everybody, I need to code a webpart which purpose is to asynchronously fetch some documents and display them into an existing page. Unfortunately I have to face a lot of rescritcions and my struggle to find a solution seems useleess so far. 1) I cannot use Microsoft asp.net ajax 2) I must use Jsonp because the called service (page, w...

MOSS - Create folder with read only..

The following works. How do I add ReadOnly = true to this newly created folder (Item. Folder. ReadOnly) SPListItem myItem = properties.ListItem; SPList documentLibrary = myItem.ParentList; SPListItem folder = documentLibrary.Folders.Add(documentLibrary .RootFolder.ServerRelativeUrl, SPFileSystemObjectType.Folder, "My New Folder"); fol...

Can SharePoint column be changed from date/time to calculated date/time

I have a SharePoint list with a column that was originally defined as date/time and has been manually populated with date/time information. I'd really like to populate this column automatically based on the status of another field changing (e.g. =IF([theStatus]="Closed",[Modified]). When I edit this date field that I'd like to add the ...

Hide list Sharepoint temporarily with Javascript

Back again with a javascript question within sharepoint. I would like to hide a list temporarly while my javascript code is running. So lets say I have a to do list. Hide the list I run my javascript code (doesn't matter what it is, so plz don't ask). Show the list I know how to do it with a calendarview but not listview yet: HIDE C...

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

Setting ForceCheckout on an SPList

I'm trying to set the ForceCheckout property on an SPList item and it's just not taking. I'm calling the Update() command as required. All it should take, in essence, is the following two lines. $myList.ForceCheckout = $false $myList.Update() Any ideas why this isn't working? It's remains $true no matter what. ...

How do I create a KPI list programmatically in SharePoint?

I want to be able to create a KPI List on my MOSS 2007 installation via the object model. Is this possible? ...

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

Using SharePoint label to display document version in Word 2007 doesn't work when moved to another library

I am surfacing the Document Library version of a Word 2007 document by creating a Label ({version}) within the content type of the Document Library and adding it as a Quick-part Label in the Word 2007 document. This works great. The latest version always shows up when I open the Word document. I then made this Word document the documen...