sendAsString Attribute

Microsoft Office InfoPath

sendAsString Attribute

Specifies that the data is submitted as a string through the webServiceAdapter data adapter.

Type

xsf:xdYesNo

Parent Elements

Element Description
partFragment Defines one substitution group for a specific part of the input Simple Object Access Protocol (SOAP) message.

Definition

    <xsd:attribute name="sendAsString" type="xsf:xdYesNo" use="optional" ></xsd:attribute>
  

Remarks

It may be necessary to set the sendAsString attribute to "yes" for digitally signed data, because this setting preserves non-printing characters in the data.

Note  This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.

Example

The following is an example of the sendAsString attribute as it is used in the partFragment element:

    <xsf:partFragment match="/dfs:myFields/dfs:dataFields/s0:IsPrime/s0:inValue"
 replaceWith=/dfs:myFields/dfs:dataFields/s0:IsPrime"
 filter="." sendAsString="yes"/>