cancel
Showing results for 
Search instead for 
Did you mean: 

How to override a WebAdapter?

promanov_
Star Contributor
Star Contributor

I need a custom implementation to manage preview depending on the specific document type and may be additional document content logic.

I have not found a better idea than to override the "preview" web adapter, but my tests to do this have been unsuccessful so far.

Can a WebAdapter be overriden?

1 REPLY 1

Gregory_Carlin
Elite Collaborator
Elite Collaborator

Hello,

You don't need a web adapter to fulfil this requirement. You have to create an extension point http://explorer.nuxeo.com/nuxeo/site/distribution/server-10.10/viewExtensionPoint/org.nuxeo.ecm.plat.... You'll get all needed details in https://doc.nuxeo.com/nxdoc/preview/.

Regards