Hello guys!
I'm facing problem with SharePoint 2010 Enterprise and got no clue how to solve it.
What I want to do is to open "*.txt" (which is placed to "Documents Library") in "Notepad", so I could edit it and save (publish) directly to SharePoint from "Notepad".
If I upload any Microsoft office File, such as "*.docx", "*.xls", etc - it works as it should - document opens in appropriate application and everybody is happy.
But, when I create documents library, put some "*.txt" file there and click on it - it opens in new browser's tab as text, so I cannot edit the file.
What I tried to do is to activate feature "Open Documents in Client Applications by Default" - not happy.
Edit "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML\DOCICON.XML" - I've modified "txt" entry as follows:
<?xml version="1.0" encoding="utf-8"?>
<DocIcons>
<ByProgID>
...
</ByProgID>
<ByExtension>
...
<Mapping Key="txt" Value="ictxt.gif" EditText="Notepad" OpenControl="SharePoint.OpenDocuments"/>
...
</ByExtension>
<Default>
<Mapping Value="icgen.gif"/>
</Default>
</DocIcons>
Still not happy.
So, how do I make this stuff work?