PP.TS.Ui.MissingMetadataWizard(settings: Object);
settings. JSON object that contains values of class properties.
The MissingMetadataWizard constructor creates an instance of the MissingMetadataWizard class.
To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component). Create the Missing Metadata validation wizard and place it in a dialog:
// Create a wizard for validation of the Missing Metadata type var missingMetadataWizard = new PP.TS.Ui.MissingMetadataWizard({ Source: workbookBox.getSource() }); // Get DOM tree for this wizard var dom = missingMetadataWizard.getDomNode(); // Set wizard style PP.addClass(dom, "PPValidationSettingsDlgContent"); // Add the wizard to the dialog var dialog = new PP.Ui.Dialog({ Caption: "Missing Metadata", Content: missingMetadataWizard, Width: 750, // Dialog width }); // Display this dialog dialog.show();
After executing the example the Missing Metadata validation wizard is created and placed in a dialog:
See also: