Why is SPD adding content to my file?
来源:互联网 发布:js设置style display 编辑:程序博客网 时间:2024/05/17 22:12
Question:
I'm using SPD to edit an HTML file that's in SharePoint (in a subfolder of SiteAssets). Later, I return to the file in SPD to find that the following content has been added to the file <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"><head><!--[if gte mso 9]><xml><mso:CustomDocumentProperties><mso:_dlc_DocId msdt:dt="string">2TTW66AP5EP2-4-16</mso:_dlc_DocId><mso:_dlc_DocIdItemGuid msdt:dt="string">99e55405-8ec0-4d75-950a-a29493433d06</mso:_dlc_DocIdItemGuid><mso:_dlc_DocIdUrl msdt:dt="string">http://www.contoso.com/_layouts/DocIdRedir.aspx?ID=2TTW66AP5EP2-4-16, 2TTW66AP5EP2-4-16</mso:_dlc_DocIdUrl></mso:CustomDocumentProperties></xml><![endif]--></head>
When you edit a file in SPD, the file automatically becomes "Unghosted". This (rather confusing) term means that the file has been "Customized".
The effects of this depends on what type of file you are editing. For example, if you are editing a Page Layout, the code that's added will literally break the page, since the content added will not be wrapped inside a (of the master page).
In your case, it may not cause any problems.
Here are some good references on Ghosted VS Unghosted and how to reghost files in case of need.
Ghosted VS Unghosted: http://www.a2zdotnet.com/View.aspx?Id=87#.T1a77YewauI
Disabling ghosting: http://blogs.msdn.com/b/steve_fox/archive/2010/03/08/ghosting-unghosting-in-sharepoint-2010.aspx
Reghosting (need to install a wsp with stsadm extensions): http://blog.falchionconsulting.com/index.php/2007/09/re-ghosting-pages/
- Why is SPD adding content to my file?
- Adding Content to a Document
- magento 1.9 Why is my wish list limited to one item?
- Why FreeBSD Is My Favorite *nix OS
- Why is my div's height zero
- Why Go is my favorite programming language
- Why is using BufferedInputStream to read a file byte by byte faster than using FileInputStream
- Adding version info to execute file
- Adding SVN Information to File Headers Revisited
- Find HorizSync VertRefresh rates to fix Linux display issue – Why my display is stuck at 640×480?
- Why won't MikuMikuDance load my AVI file background?
- Why Pascal is Not My Favourite Programming Language
- Why C Is Not My Favourite Programming Language
- Why is php not in my /bin directory??
- Why is XKeysymToKeycode() making all of my keys lowercase?
- Why model/view is preferred to widget?
- Why to do Strategic Policy Deployment (SPD)?——2014年中国CMMI大会Edmond Sung演讲纪实
- What is the best way to calculate a checksum for a file that is on my machine?
- vmware tools 怎么安装不上去啊 ?
- Hibernate自动建表的方法
- cloudfoundry居然开始收费了!
- vim中执行shell命令小结
- MySQL基本查询语句练习
- Why is SPD adding content to my file?
- C++和java多态的区别
- 在ubuntu 12.04 服务器版 安装openstack
- 美丽的英文诗句【2】
- STL中bind2nd的用法
- 微信公众平台PHP开发,学习资料
- 编程常用网站在线工具收集(一)
- 庞果英雄会 数组排序
- jQuery Validation详解