<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Milestones scripting not working?! in Fusion Manage Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-manage-forum/milestones-scripting-not-working/m-p/10257103#M1138</link>
    <description>&lt;P&gt;Oh...I have found the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have developped this script on the Classic User Interface and tested also on the Modern User Interface few months ago. We are on the CUI because some features very used by our company are not in the MUI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today, when I test the script on the Modern User, everything is working fine. Why it has changed on the Classic???? It is not funny !!!!!!! How is it possible to certify our PLM configuration if it is moving all the time???&lt;/P&gt;</description>
    <pubDate>Wed, 21 Apr 2021 15:35:03 GMT</pubDate>
    <dc:creator>PLM-Sylvain.Bailly</dc:creator>
    <dc:date>2021-04-21T15:35:03Z</dc:date>
    <item>
      <title>Milestones scripting not working?!</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/milestones-scripting-not-working/m-p/10257062#M1136</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything was fine with the scripting used to update our milestones defined as "100%" every time we edit a PLM object but we have noticed today that the script is not working. Could you please terll me if an update was made on the scripting on the Autodesk side?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Action script call "On Edit":&lt;/P&gt;&lt;LI-CODE lang="general"&gt;updateMileStones(item.DUE_DATE);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Library script call by the Action script:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;// Function to update the milestones of a PLM object
// Only the milestones with a percentage equals to 100% will be updated according the field "Due date" of the tab "Details"
function updateMileStones(dueDate){
    var i = 0;
    
    for(i; i &amp;lt; item.milestones.length; i++){
        if(item.milestones[i].progress === 100){
            item.milestones[i].milestoneDate = dueDate; 
        }
    }
	return;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It cannot be more easier. Why it is not working now?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sylvain&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 15:23:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/milestones-scripting-not-working/m-p/10257062#M1136</guid>
      <dc:creator>PLM-Sylvain.Bailly</dc:creator>
      <dc:date>2021-04-21T15:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Milestones scripting not working?!</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/milestones-scripting-not-working/m-p/10257076#M1137</link>
      <description>&lt;P&gt;As you can see in the log tab, the script is running but the value is not updated in the tab "Milestones":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChangeLog.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/909745i3C016AE12ED65C62/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChangeLog.png" alt="ChangeLog.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 15:27:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/milestones-scripting-not-working/m-p/10257076#M1137</guid>
      <dc:creator>PLM-Sylvain.Bailly</dc:creator>
      <dc:date>2021-04-21T15:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Milestones scripting not working?!</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/milestones-scripting-not-working/m-p/10257103#M1138</link>
      <description>&lt;P&gt;Oh...I have found the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have developped this script on the Classic User Interface and tested also on the Modern User Interface few months ago. We are on the CUI because some features very used by our company are not in the MUI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today, when I test the script on the Modern User, everything is working fine. Why it has changed on the Classic???? It is not funny !!!!!!! How is it possible to certify our PLM configuration if it is moving all the time???&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 15:35:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/milestones-scripting-not-working/m-p/10257103#M1138</guid>
      <dc:creator>PLM-Sylvain.Bailly</dc:creator>
      <dc:date>2021-04-21T15:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Milestones scripting not working?!</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/milestones-scripting-not-working/m-p/10341371#M1139</link>
      <description>&lt;P&gt;Just closing the loop here for visibility of others, a fix for this issue was released yesterday, 2021-05-25.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Giliar&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 14:38:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/milestones-scripting-not-working/m-p/10341371#M1139</guid>
      <dc:creator>giliar.defriesperez</dc:creator>
      <dc:date>2021-05-26T14:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Milestones scripting not working?!</title>
      <link>https://forums.autodesk.com/t5/fusion-manage-forum/milestones-scripting-not-working/m-p/10341382#M1140</link>
      <description>&lt;P&gt;Yes, now it is working well.&lt;/P&gt;&lt;P&gt;Thank you very much &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1628410"&gt;@giliar.defriesperez&lt;/a&gt;&amp;nbsp;and the Autodesk support&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 14:41:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-manage-forum/milestones-scripting-not-working/m-p/10341382#M1140</guid>
      <dc:creator>PLM-Sylvain.Bailly</dc:creator>
      <dc:date>2021-05-26T14:41:48Z</dc:date>
    </item>
  </channel>
</rss>

