moss

Alternative Hostname for an IIS web site for internal access only

I'm using IIS in Windows 2003 Server for a SharePoint intranet. External incoming requests will be using the host header portal.mycompany.com and be forced to use SSL. I was wondering if there's a way to set up an alternate host header such as <http://internalportal/&gt; which only accepts requests from the internal network, but doesn't...

Can I copy files to a Network Place from a script or the command line?

Is it possible, in Windows XP, to copy files to a Network Place from the command line, a batch file or, even better, a PowerShell script? What sent me down this road of research was trying to publish files to a WSS 3.0 document library from a user's machine. I can't map a drive to the library in question because the WSS site is only ava...

WSS/MOSS Book

I have been using Inside MS Windows SharePoint Services 3.0 by Ted Pattison to help me crack into WSS Development. It has been an excellent developer start, but now that I'm moving beyond I need some more referencey type of information. I would normally just use MSDN, but I find it severely lacking in some of the examples, for instan...

Editing User Profile w/ Forms Authentication

We're using Forms Authentication in SharePoint. When the account is created, the administrator can add some information, like name and address. But the required fields are username and email address. When a user goes to their profile page, all the fields are blank and they are unable to edit them. I have read a number of articles dis...

How to get out parameters working in SharePoint workflows

I'm trying to create a custom workflow action with an output parameter for error handling. Working from various examples, I can't get Parameter Direction="Out" to work. Everything seems right, but when I try to assign the output to the "error" variable in SharePoint Designer, it places asterisks around it and flags it as a workflow erro...

What's the best way to report errors from a SharePoint workflow?

I have a custom action in a workflow and would like to report an error to the user when something goes wrong. What's the best way of doing that? UPD: Ideally I would like to put the workflow in the error state and log a message to the workflow log. That doesn't seem possible. What's the closest I can get to it? I want to a reusable s...

Deploying InfoPath forms to different SharePoint servers

How do you manage deploying InfoPath forms to different sharepoint servers? Is there a better way to deal all the data connections being site-specific without opening the forms, editing the data connections and republishing for each environment? ...

Webpart registration error in event log

We created several custom web parts for Sharepoint 2007. They work fine-- however whenever they are loaded, we get an error in the event log saying: "error initializing safe control - Assembly:...". The assembly actually loads fine- Additionally, it is correctly listed in the web.config and GAC. Any ideas about how to stop these (Pha...

Dynamically display Edit Control Block menu item in SharePoint

I am trying to set up dynamic per-item menus (Edit Control Block) in SharePoint 2007. My goal is to have certain features that are available based on the current user's group membership. I know that the CustomAction tag that controls the creation of this menu item has a Rights attribute. The problem that I have with this is that the g...

Looking up document library items in a SharePoint workflow

I using SharePoint Designer to create a workflow. I'm trying to get at a subfolder in a document library in the "Define Workflow Lookup" dialog. There are two issues with this: 1) I can't look up items by URL Path. If I look up by Title, I can output the URL Path, but selecting by path doesn't work. What fields can/can't I use? 2) I ...

Can an audio object be embedded in an InfoPath form ?

Is it possible to embed an audio object (mp3, wma, whatever) in a web-enabled InfoPath form ? If it is, how do you do it ? ...

How to add a web part zone in SharePoint using SharePoint Designer

I need to add a web part zone to a wiki page. I'm opening the page using SharePoint Designer, but there doesn't seem to be an obvious way (such as a menu) to add a Web Part Zone. ...

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

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

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

Error 0x8007F303 occurs during printing of reports from MOSS using SRS viewer web part

When attempting to print using the SSRS Viewer Web Part in SharePoint I get the following error. An error occured during printing. (0x8007F303) The settings we are using in this box (production) are exactly the same as the settings in testing where this works perfectly fine. Anyone have any good ideas or faced this before? ...

Auto number column in SharePoint list

Hi, In a SharePoint list I want an auto number column that as I add to the list gets incremented. How best can I go about this? All the best Kieran ...

SharePoint Content Query Web Part

Hi, I have a content query web part that queries by content type against a site collection. I have grouped it by content type so I have: -- Agenda (Content Type) ----Agenda #1 ----Agenda #2 -- Report (Content Type) ----Report #1 ----Report #2 I would like to show a second grouping for site, so: -- Agenda (Content Type) ----This Site...

How do you customize the RSS feeds in SharePoint

In the early days of SharePoint 2007 beta, I've come across the ability to customize the template used to emit the RSS feeds from lists. I can't find it again. Anybody know where it is? ...