RadiantQ Forum

Product => jQuery Gantt Package => Topic started by: dniezgoda on February 24, 2021, 03:31:29 PM

Title: Export To MS Project XML with multiple Predecessor value
Post by: dniezgoda on February 24, 2021, 03:31:29 PM
Hi Support team,

we have an issue with Save MS Project XML functionality, it cannot export the full predecessor column with multiple value
for eg: Predecessor value is "1,2" then only "2" was exported when opened it from MS Project

could you help me to resolve this issue?

Thanks in advance!
Title: Re: Export To MS Project XML with multiple Predecessor value
Post by: dniezgoda on February 24, 2021, 04:12:46 PM
btw, i have checked the source code, looks like PredecessorLink is alway overrided by last predecessor value

Code: [Select]
f.ProjectTask.prototype.updatePredIndicesString = function (a) {
        var c = this.Element.PredecessorLink;
        null != c && void 0 != c && delete this.Element.PredecessorLink;
        if (null != a && "" != a) {
            var c = [],
                d = [],
                e = [],
                h = this._project.Tasks;
            b.Model.DataBoundGanttModel.ProcessPredecessorString(a, 1, c, d,
                e, void 0);
            for (a = 0; a < c.length; a++) {
                var m = c[a];
                h.ContainsTask(m) && (m = h.GetTaskByID(c[a]).ID);
                var k = {};
                k.PredecessorUID = m;
                k.Type = f.Utils.toString(d[a]);
                k.LinkLag = f.Utils.toLagString(e[a]);
                this.Element.PredecessorLink = k
            }
        }
    };
Title: Re: Export To MS Project XML with multiple Predecessor value
Post by: Rajagopal on February 25, 2021, 03:35:36 PM
We are looking on this, will update you soon.
Title: Re: Export To MS Project XML with multiple Predecessor value
Post by: dniezgoda on March 04, 2021, 03:21:56 PM
We are looking on this, will update you soon.
Hi,

Any update on this please?
Title: Re: Export To MS Project XML with multiple Predecessor value
Post by: Rajagopal on March 04, 2021, 04:18:24 PM
Hi,

MSProject xml has repeated node xml element to store the predecessor values, without any dedicated parent for it. So, converting from JSON object to XML wouldn't work. We are making progress to support it in-built itself. Will update you soon.
Title: Re: Export To MS Project XML with multiple Predecessor value
Post by: Rajagopal on March 26, 2021, 09:51:26 AM
Hi,

We have fixed this issue, can you please send an email to support@radiantq.com to get the latest version?

Thanks
Raja