Skip to content
robsiera edited this page Dec 5, 2015 · 8 revisions

Welcome to the OpenFiles wiki!

IMPORTANT NOTICE - How to upgrade from OpenDocument?

The first version was called OpenDocument until somebody pointed out that this gave some confusion due to the fact that an old Dnn Document solution was called the same.

Follow this procedure to upgrade successfully to OpenFiles v2.0

  1. Upgrade to OpenDocument 1.1
  2. Uninstall OpenDocument 1.1 (with Delete Files)
  3. Install OpenFiles 2.0
  4. Manually delete ~\app_data\OpenDocument
  5. Find/Replace "OpenDocument" by "OpenFiles" ('whole word') in all your templates, json and js files

TIPS

Customize OpenFiles

You can copy following files to ~/Portals//OpenFiles/ to customize them

  • schema.json
  • options.json
  • images-schema.json
  • images-options.json

How to Reindex

OpenFiles will create a Lucene index from the content of PDF files.

The index is automatically created (~/app_data/OpenFiles/lucene-index) and new documents will be added via a scheduled task (every 30 minutes).

You could create a HOST page and put the OpenFiles module on there. This will enable you to ReIndex. You could also just delete the folder ~/app_data/OpenFiles/lucene-index. The index will then be recreated when queried.

Log4Net

You might want to add this to your DotNetNuke.log4net.config file (just above the log4net closing tag )

<logger name="OpenFiles">
  <level value="Info"/>
</logger>