When you install a new dynamic module, Feather automatically generates view templates for each type in the dynamic module. These templates are persisted in the database and are compiled when they are rendered. Because of this, there is a delay of several seconds before a widget is rendered for the first time while the web application is running.
To avoid the initial rendering delay, you can precompile the templates so that they are ready for rendering when the widget is requested.
To precompile the templates of dynamic modules, perform the following:
~\Mvc\Views\[Dynamic Type Name]\
List.<Dynamic type title>.cshtml
Detail.<Dynamic type title>.cshtml
RESULT: The dynamic content widget will use the precompiled version of the templates.
Back To Top
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.