Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

It is possible to define several source systems for imports in import storage and task manager. Each source system can use the same transform as other source systems. The purpose is to be able to control imports, e.g. to have different import intervals depending on source system or turn off certain source systems.

The possibility to have different sources exist in version 5.0 and later.

Configuration

Configuration file: import.config

Location: C:\ProgramData\Signifikant\Assert\

Sources has to be defined in two locations in import.config;

  • Define the location on disk for each source

  • Define sources for each transform

<XmlConfig>
	<ExportBasePath>C:\Signifikant\Export</ExportBasePath>
	<ImportBasePath>C:\Signifikant\Import</ImportBasePath>
	<StyleSheetsBasePath>C:\ProgramData\Signifikant\Assert</StyleSheetsBasePath>
	
	
	<!-- Define the locations on disk for the different soures here. All sources can have the same location but in such case 
	     each location has to have a unique folder name defined in the transform section further down. -->
	<Sources>
		<ImportSource name="Germany">
			<ExportBasePath>C:\Signifikant\Export</ExportBasePath>
			<ImportBasePath>C:\Signifikant\Import</ImportBasePath>
		</ImportSource>
		<ImportSource name="France">
			<ExportBasePath>C:\Signifikant\Export</ExportBasePath>
			<ImportBasePath>C:\Signifikant\Import</ImportBasePath>
		</ImportSource>
		<ImportSource name="China">
			<ExportBasePath>C:\Signifikant\Export</ExportBasePath>
			<ImportBasePath>C:\Signifikant\Import</ImportBasePath>
		</ImportSource>
		<ImportSource name="US">
			<ExportBasePath>C:\Signifikant\Export</ExportBasePath>
			<ImportBasePath>C:\Signifikant\Import</ImportBasePath>
		</ImportSource>
	</Sources>
	
	<TransformerSettingList/>
	<InitialItemStatusList/>
	<ImportSetting/>
    
    
    
	<!-- In this tag the sources for each transformer needs to be defined. -->
	<TransformerSettingList>
		<TransformerSetting Name="DometicFactory" TransformType="Customize">
			<StylesheetPath>C:\ProgramData\Signifikant\Assert\Customize</StylesheetPath>
                
                
			<!-- In this section list each source and ensure regex correspond to folder name -->
			<FolderRegexSettings>
				<FolderRegexSetting>
					<Source>Germany</Source>
					<Regex>Factory_Germany|FACTORY_GERMANY</Regex>
				</FolderRegexSetting>
				<FolderRegexSetting>
					<Source>France</Source>
					<Regex>Factory_France|FACTORY_FRANCE</Regex>
				</FolderRegexSetting>
				<FolderRegexSetting>
					<Source>China</Source>
					<Regex>Factory_CN|FACTORY_CN</Regex>
				</FolderRegexSetting>
				<FolderRegexSetting>
					<Source>US</Source>
					<Regex>Factory_US|FACTORY_US</Regex>
				</FolderRegexSetting>
			</FolderRegexSettings>
		</TransformerSetting>
	<TransformerSettingList>
</XmlConfig>


Related issues



  • No labels