SharePoint Designer \ Data Form Web Part context menu bug - Part 2
Posted
Friday, July 11, 2008 11:25 PM
by
Itay Shakury
Update: There a hotfix that automates this fix: http://blogs.microsoft.co.il/blogs/itaysk/archive/2008/11/18/sharepoint-designer-data-form-web-part-context-menu-bug-part-3.aspx
In one of my last posts I wrote about a bug that we found in SharePoint Designer's 2007 Data Form Web Part (DFWP), and how to fix it. (Look at the original post for a detailed description of the bug)
Microsoft Support guys has read that post and provided an additional tip for permanently fixing that bug. They have also confirmed my solution is correct.
Tough the fix that I suggested works great on existing DFWPs, here is how to prevent it from happening again:
- Go to the folder where SharePoint Designer 2007 is installed. Usually it will be: "c:\Program Files\Microsoft Office\Office12".
- Find the file CAML2XSL.XSL and open it in a text editor (I used Notepad).
- Look for the following peace of code (There should be only one occurrence of it) :
ddwrt:CurrentRights()
- Replace it with the following peace of code:
@PermMask
- Save the file.
That's it. The next time you will "Convert to XSLT Data View" context ,menus will be working as expected.