Mail merge using multipe datasources

4 posts, 0 answers
  1. shiva
    shiva avatar
    8 posts
    Member since:
    Sep 2008

    Posted 14 Mar 2013 Link to this post

    Hello:

    Is it possible to mail merge using multiple datasources, for example invoice word template having 3 region and each region needs to populate from respective table.

    Can you please provide us solution using mailmerge or find & replace or using document variable.

    Regards
  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 18 Mar 2013 Link to this post

    Hello,

    When you need data to populate a "template" document, usually document variables or mail merge are used, the main difference being that document variables can only have one value, so you cannot generate multiple entries.

    That said, in case you only want to set the values of your fields once, I suggest you refer to this help article. It demonstrates how to create and insert a document variable to a document.

    In case you are trying to achieve the other scenario, please refer to this article, as well as this demo. Generally, the item's source of a document can only be one, so you'd have to create an appropriate for your application's logic class that can hold all properties. You can try using ExpandoObject in order to create the objects on the fly if needed.

    I hope this helps! Let us know if you need further assistance.
     
    Kind regards,
    Petya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. shiva
    shiva avatar
    8 posts
    Member since:
    Sep 2008

    Posted 20 Mar 2013 Link to this post

    Hello:

    Can you please provide sample with nested mail merge and table apart of nested mail merge

    http://www.telerik.com/ClientsFiles/439229_Requirement.png

    Regards
    Venkat
  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 25 Mar 2013 Link to this post

    Hello Venkat,

    Master-detail mail merge is a feature that is in our to-do list, but is currently not scheduled. Advanced mail merge-related functionalities have been discussed in several forums, for example here where you can also find a demo of custom merge fields.

    Let us know if you have any concrete questions.
     
    All the best,
    Petya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top