Please enable JavaScript to view this site.

Knowledge Bridge Documentation

Help version: 3.3.8

 

There are 2 basic DocumentData parameters to set up, as follows:

 

docxData:        

{ Customer: "John Smith",

          Street1: "11361 Miller Rd.",

          Phone: "815-555-1212",

          CityStateZip: "Chicago, Il., 60556",

          OrderTag: "0024",

          QuoteDate: this.Date,

          QuotePrice: "$" + this.Total.toString(),

          Weight:  this.Weight.toString()+ " lbs",

          Description: this.TableDimensions+" " + this.MaterialSelected + " Table" ,  

          imageInfo: {width:8, height:8, path:child.imagePath},

          mytable: {

            myrows: [

                { qty: "1", description: this.MaterialSelected + " Table Material Cost", unitprice: this.Cost.toString(), amount: this.Cost.toString()},

              { qty: "1", description:"Labor " + this.LaborHours.toString()+" hrs", unitprice: this.LaborUnitCost.toString(), amount: this.LaborCost.toString()},

              { qty: "1", description:"Stain and Seal",  unitprice: this.StainAndSeal.toString(), amount:this.StainAndSeal.toString() },

              { qty: "", description:"", unitprice: "Subtotal", amount: this.SubTotal.toString() },

              { qty: "", description:"",  unitprice: "Sales Tax " + this.SalesTax.toString() +"%", amount: this.SalesTaxTotal.toString()},

              { qty: "", description:"",  unitprice: "TOTAL", amount: "$"+this.Total.toString()}

            ]

          }

}        

//Paste or Type in.

 

forWordSpec:                        ["docA"]                        //Paste or Type in.

 

RULE NAME

TYPE

DEFAULTS

CATEGORY

FLAGS

docxData

Any

{} 

Word Utilities

Cached
Parameter

forWordSpec

Array

["default"]

Word Utilities

Cached
Parameter

 

New Rules to add to DocumentData0

imageFile:*(Example:) { name: "table.jpg", id: "c916a39a-afb7-4efc-3da1-08d714ed9d5d" }

 

* To get the correct value for your project, while in the Child tab click on imageFile and select the ‘Get RefChain’. Then click on ‘table.jpg in the Resources folder. The value will automatically show up in the Parameter window.

 

WordIntTableDocData1

 

imagePath:                R.loadFile(this.imageFile)

 

RULE NAME

TYPE

DEFAULTS

CATEGORY

FLAGS

imageFile

File

{}

New Rule

Cached Parameter

imagePath

String

R.loadFile(this.imageFile)

New Rule

Cached
 

 

Knowledge Bridge from Engingeering Intent is a full-featured engineering and sales automation environment