0 votes

Dear all,

I would like to include the product table into an HTML Template for sending an email from a document containing products.

I am using the following code :

[$GetHTMLTable('PROD', columndefs="GridColumns.txt", noheader="true", columns="COMMENT,QUANTITY", sum="QUANTITY")]

But I always get the following Error:

ID: CORE-1285
Message: Empty Column Definition File: GridColumns.txt
Comment:
Details:

I tried to change the GridColumns.txt, by another one I have created, but the result is exactly the same.

The file is not empty and contain the following column definition:

starttable [<table>]
endtable [</table>]

startheader []
endheader []

startrow [<tr><td>]
endrow [</td></tr>]

th []
td [<#F=$FIELD$>]

Does someone knows how to do that?

asked in Efficy/ Client side by (1.8k points)

1 Answer

+2 votes
Best answer

Hello Stéphane,

this one is a bit different from the other templates manipulation.
The columns definitions should be inserted in SYS_STORAGE.

Here is a link that provides a detail example on how to setup the HTML templates :

http://help.efficy.com/HelpEfficy/user/UserGuide/EN/index.html?helppage=templates_example_html_detailt.htm

Hope this help.

Kind regards,

Ludovic

answered by (167 points)
selected by
1,165 questions
1,423 answers
1,713 comments
325 users