sharepoint2007

SharePoint Transferring pages to Production

I am building an internet site, using my local machine as the development box (I have MOSS 2007 installed). I have a custom master page, packaged in a WSP, so I may use STSADM on the production server to install it. I have made some pages via SPD (on my local machine) and put them in the "Pages" gallery. What is the recommended way to ge...

Sharepoint sequential workflow error ( sometimes )

Hi there , My problem is We create 3 approval stage workflow with Vs 2008 for sharepoint 20007. This workflow finds managers from the active directory and assing one task for each manager. Sometimes , after second task creation , we have an error something like "workflow-XXXX cannot be started sharepoint workflow history. If this erro...

'currentCtx' is undefined

While trying to create/upload a document in a document library, Ie throws the below exception 'currentCtx' is undefined what it means and how to fix this? ...

SharePoint Deleting Custom Library

I made a MOSS 2007 custom document library. Now I want to delete it, I cannot figure out how to do it, is it possible? ...

Sharepoint 2007 : Saving Form data with page redirection using custom parameters.

HI Experts, After saving the form data I would like to REDIRECT to different pages based on the @Status value using the input type button. input type="button" value="Save" name="btnSave" id="btnSave" onclick="{ddwrt:GenFireServerEvent('_commit;_redirect={*Confirm.aspx?ID=1}')};" />* if @Status == "Draft" url = "draft.aspx ? ID = " ...

What are the methods for production deployment in SharePoint?

Why does Microsoft suggest using WSPs for production deployment in SharePoint? What are the other methods for production deployment? ...

Is there built-in method to tell if specific URL belongs to this SPWeb or other SPWeb?

Hello. I have a list of urls (content type usage url's). Now, content types are deployed across web's. I need to loop those content types and do some actions in each list, but opening new SPWeb instance every loop is too resource intensive. Is there built-in method to tell me if this URL belongs to certain SPWeb object? Example: SPWe...

What permissions does an approver need to edit and approve a document?

If an Approval workflow assigns a task to approve a document to a user, that user receives an email which prompts them to: review the document, and modify if necessary edit the task to show as approved Does being assigned the approval task automatically elevate the user's permission levels in order to allow them to carry these action...

SharePoint Custom JS file Best Practice

I made a custom master page. I also made a custom CSS file, which I uploaded to "Style Library". I link to this CSS file by: <SharePoint:CssRegistration name="<% $SPUrl:~SiteCollection/Style Library/coe/mainCOE.css%>" runat="server"/> Now I want to make a custom JS file, and link to it in the custom master page. 1. Where should I uplo...

How to Integrate rtwebparts webparts with sharepoint

Hi, I am new to PI(plant information)system and I would like to show PI data on sharepoint site. How to integrate the PI system with sharepoint and filter the PI content on sharepoint as per logged on user. We have multiple users to sharepoint and want to show PI data related to loggedon user. Thanks, Ratna ...

Render custom form / alter existing rendering template at runtime.

How do I create reusable custom new item form + preferrably, i don't want to tie this form to content type? I want to force render one hidden field (it could be render on the page, but make invisible or render on the page and display) and set field value programmatically (that's why it has to be rendered - to set it's value). Google has...

ContentType DocumentTemplate not found in a List

I have the following Feature: <?xml version="1.0" encoding="utf-8"?> <Feature Id="9A3C5D02-A2EB-4725-97F7-CDA6DE319F1B" Title="My Custom Types" Scope="Site" DefaultResourceFile="core" Hidden="TRUE" xmlns="http://schemas.microsoft.com/sharepoint/"&gt; <ElementManifests> <ElementManifest Location="Elements....

Overwriting the content from one MOSS content database to another

We have a content database on our live moss server. It contains one site collection with several sub-sites. I'm using the stsadm export command to produce a cmp file, then moving this to our test server in a different farm. I then want to import this content into the content database on our test farm, using the import stsadm command re...

Export Sharepoint 2007 Custom List as RSS File

Here's our scenario: We've created a sharepoint 2007 calendar on our intranet site We want to run a daily job to export a subset of the events to an rss file Another job will move the rss file to our public web site We have some funny restrictions where we can't simply publish the rss feed to the public. We have to go this export ...

core.js functions?

what is the use of MtgNavigate & MtgDelete functions defined in the core.js? when it will be used/called? ...

Changing Sharepoint site url programmatically

Hi all: I was wondering how can I change the site URL of a SharePoint site that has already been created? I can't do this since URL is a read-only field: web.Url = "something"; Thanks. EDIT: Some clarification on my cumbersome explanation... The URL I referred to was a SharePoint web site that was created programmatically in C#....

Regarding focusing on the web part on a site on sharepoint after clicking

Hi Friends, I have deployed 3 web parts on a site on Sharepoint server. In my 3rd web part, I have a functionality which needs a button click. Now when I click that button, the whole page gets refreshed and I have to scroll down to see the change that has happened due to clicking that functionality in 3rd web part. Is there any way by wh...

In Sharepoint I need to include a preview image for the screen of selecting layout for a new page.

In Sharepoint 2007, I have created a layout. As you know when the user creates a page he chooses a layout from a listbox. When you select a different element in the listbox, there is a preview image that changes on the left. I thought this was controlled by the node PublishingPreviewImage in the xml of the layout. I have verified that t...

Reset a page to site/feature definition programmatically?

I'm looking for a way to programmatically reset a page to that page's site/feature definition, without using SharePoint Designer. There must some sort of API that can do this, but my Googling around is coming up empty... ...

Sharepoint and Cross-Site Lookup

Hi all I have this scenario I want to build two sharepoint 2007 sites. One for customers info and the other for products and customers orders. Now the problem is that in the second site I need to reference the customers info from the first site but unfortunately sharepoint doesnot provide out of the box cross-site lookup. I did som...