updateDocUri
Class: slreq.LinkSet
Package: slreq
Update link destination for direct links
Syntax
count = updateDocUri(myLinkSet,oldID,newID)
Description
updates the link destinations for the direct links in the link set specified by
count
= updateDocUri(myLinkSet
,oldID
,newID
)myLinkSet
from the external document specified by the resource
identifier (such as a file path or IBM®
Rational®
DOORS® module ID) oldID
to the external document specified by the
resource identifier newID
. The method returns the number of links
updated.
Note
You might have to save the link set, close it, and reopen it for the changes to take effect.
Input Arguments
Output Arguments
Examples
Tips
If you rename or move an external requirements document file, use
updateSrcFileLocation
to update the file name or path of the referenced requirements in the requirement set.To update the external requirements document resource identifier for referenced requirements imported from non-file-based domains, use
updateSrcArtifactUri
.
Version History
Introduced in R2018a