sharepoint

Sharepoint Webart ProviderConnectionPoint is null always

I want to create custom web part that adds another provider and consumer web part. But i always get ProviderConnectionPoint as null. Can anyone please tell me how to write web part that can add other web parts in the page and also connect them. System.Web.UI.WebControls.WebParts.ProviderConnectionPointCollection providerConnections = ...

InfoPath forms on client vs. hosted in Forms Server / MOSS

Is there a definitive list of functional differences between InfoPath forms in the InfoPath client vs. InfoPath forms hosted via Forms Server? Talking to people who have worked with and deployed the technology before, they can't tell me anything specific except that more complex forms are not possible when you host them in Forms Server....

Sharepoint Calculated Field Function Reference

Is there a definitive list for all of the functions available for a Sharepoint Calculated Field? ...

Trimming DateTime format to Just Date format in CAML Query

I am trying to build a CAML query for SharePoint 2007 environment, to get items from a calendar list. Want to query items with a given 'From date' and 'To date', the calendar list contains 'EventDate' and 'EndDate' in Datetime format. I am only interested in the date part of the datetime field. How can I trim the "EventDate" DateTime fi...

Creating custom URL tokens in ASP.NET (a la MOSS)

In ASP.NET, the tilde (~) is treated as a token in URLs and treats paths prefixed with that as relative to the application root. This is well-known functionality. In MOSS, there are other tokens, such as ~sitecollection/mypath... which behaves in a similar way, but treats the path as relative to the site collection root. How is this acc...

SharePoint - Change Themes Style Sheet

I'm using the Belltown theme in a sharepoint portal and there are some styles that I want to change change in the Belltown stylesheet. I thought that I could just edit the theme.css file located at: C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\THEMES\BELLTOWN and restart the web server, but the styl...

Sharepoint default list item detail view

I have a webpart that renders random list items (from any list and list type) in a specified format. I want the items that are being displayed in the webpart to link to their ListItem detail views. However, I don't see a property on the list itself that would tell me what view is the default DETAIL view for the list (ie. blog list deta...

How to Deal With Fear of Custom Dev

I'm dealing with an issue with my current employer that has seriously made me consider seeking employment elsewhere. They are under the impression that 100% of custom development should be eliminated and replaced with COTS products, such as SharePoint. While I realize that this is not a realistic expectation, I've found it impossible t...

webservice oneway and new SPSite(myUrl)

Hi, I have a problem with a oneway web method that open a moss site (probably because in a oneway webmethod the context is null) Is possible to rewrite this code to remove the null reference exception? (without the oneway attribute i don't have the exception) [SoapDocumentMethod(OneWay = true)] [WebMethod(Description = "TestOn...

"does not contain" in CAML ?

Hallo, in CAML i can query SharePoint Listitems using the "Contains"-element - but there is no "does not contain"-element i could use. So what is the best way to get the items that do not contain a string? Is there a better way than to loop through each and every item? Thanks in advance! ...

SharePoint Search: Exclude lists and listitems from search results

Hi, I'm very new to the MOSS 2007 search and just started playing around with the configuration. At the moment the index contains nearly everything a site has to offer. After testing the search on my publishing portal I realized that many of the search results are not very useful for the users. E.g. the search results include entries ...

Adjust Sharepoint URL field length

Is there anyway to change the length of the field that Sharepoint uses to store URLs. Its default is 255, which is just not long enough to hold links to content within the sharepoint site. ...

How to Install Reporting Services Report Viewer WebPart?

I'm trying to use the Reporting Services Report Viewer WebPart with a project that I'm working on and I can't seem to get a clear indication on exactly where it comes from (or maybe I just don't understand?). This page indicates that it's "installed by the Reporting Services Add-in for SharePoint Technologies". However, I can't seem to...

How to speed up sharepoint development in Virtual PC?

I am developing sharepoint (MOSS) project in Virtual PC. Unfortunately virtual PC can utilize only one core of my quad core machine. Are there any tips & tricks which can speed my development process? ...

Moss 2007 SSP Error "Search application '{0}' is not ready."

I'm trying to fix a broken SSP on a MOSS 2007 site. The problem I am running into manifests itself as follows... In the SSP "Search Settings" page I get this message: The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also ...

IS CAML the only way to Query MOSS?

CAML is hard to learn, and dificult to use, is there a better way to get results from MOSS, besides using CAML queries? And not referring to the Web Services, which are slower, or the object model, which again is slower. ...

SharePoint (MOSS 2007) remove user

The bossman wants to know how to delete a user in Sharepoint. We've got him convinced that deleting a user is too difficult because of traces of that user through the system, so now he wants to be able to change the username to all Xs or somesuch. I've poked around the DB and found a couple of UserInfo tables, one in SharePoint_AdminCo...

SharePoint site security: how can I programmatically monitor changes?

I have a case where if a SharePoint site owner decides to break permissions inheritance and directly manage site membership, I'd also like to correspondingly modify view permissions on items in a specific list in the top-level site. How can I best catch those changes so I know when to apply the appropriate changes to the list items? I...

System Backup policy -- tell me what you think of this new company policy

We used to have a company policy that stated that we were to use an automated back up tool to back up the important directories on our workstations to network drives. I was just informed by one of our Architects that we were no longer allowed to backup our workstations to network drives, or even use our network drives. We have been instr...

Sandcastle -> Output to HTML -> Import to MOSS utility

I am about to write an import to MOSS utility from Sandcastle HTML output. Before I do this I would just like to ask if anyone knows of a tool that can already accomplish this? Oh and if the question gets closed for not being programming related, please just leave a comment. ...