Kevin Jones

Setting Form Parameter Values in SmartForms 6.5.5.2

Discussion created by Kevin Jones on Jan 21, 2009
Latest reply on Jan 22, 2009 by Kevin Jones

Hi,

 

I'm having some trouble pulling in a parameter list when previewing my form.  I'm getting the following:  ERROR : Generation of the form 'sfHomeHealth' failed due to errors, root cause 'Unable to find form parameter 'CallerTypeList' referred in custom fill for component 'CallerType''

 

I have the Value List in the CPE set to Parameter, with the name "CallerTypeList".  Blaze didn't generate the smartforms-parameters.xml file in <ADVISOR-HOME>\sfwork\application\<formName> for me, so I created it out of the example in the documentation.

 

<?xml version="1.0"?>
<sf:smileytongue:arameters xmlns:html="http://www.w3.org/1999/xhtml" xmlns:myObj="urn:Inquiry"
xmlns:sf="http://www.fairisaac.com/SmartForm/PageModel"
xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<sf:smileytongue:arameter sf:dataType="" sf:name="CallerTypeList" sf:smileytongue:ositionCode="-1"
sf:visited="true">
<item><label>Member</label><value>MEMBER</value></item>
<item><label>Provider</label><value>PROVIDER</value></item>
<item><label>Certified Home Health Agency</label><value>CHHA</value></item>
</sf:smileytongue:arameter>
</sf:smileytongue:arameters>

 

Wasn't sure if I was supposed to change the xmlns:myObj="urn:my-object" to my Document Type or not, so I tried it both ways with the same result. 

 

Hope someone can help!

Outcomes