sharepoint

Web Frontend for ASP Membership / User Management?

Is there any product out there that allows for the management of users using a standard asp.net membership database? I'm looking for a web frontend user management system. ...

Sharepoint : Event Receiver : Item Adding

Anybody used the "ItemAdding" method successfully in an Event Receiver in Sharepoint for validation? I think it just can't work properly for validation purposes because it seems that : You can't access the data you just entered in a form If you add an error message, instead of displaying the form back with your error, Sharepoin...

Can I have a custom document workspace for documents in a document library?

Is it possible to have a custom document workspace for documents created in a specific document library? I don't need every document library to have this custom workspace, just a single document library. For example, assume there is a "Movies" document library. I'd like to have a customized document workspace for any documents created...

Sharepoint - Passing parameters in URL to NewForm.aspx

Any suggestions would be great. I've inherited a system and have been requested to add a context menu item to allow the ability to add a new item. I've set up the context menu with the new option and the newform.aspx to accept and pull parameters from the url for populating some fields. The context menu was created with the content edi...

Problems with silverlight and sharepoint restored site, help!

Hi there, well i had a site in sharepoint with silverlight web parts, they all woked fine until i restored that site in another server, and now silverlight web parts are blank but show the silverlight menu, i tested silverlight in the same server in another sharepoint site and it worked fine, also i checked the web.config all looks ok, w...

How can I edit a web part's .css file on the fly in MOSS 2007?

I have a web part that is installed using a feature. This web part has a css file that is deployed and I need to tweak it, but can't find it anywhere. I suspect it might be in the SQL Server DB. So how can I find it, edit it and see changes on the fly? Thanks. ...

MOSS - get site usage summary by code

I want to build a WebService that shows two columns: User Name , Url. It will be a list of all the entrances to my sharepoint site. I think to use the "MOSS usage service", are there any articles about how to get to the service's data? or maybe I need to deal here directly with the IIS ? ...

Sharepoint custom list, dynamic field?

Hey guys, just wondering if their is a simple way to create an Item in a custom list but i need that item to be dynamic. The user can click add more to get another field that would hold the same type of data an unlimited amount of time. If i could even just add an excel spreadsheet type of field that would work also. But excel wouldnt n...

Changing SPList Inherit Parent Permissions property using C#

Hi, I have a Document Library for which I need to add a user (SPRoleAssignment object). But since the SPList inherits the Roles from the parent web, it does not allow me to add for this SPList object alone. To add SPRoleAssignment object to this list alone, there is an option in UI, to create a separate copy of permissions for this SPLi...

How to enumerate all webs and data in a SharePoint site collection

What is the best way to enumerate all SPWebs in an SPSite and also to enumerate folders within document libraries within each of the SPWebs? (essentially I want to find out the urls of all SPWebs, and the number of folders and amount of data being stored in each). I have achieved the above in C# using the SharePoint API but that takes a...

Weird security error in SharePoint forms library

Environment Microsoft Office SharePoint Server 2007 SP2 running on Windows Server 2003 R2 SP2. The MOSS server is a standalone server on a domain used for outward facing boxes. It has a one-way trust with our production domain. InfoPath 2007 SP1 is being used to author the forms. Scenario 1) I have a web-enabled InfoPath form that I ...

SharePoint - all day events behave differently in CAML query

In a SharePoint calendar list I create two events w/ today's date. One I make an all-day event, the other I set the start time to be 12 AM and the end time to be 11:55 PM. When I create a CAML query (in this case w/ "U2U CAML Query Builder") I'm seeing some weird behavior. When my query is a simple "OrderBy" both events are returned. ...

Sending HTTP Headers with HTTP Web Request for NTLM Authentication

I want to login to a Sharepoint portal which brings up a login dialog but is using NTLM authentication. How can I modify the HTTP headers in C# to make a successful login request? I assume I would need to make a HTTPWebRequest to a page within the logged in section of the portal and post the HTTP headers collection alongside this? ...

How to programmatically modify Sharepoint content properties from InfoPath?

I have an InfoPath form that submits to a Sharepoint document library. There is some metadata that is accessible through the "Edit Properties" menu if you click on the uploaded form in the document library. To be specific we have 3 fields: Content Type, File Category, and File Sub-Category. I want to be able to set these fields automa...

Approach For Syncing One SharePoint List With One or More SharePoint Lists

What would be the best approach or strategy for configuring, customizing or developing in SharePoint a solution that allows me to keep one or more SharePoint lists in sync with a SharePoint list I have designated as a master or parent list. I would like to be able to create a master/parent list of some information that can be extended ...

Sharepoint 2007 Web Part Exception Handling for Missing DLL references

I know that you can wrap problematic code in a try/catch block to prevent an error from taking out your webpart. But what can you do for missing references/dlls? Is there anyway of catching those errors before they blow up your SharePoint page? ...

Retrieve a list of web parts on a page

I am trying to get a list of webparts deployed on a web page in sharepoint 3.0. Is there way I can retrieve it from sharepoint content database or can I do it programmatically? ...

What's a good strategy for exposing fatal IFilter problems to the user?

How do I expose errors that occur inside an IFilter to the user? The IFilter can be loaded by a variety of Microsoft products, server products like SharePoint included. It will be separated into modules one of which is an NT service for handling indexing huge files, connection will be performed via RPC. So just anything can go wrong - p...

SharePoint custom web service consumption problems - HTTP 401: Unauthorized

I have a custom web service deployed into WSS 3. It has two web methods. The first one returns the version of the loaded assembly without any invocation of the SharePoint objects. The second returns some basic info about the library, something like: var spLibrary = [find library logic]; return spLibrary.Name+"@"+spLibrary.Url; In the...

SharePoint attaching the debugger

Whenever I try to attach the debugger to my SharePoint project it is taking 5+ minutes to actually attach. Does anyone know of a way to speed this up? ...