FileProvider icon indicating copy to clipboard operation
FileProvider copied to clipboard

Could you add documentId parameter for webdav files?

Open Egor-Veremeychik opened this issue 7 years ago • 2 comments
trafficstars

Could you add documentId parameter for webdav files?

Egor-Veremeychik avatar Aug 30 '18 08:08 Egor-Veremeychik

Hi, I didn’t see that in rfc documentation and I don’t think this is part of standard.

However, you can subclass WebDAVFileProvider and override url(of:) and relativePath(of:) functions in order to implement you custom path conversion to url and vice versa.

amosavian avatar Aug 30 '18 09:08 amosavian

Sorry for misinterpretation. I thought you are talking about passing document id as path.

amosavian avatar Aug 30 '18 09:08 amosavian