Loading

Omnistudio DocGen Document Template Designer Creates Duplicate DOCX Records

Дата публикации: Sep 8, 2026
Описание

Issue

When a document is uploaded to the document template library using the OmniStudio Document Generation (DocGen) Document Template Designer, two records of the same DOCX file are created in the DocGen Document Template Library instead of one. The duplicate is created at upload time, so a single upload results in two library entries that point to the same document.

Symptoms

  • After uploading one DOCX file in the Package Template Designer, the DocGen Document Template Library shows two records with the same file name.
  • Both records reference the same source DOCX file.
  • The duplication is reproducible each time a document is uploaded through the Document Template Designer.
  • The issue does not occur when the same template is created from the Design Document Template tab — that path produces a single record.
Решение

Use the following steps to clean up any duplicate records that were already created.

Clean up an existing duplicate

  1. Open the DocGen Document Template Library.
  2. Locate the two records that share the same DOCX file name.
  3. Confirm that both records reference the same source file and that one is a redundant duplicate. (Verify which record is referenced by your active Document Template before removing anything.)
  4. Remove the redundant duplicate record, keeping the record that your DocGen package/template references.
  5. Re-test document generation to confirm the template still resolves correctly and no duplicate remains.
Номер статьи базы знаний

005208549

 
Загрузка
Salesforce Help | Article