Kentico CMS 7.0 Developer's Guide

Editing files using WebDAV

Editing files using WebDAV

Previous topic Next topic Mail us feedback on this topic!  

Editing files using WebDAV

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

After configuring your server as described in Configuration for WebDAV, users who meet the client-side requirements listed in the Requirements topic may start editing document attachments or documents using the File field (e.g. CMS.File document type) using WebDAV.

 

1. WebDAV editing of document attachments is possible in CMS Desk -> Content -> Edit, after selecting a document in the content tree and switching to its Properties -> Attachments tab. The Edit in client application (EditLayout) icon should be displayed next to each attachment whose extension is included in Site Manager -> Settings ->  Integration -> WebDAV -> Supported file extensions.

 

devguide_clip1328

 

2. The same Edit in client application (EditLayout) icon is displayed on the Form tab of documents using the File field (e.g. CMS.File document type) where a file with a supported extension is uploaded.

 

devguide_clip1330

 

3. Clicking the icon opens the document in a client application associated with the particular file extension (e.g. .docx documents are opened in MS Office Word). Try editing the opened file and save your changes using the Save button.

 

devguide_clip1329

 

4. Now close the client application and try to open the document again, either from the UI or from the live site.

 

devguide_clip0315

 

5. You should see that the file that you modified has been saved to the server and the version that you have just opened contains the modifications you made to it in the previous step.

 

devguide_clip1331

 

You have learned how document attachments or documents using the File field can be edited using a client application when WebDAV integration is enabled. Editing of any other file types in any other client application (e.g. Microsoft Office Excel, PowerPoint, Paint, etc.) can be performed exactly the same way - all you need to do is click the Edit in client application (EditLayout) icon, edit the file and save it in the client application. Transfer of the updated file to the server is handled by the CMS automatically.

 

Required permissions

 

For the Edit in client application (EditLayout) icon to be enabled, the Modify permission for the current document must be granted to the current user (or one of their roles) on one of the three levels described in Development -> Membership -> Permissions -> Document permissions.