updateFromDocument
Class: slreq.Reference
Namespace: slreq
Update referenced requirements from external requirements document
Syntax
Description
[
updates the referenced requirements under the import node status
,changeList
] = updateFromDocument(topRef
)topRef
. The
function returns the update status and a list of updated requirements.
[
updates the referenced requirements under the import node from the external requirements
document specified by status
,changeList
] = updateFromDocument(topRef
,docURI
)docURI
. Use this syntax to update referenced
requirements when the name or path of the external requirements document has changed.
Input Arguments
Output Arguments
Examples
Tips
When your requirement set contains requirements imported from multiple external requirements documents, update only the referenced requirements from the specified external requirements document by using the
updateReferences
method.To change the stored name and path of the external requirements document without updating the imported referenced requirements, use the
updateSrcFileLocation
method.