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.
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.
Syntax | Example | |
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 | Description | Type | Additional Sub Object |
Barcode | A barcode can be generated to populate the url to the stock | Text | |
Caliper | The caliper that has been input on the stock. | Decimal Value | |
Color | The color that has been input on the stock. | Text | |
Finish | The finish that has been input on the stock. | Text | |
GSM | The GSM that has been input on the stock. | Whole Number | |
Id | The id of the stock. | Guid | |
LiftSize | The lift size that has been input on the stock. | Whole Number | |
Location | The location that has been input on the stock. | Text | |
Multipart | The multipart that has been input on the stock. | Whole Number | |
MWeight | The MWeight that has been input on the stock. | int? | |
Name | The name of the stock that has been input on the stock. | Text | |
Notes | The tags relating to a note can be accessed for notes on the stock. | List | Note Tags |
OnlineName | The online name that has been input on the stock. | Text | |
PriceQuantity | The price per that has been input on the stock. | Decimal Value | |
Size | The size that has been input on the stock. | Size Tags | |
Supplier | The supplier that has been selected on the stock. | Supplier Tags | |
SupplierCode | The code of the stock that has been input on the stock. | Text | |
SupplierId | The id of the supplier. | Guid | |
Tags | A list of the tag (names) applied to the stock. | List | |
UrlPath | The url to the stock. | Text | |
Weight | The weight that has been input on the stock. | Text |