Requirements for rerun

Considering the merge mechanism, the following requirements are enforced when implementing Document Pack Templates that are compatible for reruns:

  • All interaction in the Data Preparation Template should be based on a part of the Data Backbone that is not a part of the input Data Backbone. In other words, this part should not be in the Data Backbone that is passed to KCM.

  • All interaction in any of the Document Templates should be based on a part of the Data Backbone that is not a part of the prepared Data Backbone. Neither the Data Preparation Template, nor the application should provide this part.

  • For the initial run, the template code may populate the parts of the Data Backbone that support the interaction. It should not populate the subsequent runs, as it would overwrite the results of the previous interaction. The template code should only be used in the dedicated parts of the Data Backbone if they do not already contain any data.

  • Each form question should use the same field in the Data Backbone for its default and answer values.

  • The interaction provided by the Data Preparation Template should not involve Content Wizards or Text Blocks editing. Such interaction is relevant for the Document Templates only.