1 person found this helpful
Thank you very much for using Adobe Drive.
Usually, to debug a connector, you can follow 'Getting Started' -> 'Step 1: Setting up the Eclipse development environment' section in Adobe Drive SDK document. Adobe Drive SDK download page: http://www.adobe.com/devnet/adobedrive/eula-3.html. But currently, CMIS connector doesn't open its source code. I think log may provide some info to you. To configure log level, you need to edit log4j.xml in the following folder:
- Win32: C:\Program Files\Common Files\Adobe\CS5ServiceManager\configuration
- Win64: C:\Program Files (x86)\Common Files\Adobe\CS5ServiceManager\configuration
- Mac OS X: /Library/Application Support/Adobe/CS5ServiceManager/configuration
Adobe Drive currently rely on checkin + checkout scheme, and rendition issues mostly depend on server's rendition capability. For your mentioned issue 'AD uses the cmis:name property for path segments', could you explain it in detail?
Thank you, I will try the log settings and the SDK with eclipse.
About "AD uses the cmis:name property for path segments":
CMIS has a concept called "path segments". Those path segments contain the file or directory names that clients should use. But AD uses the "cmis:name" property, instead of those path segments.
The CMIS v1 spec (section 18.104.22.168) says, that "repositories might choose to use cmis:name or content stream filename for pathSegment token".
Note: the repository has the decision, not the client. The client is not allowed to choose cmis:name over path segments. Clients have to use path segments.
This is a problem whenever a repository allows files with the same name in the same folder (not uncommon, because repositories use internal ids), or when the repository does not use cmis:name for filenames at all (but for e.g. titles).
By the way:
Lee Hui wrote:
Does Adobe Drive support CMIS renditions?
CMIS connector in Adobe Drive doesn't support rendition as it doesn't implement related logic(hint: IGetAssetHandler for Icon data, and IGetPreviewHandler), but for customized connector, if it implements rendition related handlers and server supports rendition, then user can view thumbnail and preview in Bridge. One example is connector for ADEP services in Adobe Drive. It can show thumbnail and preview.