MES Document Editor

Sepasoft MES Module Suite

Document Editor

A component that is used to edit HTML documents for use in the manufacturing environment. It functions as a text editor to create and maintain user-interactive documentation, such as instructions for assembly workers, warning notes and data-entry forms for record keeping. Documents are stored as Artifacts on MES Objects (e.g. Material Definitions, Process Segments).

Refer to Creating and Editing MES Documents for information on creating HTML documentation using this component.


Component Palette


Component Properties

Properties are provided that can be set to affect the operation and look of the component. They can be set through the Property Editor in the Designer or through scripting.

Example

Code
event.source.parent.getComponent('MES Document Editor').visible = True



Data

NameScriptingProperty TypeDescription
Show HTML Source Editor?showSourceEditorbooleanIf true, HTML Source Editor will be enabled and the HTML Source tab will be available at the bottom of the component.
Show HTML Preview Mode?showPreviewModebooleanIf true, HTML Preview will be enabled and the Page Preview tab will be available at the bottom of the component.
Allow Creation of New Artifacts?allowCreationOfNewArtifactsboolean

If true, the Create New Artifact (button appears in the Tool Bar to allow users to create a new document Artifact on the selected MES Object.

Selected MES ObjectselectedMESObjectMESObjectLinkMES Object to load document from and store document to.
Artifact NameartifactNameStringThe name of the artifact to load document from and store document to.

Event Handlers

Event handlers provide the ability to add custom script when a user interacts with a component and a component property changes.


propertyChange

propertyChange

Fires whenever a bindable property of the source component changes. This works for standard and custom (dynamic) properties.

PropertyDescription
.sourceThe component that fired this event.
.newValueThe new value that this property changed to.
.oldValueThe value that this property was before it changed. Note that not all components include an accurate oldValue in their events.
.propertyNameThe name of the property that changed. NOTE: Remember to always filter out these events for the property that you are looking for! Components often have many properties that change.



Extension Functions

This component does not have extension functions associated with it. 


Custom Methods

Custom methods allow you to add your own component functions to a component that can be called through scripting. This is a useful and clean method of re-using script that is specific to the component (say you want to update a visual aspect of the component in the same way whether a user clicks on the component or a window property value changes). See Component Custom Methods in the Ignition Help Manual for more information.


Customizers

The custom properties can be used to add user defined properties.


Component Functions

This component does not have functions associated with it.


Sepasoft MES Module Suite