Skip to main content

Search

Document Generator - Error occured

Answered

Comments

7 comments

  • Christof

    Hi Julian

    This can have several reasons, but it's definitely something about a wrong placeholder in the document template.
    Sometimes some small changes on columns needs to be handled different in document template - e.g. switching from single to multiple allowed values. Or removing the required input setting for the field and now empty values will appear...

    Can you give us some more information about...
    the template document (or part of it, where placeholders are)
    the used columns from the list

    0
  • Julian Mathis-Schenk

    It doesn't even work with a Test Template that just contains [[Title]] and nothing else.

    It's not working on the DEV SharePoint Site nor on the Live Site where it's deployed to.

    All features are on newest version.

    Could it be some permission or security settings on the Sharepoint Site?

    0
  • Christof

    Hmm, then it's probably about the item's data.
    Can you post here a screenshot of the configured Document Generation action?

    0
  • Julian Mathis-Schenk

    0
  • Christof

    The action configuration looks good.
    Then it's probably something about permissions.
    Does the executing user has at least Read permission on the TestTemplate.docx file and at lest Read permission on the item which is referenced by Item Id?

    0
  • Julian Mathis-Schenk

    I found the problem.

    Someone renamed the list on the SharePoint Site, but not in the Solution in the Solution Studio (The display name).
    This somehow caused this error.

    After changing the name of the list back to the original name the document generation is working flawlessly again.

    0
  • Christof

    Strange effect - maybe changing the List or library property in the Generate document action and resave the action would solve the problem as well  

    0

Please sign in to leave a comment.