Archive

Archive for the ‘Uncategorized’ Category

SharePoint updates hardcoded link html-tag in layout source code

September 7th, 2009

I recently stumbled upon a strange behaviour in a customers MOSS solution. We have inherited the support contract from another supplier, and I had to update their solution with a new front page template to be used for the different market sites, which in turn were linked from a global landing page.

Now, the upgrade went fairly well and all was in place after deployment except for one thing; the link from the landing page to their “global” market site was malfunctioning. The customer had created the new start page (named start.aspx) and renamed the old one to start_backup.aspx. The link to this page from the landing page was a hard-coded A HREF in the page layouts source code. The strange behavior is that SharePoint changed this hardcoded link in its database to lead to start_backup.aspx – It IS a ghosted layout, but I find it odd that SharePoint modifies it’s source. I had to open the page layout in SharePoint Designers designview and point the link to start.aspx manually to solve the problem.

peter Sharepoint, Uncategorized