I am trying to follow the documentation pages 132-137 on creating a repeatable component from a template and my code in the rules is:
var checktemplate = new FPRepeatableComponent('CheckFrontTemplate');
checktemplate.Addgraphic("CheckPageBackground:", "c:\\outlook\\JPB\\M-105232 META CA CHECK 1446199_85x11 1.pdf");
checktemplate.AddTextVar("Check1FrontSeqDig","999999999 9");
checktemplate.AddTextVar("Check2FrontSeqDig","888888888 9");
checktemplate.AddTextVar("Check3FrontSeqDig","777777777 9");
return checktemplate;
When I validate I get checktemplate.addgraphic is not a valid function. It appears I am duplicating the code correctly but the variable checktemplate is not being properly created/initialized?