Getting Started


If you are new to the HTML document/canned email tag system, you can get an overview of tags, objects and loops here


Accessing The Stock Object


Access to this object is dependent on what document or canned email type you are trying to access the object from. Start by finding the document or canned email type you are working with from the links provided below. Follow the chart for your specified document or canned email type to see if the object is accessible, and if so, where it is located.  You may need to use a combination of loops and/or chaining to access this object. 


HTML Tags by Document Type

HTML Tags by Email Type


Accessing The Stock Tags


Assuming you have access to the Stock object, you must do one of the following:


1. Prefix the object's name to the required tag

2. If the tag contains an 'Additional Sub Object', then the tag must prefix the sub-object tag and suffix the object

3. If the object itself is a list type, then the object must be looped. The tags and/or sub-object tags should be nested within the loop.


Here is a chart displaying these use cases.


 
SyntaxExample
1
{{Stock.TagName}}
{{Stock.Finish}}
2
{{Stock.TagName.SubObjectTagName}}{{Stock.Size.Width}}
3
 
<!-- {{#each  Stocks}} -->
{{TagName.SubObjectTagName}} <br />
<!-- {{/each}} -->
 
 
<!-- {{#each Stocks}} -->
{{Supplier.Email}} <br />
<!-- {{/each}} -->
 


Overview


Tag Name
DescriptionType
Additional Sub Object
BarcodeA barcode can be generated to populate the url to the stock
Text
CaliperThe caliper that has been input on the stock.
Decimal Value

Color
The color that has been input on the stock.
Text
FinishThe finish that has been input on the stock.Text
GSMThe GSM that has been input on the stock.
Whole Number
IdThe id of the stock.
Guid
LiftSizeThe lift size that has been input on the stock.Whole Number
LocationThe location that has been input on the stock.Text

MultipartThe multipart that has been input on the stock.
Whole Number

MWeightThe MWeight that has been input on the stock.
int?

NameThe name of the stock that has been input on the stock.
Text
NotesThe tags relating to a note can be accessed for  notes on the stock.
ListNote Tags
OnlineNameThe online name that has been input on the stock.Text

PriceQuantityThe price per that has been input on the stock.Decimal Value
SizeThe size that has been input on the stock.
 Size Tags
SupplierThe supplier that has been selected on the stock.

Supplier Tags
SupplierCodeThe code of the stock that has been input on the stock.
Text

SupplierIdThe id of the supplier.Guid
TagsA list of the tag (names) applied to the stock.
List
UrlPathThe url to the stock.
Text

WeightThe weight that has been input on the stock.
Text