AnsweredAssumed Answered

Updating Team data using custom process

Question asked by roland.parrotte Champion on Jul 19, 2016
Latest reply on Jul 21, 2016 by Chris_Hackett

Attempting to update start/end dates on the TEAM tab, as well as the Staff OBS using a custom process.  First attempt destroyed the Allocation information, due to this limitation:


So now XOG'ing out the whole Project, including Team and Allocations, and have successfully used XSL stylesheet to update the Start and End Dates.  However, I can't get the stylesheet to update the StaffOBSUnit:

    <x:parse var="xsl">

      <xsl:stylesheet version="1.0" xmlns:xsl="">

        <xsl:output cdata-section-elements="nsql" method="xml"/>

        <xsl:preserve-space elements="nsql"/>

        <xsl:template match="Resource/@resourceID[.='${v_rows.unique_name}']">

          <xsl:attribute name="availTo">

            <xsl:value-of select="'${v_rows.prfinish}'"/>


          <xsl:attribute name="availFrom">

            <xsl:value-of select="'${v_rows.prstart}'"/>


          <xsl:attribute name="staffOBSUnit">

            <xsl:value-of select="'${v_rows.obs_name}'"/>


          <xsl:attribute name="resourceID">

            <xsl:value-of select="'${v_rows.unique_name}'"/>



        <xsl:template match="XOGOutput"/>

        <xsl:template match="node()|@*">


            <xsl:apply-templates select="@*|node()"/>





    <x:parse var="xml">

      <gel:include select="$v_project_output"/>


    <gel:parse var="v_project_output1">

      <x:transform xml="${xml}" xslt="${xsl}"/>



Has anyone done anything similar, or can spot why the staffOBSUnit doesn't get updated in  the above XSL, even though the availTo and availFrom does?