Table of Contents

 

 PDF

Resource Attributes 

Resource Types – WordXML, ExcelXML, XML, JSON, ODT, ODS 

In TDL, Resource definition is used to access and use the resources (images, icons, cursors, etc.) from a local disk, HTTP/FTP, or from a DLL/EXE. The formats supported are BMP/JPEG/ICON/CUR. These resources are allowed in Part definition, using the attribute Image for displaying, printing and exporting. 

To support the facility Customisation using Productivity Suites, the capability of Resource definition is enhanced to use the resources like Word Xml, Excel Xml, Xml, JSON, odt, ods as resource types. 

Syntax 

[Resource: <Resource Name>] 

Source              : <Path to File> 

Resource Type : <Supported Resource> 

Where, 

<Path to File> is the absolute or relative path to the document or image. The relative path should not start with ./. 

<Supported Resource> is the resource type which is supported. The supported resources are ODS/ODT/WORD XML/JSON/Excel XML/XML/Bitmap/Icon/Jpeg/Cursor. 

Example 

[Resource: InvoiceWord] 

Source : “D:WorkInvoiceWord.xml” ;;this is the document saved as xml 

Resource Type : Word XML 

In the example, InvoiceWord.xml is the Word XML document template, and it prints in Word format from TallyPrime. To read from a relative path, the file should be located in the TDL path. 

[Resource: InvoiceWord] 

Source : “InvoiceWord.xml” 

Resource Type : Word XML 

TallyHelpwhatsAppbanner
Is this information useful?
YesNo
Helpful?
TARA