Preview for custom object type with file?

Hi Craig and all,

We have a vault with 100ks of objects of a custom type which have a file.  Users are complaining of having to expand the object and select the PDF to have it open in the preview.  We've found that the auto-open in preview is only supported for objects of type Document (and Document classes).  Starting out from a descendent of Document would have been the easy way to address this, but it's a bit late now.  It's a very complicated object model with several deployment and reporting customizations which rely on the object type we are using.  Moving from one type to another would also be confusing for the users.  So, migration from the custom type to a Document descendent would be very difficult and we're looking for an alternative where we can continue to use the existing custom type. 

Is it possible to enable the auto preview functionality to a non-Document type?  Would a UIX customization be possible to detect selection of a custom type instance, resolve the file and open it in the Preview pane?  If so, any documentation on interacting with the Preview pane?  Any other suggestions?

Thanks!

Parents
  • As a workaround, we're thinking of intercepting the selection event and if the selected item is the type with file which we care about, to programatically expand the node and select the file, causing preview.  Metadata still shows for the item when the file is selected, so would work for the client.  Any examples on programatically expanding or selecting a node?

Reply
  • As a workaround, we're thinking of intercepting the selection event and if the selected item is the type with file which we care about, to programatically expand the node and select the file, causing preview.  Metadata still shows for the item when the file is selected, so would work for the client.  Any examples on programatically expanding or selecting a node?

Children
No Data