MAXLength attribue of manifest.xsf

D

Div

I am generating an Infopath form programatically using XML schema as an
input. One of the schema nodes has an attributre of MaxLength="20,000".
The manifest shows the below code snippet for that field:

<xsf:xmlToEdit name="AddtlData_1010"
item="/ns1:EnvelopeMX_admi.002.001.01/ns1:ModifiedMessage/ns0:Document/ns0:admi.002.001.01/ns0:Rsn/ns0:AddtlData">
<xsf:editWith proofing="no" maxLength="20000" autoComplete="no"
component="xField"></xsf:editWith>
</xsf:xmlToEdit>

When I try to open the published form it gives the below error:
Form template: http://bpisol004/sites/BASSite/Templates/admi.002.001.01.xsn
InfoPath cannot open the following view: View 1
The form definition (.xsf) file has an error on the following element or
attribute: xsf:editWith
Error: The following attribute value is incorrect:maxLength in the xmlToEdit
element with name = "AddtlData_1010"

IS there a max value which is supported by the maxLength attribute of
Manfiest.xsf?
Any help would be much appreciated!

Thanks.
 
D

Div

Hi Shiva,

Thanks for the reply..
But my question is : Is there any limit of maximum value to be set in the
MaxLength attribute of Manifest.xsf.
With value 20,000 it is giving me an error.

Thanks.
 
D

Div

Go the answer..
MaxLength value is 9999

Div said:
Hi Shiva,

Thanks for the reply..
But my question is : Is there any limit of maximum value to be set in the
MaxLength attribute of Manifest.xsf.
With value 20,000 it is giving me an error.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top