Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# SciTextElement Constructor

Constructor

public SciTextElement(
string fieldName,
string labelText
);

#### Parameters

fieldName
  name of the field. The fieldName should be uppercase as the portal will uppercase all names in the NamedValue[] returned by IAdminEditor.Finalize().
labelText
  text to display to the left of the field

#### Remarks

Note that values retrieved from the portal using IDocFetchProvider.Initialize(DataSourceInfo dsInfo) will be decoded in the process. To prevent + from being decoded into a space and % from having indeterminate behavior, make sure that all values entered into the datasource using SCI pages are encoded using Plumtree.Remote.Util.CSPCodec. Likewise, all values that have been encoded in the SCI datasource pages should be decoded when displayed with SCI using Plumtree.Remote.Util.CSPCodec. This is not an issue when not using DocFetch.

#### See Also

SciTextElement Class | Plumtree.Remote.Sci Namespace | CSPCodec