Sharepoint Hyperlink / Picture column type
I am using the Hyperlink / Picture column type within a Document Library.
When entering the hyperlink, I am using a shortened path. However, after exporting this site to an stp, I realized that it was being stored as the full path (it was failing when the stp was used in another Site Collection).
As an example, I entered the following path: /SC/Images1/AdministratorUsers.png However, when viewin开发者_如何学运维g the entered docuemnt library item, I see this path: http://servername:port/SC/Images1/AdministratorUsers.png
How do I get around this limitation?
This is a bug, sharepoint saves only full urls. I circumvent this by storing all css and images etc in the root site(collection)'s style library. Even a publishing page's pagelayout url is stored as a full url, we had to create a tool to update all references when the site was moved to a new url / server...
精彩评论