2.2.147.8 solutionDefinition

The solutionDefinition element specifies the extended properties and features of the form template. This element also enables extending the form definition (.xsf) file with custom attributes not specified in section 2.2 or section 2.2.147. Custom attributes MUST NOT be defined under the xsf or xsf2 namespace. Any specified custom attribute MUST be ignored. This element MUST be the root element of all extensions to the form template.

Child Elements

autoUpdatePrompt

dataConnections

featureRestrictionsExtension

inputScopes

listPropertiesExtension

managedCode

mergedPrintView

offline

preview

sendByMail

server

solutionPropertiesExtension

submit

viewsExtension

warnings

Attributes:

allowClientOnlyCode: This attribute specifies whether a browser-compatible form template is designed to enable the inclusion of client-specific object model code that is not compatible with the protocol server. If this attribute is set to "yes", a warning MUST be generated when browser-enabling a form template containing incompatible code. If this attribute is set to "no", an error MUST be generated when browser-enabling a form template containing incompatible code.

description: This attribute specifies the description of the form template.

runtimeCompatibility: This attribute MUST be set to "client server".

runtimeCompatibilityURL: This attribute MUST be ignored.

solutionType: This attribute MUST be ignored.

verifyOnServer: This attribute MUST be ignored.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="solutionDefinition">
   <xsd:complexType>
     <xsd:all>
       <xsd:element ref="xsf2:server" minOccurs="0"/>
       <xsd:element ref="xsf2:solutionPropertiesExtension" minOccurs="0"/>
       <xsd:element ref="xsf2:mergedPrintView" minOccurs="0"/>
       <xsd:element ref="xsf2:offline" minOccurs="0"/>
       <xsd:element ref="xsf2:listPropertiesExtension" minOccurs="0"/>
       <xsd:element ref="xsf2:dataConnections" minOccurs="0"/>
       <xsd:element ref="xsf2:sendByMail" minOccurs="0"/>
       <xsd:element ref="xsf2:warnings" minOccurs="0"/>
       <xsd:element ref="xsf2:viewsExtension" minOccurs="0"/>
       <xsd:element ref="xsf2:preview" minOccurs="0"/>
       <xsd:element ref="xsf2:autoUpdatePrompt" minOccurs="0"/>
       <xsd:element ref="xsf2:inputScopes" minOccurs="0"/>
       <xsd:element ref="xsf2:managedCode" minOccurs="0"/>
       <xsd:element ref="xsf2:submit" minOccurs="0"/>
       <xsd:element ref="xsf2:featureRestrictionsExtension" minOccurs="0"/>
     </xsd:all>
     <xsd:attribute name="runtimeCompatibility" use="required">
       <xsd:simpleType>
         <xsd:list itemType="xsf2:compatibilityModesType"/>
       </xsd:simpleType>
     </xsd:attribute>
     <xsd:attribute name="solutionType" type="xsf2.2.147.4:solutionType" use="optional"/>
     <xsd:attribute name="description" type="xsf2.2.147.5:formDescriptionType" use="optional"/>
     <xsd:attribute name="allowClientOnlyCode" type="xsf:xdYesNo" use="optional" default="no"/>
     <xsd:attribute name="runtimeCompatibilityURL" type="xsd:string" use="optional"/>
     <xsd:attribute name="verifyOnServer" type="xsf:xdYesNo" use="optional"/>
     <xsd:anyAttribute processContents="skip"/>
   </xsd:complexType>
 </xsd:element>