sharepoint2007

SharePoint 2007 navigation and removing its delay

In SharePoint 2007, there's a top nav that the user can hover over, which reveals a dropdown menu of subitems. When they remove their mouse from the dropdown, it disappears, but only after a short delay. This can cause problems, as if people are trying to click a link on the page somewhere, but the nav menu hasn't hidden itself yet, they...

How to upload a publishing page using features?

Hi, I'm trying to make a feature to upload a new publishing page in "Pages" library but it doesn't works the way I want. If I see the library using SharePoint Designer my publishing page appears, but it doesn't if I use Internet Explorer. In the feature I configure the properties: ContentTypeId, ContentTye, Author, Title, FileRef, File...

Ms SharePoint 2007 Template Customization

After downloading the free templates from Microsoft's site I want to combine some features of two templates together. For example, there is a "Contact Management" template and a "Marketing Site" template. Each template has its own "contacts section/form". Ideally, I want to use both templates on my SharePoint server while having them ...

How to Publish a SharePoint site on the internet

Hi I have a WSS SharePoint site that i need to deploy and publish to that Users will be able to access it through the internet. I know this is possible, but how do i go about getting this done? Does anyone have some good articles? Kind Regards Etienne ...

Web Part Not Showing In Add Web Parts Dialog...

I created a couple of web parts using the Visual Studio 2008 SharePoint Web Part template. However, when I deploy it says everything has deployed successfully but, when I try to add the web parts they are not available in the add web part dialog from within my portal... Any thoughts..? I did this with another web part project and didn't...

app pool identity - farm admin

The userid that is the identity of the application pool is also in the Farm Administrators group. Is that a bad thing? We started seeing some weird permission errors after this change was made (that userid was added to the farm admin group). ...

Should we use the SharePoint WF host for workflows that include external (to SharePoint) data sources?

We need to build a couple applications that require fairly advanced workflow functionality. The plan is to store the data in SQL Server, use Windows Workflow Foundation as the workflow engine, and build the frontend using an RIA technology such as Flex or Silverlight. We already have Sharepoint 2007 set up, and some of us (including me)...

SPFarm.Local.Solutions.Add - Exception - "Access Denied"

Here is my code snippet: SPSecurity.RunWithElevatedPrivileges(delegate() { SPSolution newSolution = SPFarm.Local.Solutions.Add(@fullPath); }); The stacktrace and innerexception give no further clues. The Exception.Source says Microsoft.SharePoint. SPFarm.Local.CurrentUserIsAdministrator() returns TRUE ...

sharepoint content type data driven

I'm creating a new content type for a sharepoint project (MOSS 2007). This content type (Letter Template) needs to contain meta-data that is driven from data outside of sharepoint like, template type (which we define in another db). How can I accomplish this in sp (aside from generating xml files)? ...

Add New Group - Access Denied error

We have a really strange problem. My userid is a farm administrator and it a site collection admin on the site in question. If I add a new group (to manage permissions), once I click the OK button on the create group page I get thrown to the Error: Access Denied page. Here's the strange part, the group gets created. If I try to add a...

How to get all WebpartZones on a page in Sharepoint 2007?

Is there any way to get all WebPartZones on a given page in MOSS 2007? By iterating over all the Webparts it's possible to get zones with webparts in, but empty Zones won't be included then. Using SPLimitedWebPartManager to get all WebParts on a page. This needs to be done from a Layouts page. ...

Random errors while downloading files from sharepoint

Hi, I am using Sharepoint 2007 to host Excel 2007 files generated by my App, so that internal clients can download them. However, I sometimes (and it seems random) the bigger files fail to download (Internet Explorer and Firefox claim the download was successful, but the size of the file is smaller than expected and it is not usable). T...

Sharepoint 2007 document management

We are developing a document management solution with Sharepoint 2007 and I'm having some issues figuring out a couple items with the structure. The documents are templates that are used to merge data into letters sent to clients. While the templates will be managed in Sharepoint, the actual letters that will be generated will be handl...

Web Part Deployed To GAC Not Working...

So, I inherited a VS project that has a bunch of web parts in it. The project had a key file with a password that no one knows what the password is. So, i created a new key file which obviously changes the PublicKeyToken... I thought deploying the new assembly to the GAC and replacing the old PublicKeyToken with the new one on the SafeC...

Sharepoint 2007 - read custom page field from webpart

Hi, How do I programatically read a custom page field from within a webpart (from the page the webpart is on)? Thanks Jon ...

Site Owner not able to move or copy Pages between two subsites?

I have users in the Site Owners group of a root site, trying to copy (or move) pages between Pages Libraries in two subwebs. The permissions of the subwebs are inherited from the parent, with no changes, so the Site Owners of the root are the Site Owners of the subwebs as well. When a member of the owners group tries to move or copy a ...

Properly implement a webpart with postback?

What I'm trying to do is to create a webpart that has a textbox where you can set the value of a literal (h2) on the webpart and a "save" button that posts back and then sets the literal accordingly. This works with one huge caveat; when the page loads after the postback the literal has not been changed. However if I log what is actually...

SharePoint 2007: Single Sign-on Anomaly

I have a Virtual Machine running the following: Windows Server 2008 SharePoint 2007 SP1 Exchange 2007 Dynamics Axapta 2009 I have started the Single Sign On Service and configured it properly. Central Administration is running on HTTPS bound to a specific IP address as a new site in IIS. When I click on the link to manage the...

Dynamic SharePoint Navigation Link.

Inside of SharePoint under site settings >> look and feel >> Navigation you have the ability to throw down some link entries for navigation. My question is is there any simple way short of writing a feature, to somehow make the links dynamic so that they will append the query string of the current page that is being viewed? Edit: When y...

Methods of running with Elevated Privilges in a MOSS Publishing Site

I am wondering why the two methods listed below do not give the same security trimming. Expected result: Both methods give full access to all content in the current site collection Actual result: Security trimming is occuring when using Method #1 Method #2 works properly for retrieving content from other webs, but Method #1 does no...