Creates a default model for the specified meta data items in a data source.
Namespace: Spotfire.Dxp.Data.InformationModelAssembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
Syntax
Parameters
- destinationFolder
- Type: Spotfire.Dxp.Framework.Library LibraryItem
The library folder to save the result in.
- dataSource
- Type: Spotfire.Dxp.Framework.Library LibraryItem
The data source in which the itemPaths live.
- itemPaths
- Type: System.Collections.Generic IEnumerable DataSourceItemPath
The items in the dataSource for which to create a default model.
- settings
- Type: Spotfire.Dxp.Framework.Library LibraryItemMetadataSettings
The metadata that will be applied to each element that is created.
- nameConflictStrategy
- Type: Spotfire.Dxp.Data.InformationModel NameConflictStrategy
Determines what happens if names of items that are created clashes with existing items in the library.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | If any of the arguments are null. |
System ArgumentNullException | If any of the paths in itemPaths are null. |
System ArgumentException | If destinationFolder is not a folder. |
System ArgumentException | If dataSource is not a data source. |
System ArgumentException | If itemPaths contains no paths. |
System ArgumentException | If name conflict resolution is not a valid member of that enum. |
Spotfire.Dxp.Framework.ApplicationModel CanceledException | If the user aborts the operation. |
Spotfire.Dxp.Data.Exceptions InformationModelException | If an error occurs in the communication with the server. |
Remarks
Version Information
See Also