This is a migrated thread and some comments may be shown as answers.
Mail merge using multipe datasources
3 Answers 34 Views
This is a migrated thread and some comments may be shown as answers.
shiva
Top achievements
Rank 1
shiva asked on 14 Mar 2013, 09:37 AM
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

3 Answers, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 18 Mar 2013, 05:22 PM
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.

0
shiva
Top achievements
Rank 1
answered on 20 Mar 2013, 05:43 PM
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
0
Petya
Telerik team
answered on 25 Mar 2013, 11:47 AM
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.

Asked by
shiva
Top achievements
Rank 1
Answers by
Petya
Telerik team
shiva
Top achievements
Rank 1
Share this question
or