RequestMetadata(sender: Object, args: PP.Mb.Ui.PropertyChangedEventArgs);
sender. Event source.
args. Event information. The parameter contains an object of the PP.Mb.Ui.PropertyChangedEventArgs, type, in which the Metadata property contains the RubKey key that is a key of master time series database.
The RequestMetadata event occurs when the source of the data validation rule wizard that compares data with time series database, contains no data.
Executing this example requires an instance of the CrossDatabaseWizard class named crossDatabaseWizard (see CrossDatabaseWizard Constructor). Process the RequestMetadata event and show key of the master database in the browser console:
crossDatabaseWizard.RequestMetadata.add(function (sender, args) { console.log("Master database key: " + args.getMetadata().RubKey); });
Now click the Attribute Mapping button and select a database that is not the current database of the given workbook in the Master Database drop-down menu. After this the RequestMetadata event is fired and the browser console displays key of the specified database:
Key of the master database: 3014
See also: