updateSrcArtifactUri
Class: slreq.ReqSet
Namespace: slreq
Syntax
updateSrcArtifactUri(rs,oldURI,newURI)
Description
updateSrcArtifactUri(
updates the Artifact
property from rs
,oldURI
,newURI
)oldURI
to newURI
for the referenced
requirements in the requirement set rs
that have Artifact
set to oldURI
. Use this function to update the external requirements
document associated with the imported requirements from non-file-based domains, such as a
query URL.
Input Arguments
Examples
Tips
To update the file name or path of the referenced requirements in the requirement set when you rename or move an external requirements document file, use
updateSrcFileLocation
.To change the stored name and path of the external requirements document and update the imported referenced requirements under the import node, use the
updateFromDocument
method.To update the link destinations for direct links when you rename or move an external requirements document, use the
updateDocUri
method.
Version History
Introduced in R2022a