getRevisionMetadataComparisonWizard();
The getRevisionMetadataComparisonWizard method returns the data validation wizard that validates data by comparing versions of time series metadata.
This method returns an object of the PP.TS.Ui.RevisionMetadataComparisonWizard type.
Executing this example requires the ValidationSettingsDialog component named validationSettingsDialog (see Example of creating the ValidationSettingsDialog component). Show the data validation wizard that compares versions of time series metadata:
// Get wizard of data validation by comparing metadata versions var revisionMetadataComparisonWizard = validationSettingsDialog.getRevisionMetadataComparisonWizard(); // Get DOM tree for this wizard var dom = revisionMetadataComparisonWizard.getDomNode(); // Set wizard style PP.addClass(dom, "PPValidationSettingsDlgContent"); // Make wizard visible revisionMetadataComparisonWizard.show(); // Add the obtained wizard to the dialog var dialog = new PP.Ui.Dialog({ Content: revisionMetadataComparisonWizard, Caption: "Metadata version comparison", // Dialog title Width: 730, // Dialog width Height: 200 // Dialog height }); // Display this dialog dialog.show();
After executing the example the created dialog box shows wizard that validates data by comparing metadata versions:
See also: