Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Preview and Thumbnail creates a preview of S-Drive files as well as a thumbnail that can be displayed on the S-Drive component. See Advanced Features: Preview and Thumbnail for more details.

To open this configuration, click on "Configure Preview & Thumbnail" button. Using this configuration;

...

"Conversion Available File Type" is a file type that S-Drive can generate its preview and thumbnail but needs your permission to perform conversion. That is why you should allow the file type by adding it to "Conversion Allowed File Types" box. S-Drive has already pre-configured some common file types for you. If you preview and thumbnail enable an object and do not configure a file type for it (accept the defaults), "avi, doc, docx, gif, jpeg, jpg, mov, mp4, mpeg, mpg, pdf, png, ppt, pptx, psd, wmv, xls, xlsx" types will be auto enabled. You can allow more file types or disallow some of them.
Let's say you have enabled "Case File" object for preview and thumbnail conversion and also enabled "jpg" and "mp4" types for Case File. If you upload a "jpg" file to Case File object, you will be able to display it's preview and thumbnail. If you upload an "mp4" file to Case File, you will be able to stream it. In this case, no conversion will be performed for any other (not allowed) file type even if your object is preview and thumbnail enabled.

Preview Pagination

You can set the maximum page count for preview conversions on your objects related S-Drive. After you enable preview and thumbnail for at least one object, the Preview Pagination section will be displayed so that you can manage your preview conversions in a flexible way. The table of File Level Pagination is generated with respect to your Conversion Allowed File Types.

...

 

Preview pagination offers management in two ways: object-level and file level for each object. You can define the default maximum page count for all files of an object and you can also set the maximum page count for the listed file extensions which will override the object-level default. If you don’t set any value for preview pagination, the default value is ‘unlimited’.

For instance, the default maximum preview page count for the AccountFile object is set to 20, the file-level maximum page count is set to 10 for pdf. When previews are being generated for pdf files, the preview will be generated for the pages from 1 to 10. For the other file types of the AccountFile object, previews will be generated up to 20 pages.


Monitor Conversion Status
In this section, you can monitor status of your preview and thumbnail conversions and retry failed ones (Figure 8 28). For more information, you can create "Preview" object tab and check related records.

...

Then a visual force page will be loaded. In this page, you should select "Create" checkbox next your object and then you should click on "Generate P&T" button (Figure 8 30). This will invoke a batch job and S-Drive's preview and thumbnail service will start conversion.

...

In order to generate preview and thumbnail of a file.

  • Object must be preview and thumbnail enabled.

  • Type of attached file must be allowed for conversion on your object.

  • Users uploading files must have profile permission for the Preview object. They should also have permission for the SQueue object, which is used to delete preview pages when a file is deleted.

Note

Important Note: Additional AWS S3 storage will be consumed by the previews and thumbnails. Also, you can check conversion pricing at https://www.sdriveapp.com/pricing/ .