Im folgenden JScript-Beispiel wird gezeigt, wie man ein vorhandenes Dokument lädt und verschiedene Arten von Mapping-Code dafür generiert.
The following JScript example shows how to load an existing document and generate different kinds of mapping code for it.
Im folgenden JScript-Beispiel wird gezeigt, wie Sie ein bestehendes Dokument mit einem einfachen Mapping laden, seine Komponenten aufrufen, Input- und Output-Instanzdateinamen definieren und das Mapping ausführen.
The following JScript example shows how to load an existing document with a simple mapping, access its components, set input- and output-instance file names and execute the mapping.
Übersicht JScript-Beispiel VBScript-Beispiel Verwenden des Skriptbeispiels in einer Formularvorlage
Overview JScript example VBScript example Use the script example in a form template
Das Application-Objekt kann wie im folgenden Microsoft JScript-Beispiel direkt im Skriptcode verwendet werden. Dieses Beispiel verwendet die Alert-Methode des UI-Objekts (der Zugriff erfolgt über das XDocument-Objekt), um ein Meldungsfeld anzuzeigen, das die Versionsnummer der aktuellen Instanz von InfoPath angibt
The Application object can be used directly in scripting code as in the following Microsoft JScript example, which uses the Alert method of the UI object, accessed through the XDocument object, to display a message box that indicates the version number of the current instance of InfoPath
Im folgenden JScript-Beispiel wird gezeigt, wie Sie mit Hilfe der MapForce API komplexe Aufgaben im Zusammenhang mit MapForce-Projekten automatisieren.
The following JScript example shows how to use the MapForce API to automate tasks pertaining to MapForce projects.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.