Good afternoon.
I did not find something under the documentation.
Is it possible to interfere with the MspExport feature process? There is a problem that msproject does not accept large UIDs. And in my implementation the UID is 19 characters. In addition, there is a GUID. I would like to be able to affect the exported identifiers
Support Forum
There is no good public way of processing the exported data at the moment. So I've made a ticket for adding it: https://github.com/bryntum/support/issues/3565
And here is how it can be done now by overriding a private method:
// make an override for standard MspExport class
class MspExportOverride {
static get target() {
return {
class : MspExport
};
}
// override its generateExportData private method to inject our custom processing of the collected data
generateExportData() {
// call overridden function
const data = this._overridden.generateExportData.apply(this, arguments);
// do some data processing here
debugger
return data;
}
}
// apply the override
Override.apply(MspExportOverride);
Here is Override
class docs: https://bryntum.com/docs/gantt/api/Core/mixin/Override