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 Vendor 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 Vendor Tags


Assuming you have access to the Vendor 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 tag is a list type, then the tag must be looped. The sub-object tags should be nested within the loop. 

4. 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.

5. If the object itself and the sub-object are list types, then both objects must be looped. The sub-sub-objects tags and/or objects should be nested within the loop.


Here is a chart displaying these use cases.


 
SyntaxExample
1
{{Vendor.TagName}}
{{Vendor.Name}}
2
{{Vendor.TagName.SubObjectTagName}}{{Vendor.BillingLocation.ZipPostal}}
3
 
<!-- {{#each Vendor.TagName}} -->
        {{SubObjectTagName}} <br />
<!-- {{/each}} -->
  
 
<!-- {{#each Vendor.VendorQuotes}} -->
        {{Cost}} <br />
<!-- {{/each}} -->
  
4
 
<!-- {{#each  Vendors}} -->
        {{TagName}} <br />
<!-- {{/each}} -->
 
 
<!-- {{#each Vendors}} -->
        {{Name}} <br />
<!-- {{/each}} -->
 
  5
<!-- {{#each  Vendors}} -->
  <!-- {{#each  TagName}} -->
          {{SubObjectTagName}} <br />
  <!-- {{/each}} -->

<!-- {{/each}} -->

<!-- {{#each  Vendors}} -->
  <!-- {{#each  Orders}} -->
          {{Number}} <br />
  <!-- {{/each}} -->

<!-- {{/each}} -->


Overview


Tag Name
DescriptionType
Additional Sub Object
BillingLocationThe tags relating to a location can be accessed for the default billing location input on the vendor.

Location Tags
EmailThe email address that has been input on the vendor.
Text
FaxThe fax number that has been input on the vendor.
Text
IdThe id of the vendor.Guid
NameThe full name that has been input on the vendor. Text
NotesThe tags relating to a note can be accessed for notes entered on the vendor.ListNote Tags
PhoneThe phone number that has been input on the vendor.
Text

ShippingLocationThe tags relating to a location can be accessed for the default shipping location input on the vendor.

Location Tags
TagsA list of tag (names) applied to the vendor.List
VendorQuotesThe tags relating to a vendor quote can be accessed for the outsourced quote information on an item.ListVendor Quote Tags
WebsiteThe website that has been input on the vendor.Text