Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Programmatically Update Modified-On for DNG resource

We are using DNG 702 with latest fix pack.

We are changing from one component model to multiple component model; hence we wanted to distribute the Modules from one Component to Multiple Components.

I am cloning each Module Baseline to the same Target Folder. Target is updated for each Clone. But Modified-On shows the time of cloning.


Following call returns 403 error:

Section in Bold in the Body is added to the standard Body.

Body:
    <rm:Artifact rdf:about="">
        <rm:hasAttrVal rdf:parseType="Resource">
            <rdf:value rdf:resource="http://www.ibm.com/xmlns/rdm/types/ArtifactFormats#Text"/>
            <rm:hasAttrDef rdf:resource="http://www.ibm.com/xmlns/rdm/types/ArtifactFormat"/>
        </rm:hasAttrVal>
        <rm:hasAttrVal rdf:parseType="Resource">
            <rm:hasAttrDef rdf:resource="https://localhost:9443/rm/types/AD_rDFs1KrvEe6888SLt2uf4g"/>
        </rm:hasAttrVal>
        <rm:hasAttrVal rdf:parseType="Resource">
            <rm:hasAttrDef rdf:resource="https://localhost:9443/rm/types/AD_rDFs1KrvEe6888SLt2uf4g"/>
        </rm:hasAttrVal>
        <rm:hasAttrVal rdf:parseType="Resource">
            <rdf:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string"/>
            <rm:hasAttrDef rdf:resource="http://purl.org/dc/terms/description"/>
        </rm:hasAttrVal>
        <rm:hasAttrVal rdf:parseType="Resource">
            <rdf:value rdf:parseType="Literal">
                <div xmlns="http://www.w3.org/1999/xhtml">
                    <p dir="ltr" id="_1638188924853">This document defines common diagnostic requirements shared by all tools of the PL48 platform. The latest version of requirements in this document shall be included by reference in any new PL48 Tool SOR. 4</p>
                </div>
            </rdf:value>
            <rm:hasAttrDef rdf:resource="http://www.ibm.com/xmlns/rdm/types/PrimaryText"/>
        </rm:hasAttrVal>
        <rm:hasAttrVal rdf:parseType="Resource">
            <rdf:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string"/>
            <rm:hasAttrDef rdf:resource="http://purl.org/dc/terms/title"/>
        </rm:hasAttrVal>
        <rm:hasAttrVal rdf:parseType="Resource">
            <rdf:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string">PL48.DIAG.20266</rdf:value>
            <rm:hasAttrDef rdf:resource="https://localhost:9443/rm/types/AD_rDFs1qrvEe6888SLt2uf4g"/>
        </rm:hasAttrVal>
        <rm:hasAttrVal rdf:parseType="Resource">
            <rdf:value rdf:datatype="http://www.w3.org/2001/XMLSchema#int">20266</rdf:value>
            <rm:hasAttrDef rdf:resource="https://localhost:9443/rm/types/AD_rDNoq6rvEe6888SLt2uf4g"/>
        </rm:hasAttrVal>
        <rm:hasAttrVal rdf:parseType="Resource">
            <rdf:value rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2024-01-03T13:42:29.617Z</rdf:value>
            <rm:hasAttrDef rdf:resource="http://purl.org/dc/terms/modified"/>
        </rm:hasAttrVal>
        <rm:ofType rdf:resource="https://localhost:9443/rm/types/OT_rD4XAKrvEe6888SLt2uf4g"/>
        <rm:processArea rdf:resource="https://localhost:9443/rm/process/project-areas/_h8mvAJBMEe6XlPujJfyqOA"/>
        <rm:module rdf:resource="https://localhost:9443/rm/resources/MD_yC1g4JBOEe6XlPujJfyqOA"/>
        <rm:isHeading rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</rm:isHeading>
    </rm:Artifact>
</rdf:RDF>


403 Response

    <h1>Error 403: Forbidden</h1>
    <p>CRRRS8660E The system attribute http://purl.org/dc/terms/modified cannot be updated to
        2024-01-03T13:42:29.617Z^^http://www.w3.org/2001/XMLSchema#dateTime.
        <hr><i>Requirements Management/7.0.2 SR1</i></p>

0 votes



One answer

Permanent link

Modified on and Modified By are system controlled and can't be updated programmatically

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,948

Question asked: Jan 04 '24, 9:27 a.m.

Question was seen: 554 times

Last updated: Jan 04 '24, 6:05 p.m.

Confirmation Cancel Confirm