|
|
Name:
|
<<[customer.CustomerName]>>
|
|
Contact Number:
|
<<[customer.CustomerContactNumber]>>
|
```
{{< alert style="success" >}}For detailed technical information about syntax, expressions and report generation by the engine, please visit: [Working with GroupDocs.Assembly Engine]({{< ref "assembly/python-net/developer-guide/basic-usage/working-with-groupdocs.assembly-engine/_index.md" >}}).{{< /alert >}}
### Download Single Row Image Template
Please download the single row image document we created in this article:
* [single-row.html](https://docs.groupdocs.com/assembly/python-net/_sample_files/developer-guide/advanced-usage/working-with-image-reports-single-row/single-row-image-in-html-document/single-row.html)
### Generating The Report
{{< alert style="info" >}}The example reads the shop data described in [The Business Layer]({{< ref "assembly/python-net/developer-guide/basic-usage/working-with-a-business-case/the-business-layer.md" >}}).{{< /alert >}}
{{< tabs "example1" >}}
{{< tab "Python" >}}
```python
import json
from groupdocs.assembly import DataSourceInfo, DocumentAssembler
with open("customer.json", encoding="utf-8") as f:
customer = json.load(f)
assembler = DocumentAssembler()
assembler.assemble_document("single-row.html", "single-row-report.html", DataSourceInfo(customer, "customer"))
```
{{< /tab >}}
{{< tab "single-row.html" >}}
{{< tab-text >}}
The following sample file is used in this example: [single-row.html](https://docs.groupdocs.com/assembly/python-net/_sample_files/developer-guide/advanced-usage/working-with-image-reports-single-row/single-row-image-in-html-document/single-row.html)
{{< /tab-text >}}
{{< /tab >}}
{{< tab "customer.json" >}}
{{< tab-text >}}
The following sample file is used in this example: [customer.json](https://docs.groupdocs.com/assembly/python-net/_sample_files/developer-guide/advanced-usage/working-with-image-reports-single-row/single-row-image-in-html-document/customer.json)
{{< /tab-text >}}
{{< /tab >}}
{{< tab "pictures" >}}
{{< tab-text >}}
The following sample files are used in this example: [quayside-bistro.png](https://docs.groupdocs.com/assembly/python-net/_sample_files/developer-guide/advanced-usage/working-with-image-reports-single-row/single-row-image-in-html-document/quayside-bistro.png), [lantern-street-cafe.png](https://docs.groupdocs.com/assembly/python-net/_sample_files/developer-guide/advanced-usage/working-with-image-reports-single-row/single-row-image-in-html-document/lantern-street-cafe.png), [saltmarsh-deli.png](https://docs.groupdocs.com/assembly/python-net/_sample_files/developer-guide/advanced-usage/working-with-image-reports-single-row/single-row-image-in-html-document/saltmarsh-deli.png), [pier-nine-kitchen.png](https://docs.groupdocs.com/assembly/python-net/_sample_files/developer-guide/advanced-usage/working-with-image-reports-single-row/single-row-image-in-html-document/pier-nine-kitchen.png)
{{< /tab-text >}}
{{< /tab >}}
{{< tab "single-row-report.html" >}}
```text
|
[TRUNCATED]
```
[Download full output](https://docs.groupdocs.com/assembly/python-net/_output_files/developer-guide/advanced-usage/working-with-image-reports-single-row/single-row-image-in-html-document/generating_the_report/single-row-report.html)
{{< /tab >}}
{{< /tabs >}}
| |