updateDocUri
Class: slreq.LinkSet
Namespace: slreq
Update link destinations for renamed or moved document
Description
updates the link destinations in the link set specified by count
= updateDocUri(myLinkSet
,oldID
,newID
)myLinkSet
from the file with the resource identifier oldID
to the file with the
resource identifier newID
. The new file can be a requirement set or an
external requirements document. The method returns the number of links updated.
Note
You might have to save the link set, close it, and reopen it to see the changes.
Input Arguments
Output 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 update the external requirements document resource identifier for referenced requirements imported from non-file-based domains, use the
updateSrcArtifactUri
method.
Version History
Introduced in R2018a