// For complete examples and data files, please go to https://github.com/groupdocsassembly/GroupDocs_Assembly_NET
//setting up source
const String strDocumentTemplate = "Presentation Templates/In-Table List with Filtering, Grouping, and Ordering.pptx";
//Setting up destination
const String strDocumentReport = "Presentation Reports/In-Table List with Filtering, Grouping, and Ordering_Json Report.pptx";
try
{
//Instantiate DocumentAssembler class
DocumentAssembler assembler = new DocumentAssembler();//initialize object of DocumentAssembler class
//Call AssembleDocument to generate In-Table List with Filtering, Grouping, and Ordering report in presentation format
assembler.AssembleDocument(CommonUtilities.GetSourceDocument(strDocumentTemplate), CommonUtilities.SetDestinationDocument(strDocumentReport), DataLayer.GetCustomerOrderDataFromJson(), "orders");
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}