Generic Approach to generate doc from template

Home Forums WordprocessingML Generic Approach to generate doc from template

This topic contains 0 replies, has 1 voice, and was last updated by  thanjaipvr@yahoo.com 1 week, 4 days ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #7261

    Hi Eric,

    I need to generate a word document from template ad update value in the content control.

    I understand word template can have content control which can be updated using Open XML problematically.

    How can make this generic so that for any template our application/library/API fetch corresponding data from data source and bind to word document crated from template.

    You have explained Document Assembler that takes docx and xml data to create new document.
    Table can be identified with corresponding list/table. but simple label, date is only mapped to column and how to map this to a table and row.

    I assume that one content control is used as wrapper over simple control to find the table and condition can be give in that xml as attribute.

    you also given, how to query content control in document in XML format

    is there any best approach to convert these information into SQL Query

    Should I have to write custom code by iterating the XML to get the data and form the XML data to bind.

    Please advise.

    Thanks
    Palanivelrjan

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.