sharepoint

How to use the SharePoint MultipleLookupField control?

I want to use the MultipleLookupField control in a web page that will run in the context of SharePoint. I was wondering if anyone would help me with an example, which shows step by step how to use the control two display two SPField Collections. ...

Conditional Display in ASPX Pages on Sharepoint

Hello, I wonder what the best practice for this scenario is: I have a Sharepoint Site (MOSS2007) with an ASPX Page on it. However, I cannot use any inline source and stuff like Event handlers do not work, because Sharepoint does not allow Server Side Script on ASPX Pages per default. Two solutions: Change the PageParserPath in web.co...

How to display line breaks in SharePoint comment history field

We have a SharePoint list setup with history enabled so the Comments field keeps all the past values. When it displays, the Comments field is void of all line breaks. However, when SharePoint e-mails the change to us, the line breaks are in there. The Description field also shows the line breaks. So, something must be stripping out the...

How do I read/write Person metadata from a Word doc stored in SharePoint using VBA or VSTO?

Scenerio: Document library in SharePoint with column x of "Person or Group" type. From within a VBA macro (or VSTO add-in) we're trying to access the MetaProperty on the document to set/get the user name. Any attempt to access the value via the ContentTypeProperties collection throws a Type MisMatch error (13). The Type property of th...

Customize the Sharepoint add list column page

I have defined a custom Sharepoint list for special attributes related to a software application inventory and installed it as a feature. I also want to group these attributes in categories. How could I change the Sharepoint page that allows the user to add a column to a list, so that when the user adds a column to my custom list type (c...

Information Management Policy in SharePoint

An obscure puzzle, but it's driving me absolutely nuts: I'm creating a custom Information Management Policy in MOSS. I've implemented IPolicyFeature, and my policy feature happily registers itself by configuring a new SPItemEventReceiver. All new items in my library fire the events as they should, and it all works fine. IPolicyFeature ...

SharePoint Infrastructure Upgrade - whoops

I applied the MOSS infrastructure upgrade w/o applying the WSS one before it -- uh, help! ...

Sharepoint scheduling with SSRS issue.

I have some scheduled SSRS reports (integrated mode) that get emailed by subscription. All of a sudden the reports have stopped being emailed. I get the error: Failure sending mail: Report Server has encountered a SharePoint error. I don't even know where to start to look as I can't get into SSRS and my Sharepoint knowledge is lackin...

What are some good SharePoint security resources?

I've got a SharePoint application and I'm sad to say that in my SharePoint-induced excitement, I ignored a lot of the security concerns I should have been paying more attention to. Though we didn't before, now we actually need granular security, so I need to get educated. I'm mostly interested in how to best create groups and add users...

Can a STP template be hidden from subsite creation page?

When a template is added using the addtemplate stsadm command, it becomes available to everyone when creating a subsite. Is there any way to make it only available when a site collection is being created? ...

SharePoint stream file for preview

I am looking to stream a file housed in a SharePoint 2003 document library down to the browser. Basically the idea is to open the file as a stream and then to "write" the file stream to the reponse, specifying the content type and content disposition headers. Content disposition is used to preserve the file name, content type of course...

How to properly link your a custom css file in sharepoint

I've created a custom list, and made some changes to the way the CQWP renders it on a page by modifying ItemStyle.xsl. However, I'd like to use some custom css classes and therefore I'd like to link to my own custom .css file from the head tag of the pages containing this CQWP. So my question is, where to do put my .css file and how do ...

SharePoint: Using RichHTML field type in a custom content type

Hello, I'd like to use the field type RichHTML in a custom content type that I'm making. However, I think that the RichHTML type comes with MOSS Publishing so I'm unsure how to add it to my content type. Right now I've tried with this: <Field ID="{7F55A8F0-4555-46BC-B24C-222240B862AF}" Type="RichHTML" Name="NewsBodyField" DisplayName="...

SharePoint Permissions

I would like to create a folder that users who do not have privileges to view the rest of the site can see. This user group would be granted access to the site, but I only want them to be able to view one particular page. Is this possible to do without going to every single page and removing the new user group's access? ...

BOM not expected in CF but sent by IIS/SP

I'm trying to consume a SharePoint webservice from Coldfusion via cfinvoke('cause I don't want to deal with(read parse) the SOAP response itself). The soap response includes a byte-order-mark character(BOM), which produces the following exception in CF: "Cannot perform web service invocation GetList. The fault returned when invoking the...

Retrieving the associated shared service provider's name?

How do you programmatically retrieve the name of a shared services provider that's associated with a specific Sharepoint web application? I have a custom solution that needs to: Enumerate all web applications that it's deployed to Figure out the Shared Services provider that each of the web applications is associated with Access a Bus...

Sharepoint 2007 with MS Office 2007 footers

We had a need for a document management solution and were hoping SharePoint 2007 would satisfy our needs. We felt our needs were relatively simple. We needed to manage versioning, have searching capabilities, and having an approval workflow. SharePoint handled these three aspects great out of the box. However; we also require that t...

Getting user photo from SPUser using WSS Object model

I'm trying to retrieve a user on sharepoint's user photo through the WSS 3.0 object model. I've been browsing the web for solutions, but so far I've been unable to find a way to do it. Is it possible, and if so how? ...

Easy way to create a form to email in SharePoint without using infopath.

Does anyone know a good way to do this? I need to have simple forms that submit to email without writing a lot of code. These forms will be hosted in content-viewer web parts or similar in MOSS 2007. I'd like to avoid using InfoPath. ...

What kind of CAL do I need for Sharepoint?

I'm looking at setting up a Sharepoint server for my small group of co-workers. I'm confused as to what I need to do to ensure we're licensed properly. We are planning on using the Sharepoint Services that is baked into a standard Windows Server install, not the Office Sharepoint, does each user need a specific Sharepoint CAL? ...