Click or drag to resize

ExtendedExportSettingsT Class

Provides general extended settings for export.

Extend your Extension from ExportBase2MAIN, EXPORTHANDLER, FIELDSETTINGSTYPE, EXPORTSETTINGSTYPE, PROFILESETTINGSTYPE, USERSETTINGSTYPE, LOOKUPLISTHANDLER, LOOKUPLISTSETTINGS, SEARCHGROUPHANDLER, SEARCHGROUPSETTINGS to use these settings.

You can use this as is, but if you extend, then you MUST override Serialize(Stream) and Deserialize(Stream), and MUST CALLbase.Serialize(s); / base.Deserialize(s); as a first thing in your implementation!!

If you are creating new built-in object, you also MUST OVERRIDEIsCustomized.
Inheritance Hierarchy
SystemObject
  CTExtensions.ExportCore.ConfigSettingsObject
    CTExtensions.ExportCore.ConfigExportSettingsBaseT
      CTExtensions.ExportCore.ExportHandler.ExtendedSettingsExtendedExportSettingsT

Namespace: CTExtensions.ExportCore.ExportHandler.ExtendedSettings
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public class ExtendedExportSettings<T> : ExportSettingsBase<T>, 
	IExtendedExportSettings
where T : new(), ExtendedExportFieldSettings

Type Parameters

T

The ExtendedExportSettingsT type exposes the following members.

Constructors
 NameDescription
Public methodExtendedExportSettingsTInitializes a new instance of the ExtendedExportSettingsT class
Top
Properties
 NameDescription
Public propertyCommon_AddMergedItemAsChildAttachment Valid only if Common_MergeSiblingItems is set. Adds the merged row as Merged type child attachment for the target item.
Public propertyCommon_ConversionsWithCheckbox Enables checkboxes in Export and the checkbox controls whether or not conversions are executed.
Public propertyCommon_EnableContextMenuBomModifiers Brings Remove(ExportItem), Promote(ExportItem, Boolean) and Dissolve(ExportItem) behing right click menu for items.
Public propertyCommon_MergeSiblingItems When two sibling ExportItems identify as the same item, merge quantities, and remove the duplicate. If also Common_AddMergedItemAsChildAttachment is set, the removed row is added as Merged type attachment row.
Public propertyCommon_VirtualItemScope Which CustomScope should be used to represent Items.
Protected propertySupportedExtendedSettings List of IExtendedExportSettings's property names that are supported.
Top
Methods
 NameDescription
Public methodCreateExtendedSettingsAdapters Provides the adapter(s) for these extended settings, based on SupportedExtendedExportFieldSettings.
Protected methodDeserialize If you extend this object, then you MUST CALLbase.Deserialize(s) before deserializing your own data.

If you extend this directly in a script, then you MUST NOT deserialize your data if HasSerializedCustomData is false, but instead set your script extended settings to defaults.
(Overrides ExportSettingsBaseFIELDSETTINGSTYPEDeserialize(Stream))
Public methodInit
(Overrides SettingsObjectInit(ICTExtension))
Protected methodIsCustomizedMUST be overridden for built-in settings that inherit this class, in the following way:
C#
protected sealed override bool IsCustomized() 
{
  return GetType() != typeof(<your settings class>); 
}

(Overrides ExportSettingsBaseFIELDSETTINGSTYPEIsCustomized)
Protected methodSerialize If you extend this object, then you MUST CALLbase.Serialize(s) before serializing your own data.
(Overrides ExportSettingsBaseFIELDSETTINGSTYPESerialize(Stream))
Top
Revision History
DateVersionDescription
-2025 SP1First Release
See Also