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:
PUT with proper headers & If-Match: https://localhost:9443/rm/resources/BI_tSdog5BWEe6XlPujJfyqOA
Section in Bold in the Body is added to the standard Body.
Body:
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rm="http://www.ibm.com/xmlns/rdm/rdf/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:jfs="http://jazz.net/xmlns/foundation/1.0/" xmlns:xs="http://www.w3.org/2001/XMLSchema#" xmlns:h="http://www.w3.org/TR/REC-html40">
<rm:Artifact rdf:about="">
<rm:hasAttrVal rdf:parseType="Resource">
</rm:hasAttrVal>
<rm:hasAttrVal rdf:parseType="Resource">
<rdf:value rdf:resource="https://localhost:9443/rm/types/AT_rCeo1arvEe6888SLt2uf4g#_yCHvIZBOEe6XlPujJfyqOA"/>
</rm:hasAttrVal>
<rm:hasAttrVal rdf:parseType="Resource">
<rdf:value rdf:resource="https://localhost:9443/rm/types/AT_rCeo1arvEe6888SLt2uf4g#_yCHvIpBOEe6XlPujJfyqOA"/>
</rm:hasAttrVal>
<rm:hasAttrVal rdf:parseType="Resource">
</rm:hasAttrVal>
<rm:hasAttrVal rdf:parseType="Resource">
<rdf:value rdf:parseType="Literal">
<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:hasAttrVal>
<rm:hasAttrVal rdf:parseType="Resource">
</rm:hasAttrVal>
<rm:hasAttrVal rdf:parseType="Resource">
</rm:hasAttrVal>
<rm:hasAttrVal rdf:parseType="Resource">
</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:hasAttrVal>
<rm:processArea rdf:resource="https://localhost:9443/rm/process/project-areas/_h8mvAJBMEe6XlPujJfyqOA"/>
</rm:Artifact>
</rdf:RDF>
403 Response
<h1>Error 403: Forbidden</h1>
2024-01-03T13:42:29.617Z^^http://www.w3.org/2001/XMLSchema#dateTime.
<hr><i>Requirements Management/7.0.2 SR1</i></p>
|
One answer
Modified on and Modified By are system controlled and can't be updated programmatically
|
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.