sharepoint

Syncing profile details with active directory

Several fields in MOSS profiles are mapped to fields in active directory and we have given the user the ability to modify these. But when the incremental profile import runs it overwrites these with the old values from active directory. How do we make it so that AD is updated with the new values from the profile? Thanks for any sugges...

SharePoint Multiple New Item Forms

I've got a custom list with a custom content type. I'm aware that when you create a new item you can see a drop down for the different content types on that list which I assume all have their own NewForm.aspx somewhere. I can specify in the content type definition which columns are shown on the New form and that I can replace the new for...

~masterurl/default.master does not exist

Hello all, I try to create a custom webpart page. I tried a book example that start with : <%@ Page MasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, [full 4-part assembly name]" meta:progid="SharePoint.WebPartPage.Document" %> ....but no result.... Th...

How to determine if Toolpart is running inside SharePoint Designer

A web part can't use certain objects such as Page.Request as detailed in Best Practice to create designer friendly server controls when running in a designer such as SharePoint Designer. You can use the DesignMode property to determine if a web part is running inside a designer and act appropriately. However this doesn't seem to work f...

SharePoint Windows Workflow breaks when we deploy it

We have developed a custom visual studio workflow for SharePoint MOSS. It creates tasks for a document approval process and works fine on our development machines. We are using a main workflow activity and one custom child activity. We use binding on the properties to pass them throughout the workflow, all standard stuff for windows work...

JMeter with Windows Authentication?

I am using JMeter to load test some pages that reside in a SharePoint 2007 Site. The farm that contains the pages resides in a different domain than the machine running the test, and uses Windows Authenticiation. The connection to the server is over an unencrypted (non-SSL) connection. Because of this, I need to pass login credentials...

AJAX Control Toolkit Collapsible Panel in SharePoint

I am trying to use the AJAX collapsible panel inside a user control which is loaded onto a Webpart in an AJAX enabled SharePoint site. I don't have any issues with using AJAX overal but I am having issues with this control. When the page loads, it does not collapse and when I click on the link to collapse/expand it just blinks and won't ...

Programmatically determine authentication mode

Is there a way to programmatically determine if a SharePoint 2007 web application is using Forms authentication? I guess one way might be to read it from the web.config but I was wondering if there is some property exposed in the API. ...

Silverlight in BPOS SharePoint Online and communicating to on-premise service

I want to enable self-service for employees starting with the ability to update simple contact information into AD. The twist is that I want this as a web part in SharePoint Online as my company uses BPOS. Employees would log on, change their details and it gets back to the company's AD. Initial investigations have shown that you cann...

SPSiteDataQuery fails if field of type UserMulti is specified in ViewFields

Hello. I`m trying to query all task lists. I have modified default Task content type to allow multiple choices for Assigned To field (Internal name - AssignedTo). My SPSiteDataQuery fails if I specify <FieldRef Name='AssignedTo' /> (Returns no results) If I add Nullable='TRUE' then results are returned but AssignedTo field ends up bein...

SharePoint send an email to users specified in a Field

I have a SharePoint list of Issues and have set a column (called Alert) to a “Person or Group” (allowing multiple names). I would like the system to send an email to all the users listed in the Alert field, if the respective Issue is modified. How do I set the Workflow to send an email the users as specified by the data in the Alert...

How to determine if a Publishing Page in Sharepoint 2007 is actually published

Hi, Within a web part code I have got to transform a sharepoint website in a pdf document, I have completed this. There is an extention that needs to be done, where the PDF document is to only get the published pages. So I have a list of pages using the "siteMapnodeCollection" and getting the child nodes etc, how do I check that the p...

Multiple select drop down user control or field control

Hi, I want to use multiple select drop down user control or field control on my page layout and I want to pull list items from list and show it on page layout in Sharepoint.Does anyone is having idea how to achieve this. Thanks, PS ...

Can I read the search scope selected in SharePoint from code behind

I have a search box web part. In that web part I have created an instance of SearchBoxEx like SearchBoxEx par=new SearchBoxEx par.goImageUrl="" par.DropDownMode= DropDownModes.DisplayScopeDD; Button sear= new Button(); sear.Click += new EventHnadler(sear_Click); I have added a button to that search Box web part.Now I have to read the s...

invalid sharepoint session objects

Ok I'm new to SharePoint and ASP, so bear with me... I want to persist objects to the session array for maintaining stuff between postbacks. I enabled the session array in my web.config file, and everything works fine if I use basic value types or objects that are part of the .NET framework. But if I try and save an instance of an o...

Export custom Sharepoint List Definitions

Hi, I'm working on Sharepoint WSS3. Is there a way to export a custom list created via the web intarface to a list definition schema (schema.xml)? Note: Solution Generator that is Part of the SharePoint Extension for Visual Studio is not an options as it is not supported in 64x Systems. Thanks ...

Add Site and Page Description to SharePoint Search Index

Hi, As part of a SharePoint solution, the functionality for users to create new web sites and publishing pages (programmatically) via a button click has been added. I need to ensure that the Description field for the newly created sites and pages is indexed by SharePoint Search. What is the best way to do this? Please note, I am NOT in...

Multi valued profile property mapping to AD in Sharepoint

I'm trying to map my skills and responsibilities profile sections to one of the custom properties in Active Directory (extensionattribute1 , 2, etc). I'm entering comma seperated values in AD and it's importing the values fine but sees the comma seperated values as one value on import. i.e. 'C#,asp.net,javascript' rather than 'C#', 'asp....

Has anybody ever tried to screen scrape data from sites built with SharePoint?

Or at least could anybody point me to docs about its crazy proprietary url parameters and html field name obfuscation? I can only suppose this is caused by SharePoint... The main problem is, given a start page built with SharePoint, I can't recreate a form post with a programmative client because: field names vary, they are appended w...

Prevent Access to Custom Web Application Pages by Non-Admin Users in SharePoint

Hi, I have a custom web application that integrates with a SharePoint (MOSS 2007) solution. I would like to add role-based access to pages in this custom web application, with only users in a specified SharePoint group or with a specific role being able to access them. Other users being sent to the default OOTB web page, giving the mes...