October 19, 2025, 07:48:24 PM

See more Support incidents in our old archived forum.

Author Topic: Export To MS Project XML with multiple Predecessor value  (Read 4892 times)

dniezgoda

  • Customers
  • Newbie
  • *
  • Posts: 35
Export To MS Project XML with multiple Predecessor value
« 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!

dniezgoda

  • Customers
  • Newbie
  • *
  • Posts: 35
Re: Export To MS Project XML with multiple Predecessor value
« Reply #1 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
            }
        }
    };

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 182
Re: Export To MS Project XML with multiple Predecessor value
« Reply #2 on: February 25, 2021, 03:35:36 PM »
We are looking on this, will update you soon.

dniezgoda

  • Customers
  • Newbie
  • *
  • Posts: 35
Re: Export To MS Project XML with multiple Predecessor value
« Reply #3 on: March 04, 2021, 03:21:56 PM »
We are looking on this, will update you soon.
Hi,

Any update on this please?

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 182
Re: Export To MS Project XML with multiple Predecessor value
« Reply #4 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.

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 182
Re: Export To MS Project XML with multiple Predecessor value
« Reply #5 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