Global Schema is the function to register in-output schema of a component included in any projects or scripts and refer from in-output schema of document mappers.
Global Schema can be registered from component icons on a script canvas or in-output schema of mapper editors, and referred from in-output schema of mapper editors.
Also, management like viewing, deletion, or settings modification on security is available from control panel.
Global Schema has following advantages.
Setting the same schema to multiple projects and scripts
There may be a case when you have data with same schema and want to use it in multiple projects or scripts, when developing by connecting multiple projects or scripts.
In that case, the same schema can be set to document mappers in multiple projects or scripts by registering or referring a global schema.
Modifying schemas at once
There might be a case that you need to modify schemas while developing and using scripts.
In that case, modify the schemas in the same way if the same schema is used in multiple projects, scripts or components.
By setting to refer a global schema in advance, you can modify only the master schema and all the referring schemas are modified in the same way, rather than modifying schemas by each project, script and component.
Managing schemas uniformly
Global Schema can be uniformly managed with "Global Schema settings" in the control panel.
In "Global Schema settings", youb can view, delete, and modify settings on security of global schemas.
How to use
For details on Global Schema registration, reference, update, and unlinking, refer to "Utilizing Global Schema" in Service Guide.
On script canvas you can register global schemas from components which have specific input schema or output schema and the schemas are uneditable.
If it is a component from which register a global schema, [Global schema] on the right-click menu of the component icon is enabled.
You can find components which have specific schema by opening pages of components and check "Loading schema in Mapper". If there is a description "Schema is loaded automatically." it's one of the components.
If you can edit schemas of a component, you cannnot register global schemas from it on script canvas. Please draw a data flow to a document mapper and register it from Mapper editor.
In "Update referring components" on "Global Schema registration" screen, component schemas referring a global schema can be modified at once.
In this case, all of the modification target projects are deployed into the client side, and saved to the server after modification of each schema.
Therefore when you execute Update referring components, performance of the client machine operating Studio/Studio for Web is the key.
If many referring components exist, we recommend you to use a client machine with high performance CPU and much memory amount.
If Studio is used, heap size of Studio is required to be kept. For details on how to set, refer to "Property Reference."
Specification Limits
Global Schema can only be used within document mapper.
When you create a global schema that contains prohibited characters, error occurs and global schema settings may remain in incorrect status in DataSpider file system.
If you register a schema which contains elements of the same name as Global Schema, indexes are added to them automatically.
Notes
About Global Schema registration
Before Global Schema registration you need to save all projects opening in designer or save the source project and close any other projects.
To prevent from overwriting projects unintentionally, do not open multiple designer when performing global schema registration.