updateSrcFileLocation
Class: slreq.ReqSet
Namespace: slreq
Update document location of imported requirements
Syntax
updateSrcFileLocation(rs,oldID,newID)
Description
updateSrcFileLocation(
updates the Artifact
property from rs
,oldID
,newID
)oldID
to newID
for the referenced
requirements in the requirement set rs
that have Artifact
set to oldID
. Use this function to update the stored external
requirements document name and path associated with the imported referenced
requirements.
Input Arguments
Examples
Tips
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.To update the external requirements document resource identifier for referenced requirements imported from non-file-based domains, use the
updateSrcArtifactUri
method.
Version History
Introduced in R2017b