sharepoint2007

Printing Reporting Services in a page throught Javascript

I Have a PerformancePoint Server 2007 Dashboard in a Sharepoint 2007 page. In my Sharepoint page, there's 2 Filters who get passed to the Report, and I need to print this report in the page (in another button, not the SSRS one). So what I need is a javascript method that calls the SSRS print button, which is on a named DIV, insid...

How to track folder permission event?

Hi, This is about folder level permissions. We have a document library with break inheritance. While adding folders, sub folders through code, again we coded for break inheritance. Now the requirement is, when a user/group is added to subfolder permission list, we need to track this event. Which sharepoint event do we use and on what le...

How to get Site Template Back?

Hi Everybody, I have saved a site as tempalte (i.e. MyMarketing.stp) and added to sharepoint server using stsadm addtemplate command and after few days lost MyMarketing.stp file. Now it is available for creating top level sites as well. I want to get this site template back as MyMarketing.stp file. Is it possible to extract it from the...

Different Uses of PowerShell With SharePoint?

Hi, Following the release of SharePoint 2010, there has been renewed interest in using PowerShell to manage SharePoint solutions. I'm interested in finding out how my peers are currently using PowerShell with SharePoint, either 2007 or 2010. For example, I use a PowerShell script to determine the number of sites, sub-sites and page...

Upgrading moss 2007 to 2010 timer job error

hey everyone Ran an upgrade of SP2007 to SP2010. All runs through well but then the error log reports: [OWSTIMER] [SPUpgradeSession] [ERROR] [4/26/2010 8:16:52 AM]: Upgrade [SharedResourceProvider12 Name=SharedServices1] failed. [OWSTIMER] [SPUpgradeSession] [ERROR] [4/26/2010 8:16:52 AM]: Inner Exception: There are no online service i...

Lookup site column not saving/storing metadata for Office 2007 documents?

I'm having this issue on several server environments. We have a list at the site collection root. There is a site column created as a multi-value lookup on that list's Title field. This site column is used in document libraries in subsites as a required field. When we upload anything but an Office 2007 document, the user is presented...

Using Microsoft.Reporting.WebForms.ReportViewer in a custom SharePoint WebPart

I have a requirement where I have to display some data (from a custom db) and let the user export it to an excel file. I decided to use the ReportViewer control present in Microsoft.Reporting.WebForms.ReportViewer. I added the required assembly to the project references and I add the following code to test it out protected override vo...

Wizard based feature install in sharepoint 2007?

I have a feature that gets installed using a WSP package, when the feature is activated, I would like the following to happen: The feature will contain a list definition. When the feature gets activated by an end user (the user physically clicks the feature activation button in site features admin) - I would like a modal dialog to app...

What is difference between "Office SharePoint Server Search" and "Windows SharePoint Services Search "

Hi, I have MOSS 2007 environment with multiple WFE servers. can any one know what is difference between "Office SharePoint Server Search" and "Windows SharePoint Services Search ". Which service i have to start ? If i have to Start "Office SharePoint Server Search" then what is the meaning of giving "Windows SharePoint Services Searc...

Site theme specific to sharepoint site collection ???

How can we restrict a site collection and its subsites to a particular site theme or set of themes? ...

What is the best way to migrate documents into Sharepoint (MOSS) 2007?

I'm working with a customer that needs to migrate documents from their current document management system (not Sharepoint) into Sharepoint MOSS 2007 retaining document history and metadata. I've written a proof of concept using the Sharepoint web services and that looks promising, but the snag so far seems to be programmatically setting...

Custom field not showing in Custom Content Type

Hi all: I created a custom column in a custom content type in a Sharepoint Web manually (e.g. /MySite/MyWeb). I now want to programmatically copy this content type across to another web (e.g. /MySite/MyWeb2). However, upon looping through the custom content type in code, I could only find 2 fields: Content Type and Title (expected: Ti...

How do I point a ListFieldIterator to a subweb when ControlMode = Display?

I have a custom page with the following ListFieldIterator: <SharePoint:ListFieldIterator runat="server" ControlMode="Display" OnInit="listFieldIterator_Init" /> Here is the Init event: protected void listFieldIterator_Init(object sender, EventArgs e) { ListFieldIterator listFieldIterator = sender as ListFieldIterator;...

How to use the SharePoint object model to create groups on a current site level instead of the top site level

Is there a way to programmically create groups, roles on a current site level, instead of creating it on the top level site? Thank You, ...

Difference between FieldLinks and Field in Sharepoint

Hi all: I'm in the middle of trying to copy a custom content type from one web to another. I've googled around and found some examples that use FieldLinks and Fields. I'm kind of lost as to which one to use, since when I get the FieldLinks from my source web, I get 3 fields; while retrieving from Fields only returned me 2 fields... th...

Could not load Assembly 'Microsoft.Office.Server.Search'

Hi I have got following error: "Could not load file or assembly 'Microsoft.Office.Server.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. An attempt was made to load a program with an incorrect format." Does anybody know solution for this? or Does anybody gonn t...

Registering a piece of script across all the SharePoint Pages

Hello all I've a business requirement in which i need to create a SharePoint feature which registers a JavaScript across all the SharePoint pages. The only way i figured out to achieve it is that adding the script in (all) the SharePoint Master Pages or any other custom master pages present in the Site/Site Collection/Web Application w...

SharePoint - DIP problem on local copies downloaded from the portal

Our users have issues where the Document Information Panel(DIP) appears on Word, Excel, PPT documents. Here is the scenario: User downloads a copy of a template from the portal to his/her local hard drive. User edits that template and renames the file, again saving it to his/her local drive. User continues to edit and upda...

How can I stop SharePoint from appending <mso:CustomDocumentProperties> to my output

I'm trying to hack together an extra feature on top of a POC (smoke and mirrors demo). The POC is on SPS 2007 and I need to integrate with another system. To facilitate part of this, I need to provide a JSONP endpoint. I want this URL: http://sharepoint:2024/Pages/SomeExternalSystem/Payload.aspx?callback=abc To return this: abc({ s...

Sharepoint global audience does not contain members

I am using FBA for my Sharepoint 2007 publishing site. I write code to add user profile for FBA users (providername:username) and create custom properties. Then at SSP I create a new global audience with property-based rules to target my users. After compiling the audience, I found no member in the audience. I do not use AD at all and n...