ValidationSettingsDialog.getMissingMetadataWizard

Syntax

getMissingMetadataWizard();

Description

The getMissingMetadataWizard method returns the Missing Metadata data validation wizard.

Comments

This method returns a PP.TS.Ui.MissingDataWizard value.

Example

Executing this example requires the ValidationSettingsDialog component named validationSettingsDialog (see Example of creating the ValidationSettingsDialog component). Show the Missing Metadata data validation wizard in a specific dialog box:

// Get wizard of the Missing Metadata validation type
var missingMetadataWizard = validationSettingsDialog.getMissingMetadataWizard();
// Get DOM tree for this wizard
var dom = missingMetadataWizard.getDomNode();
// Set wizard style
PP.addClass(dom, "PPValidationSettingsDlgContent");
// Make wizard visible
missingMetadataWizard.show();
// Add the obtained 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 data validation wizard is shown in the created dialog box:

See also:

ValidationSettingsDialog