Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » Requirements Addon » Parse string requirement ID when importing .reqIF(Problem while importing requirements that contain a string in ID field )
Parse string requirement ID when importing .reqIF [message #1823866] Fri, 03 April 2020 09:08 Go to next message
Peter San is currently offline Peter SanFriend
Messages: 3
Registered: April 2020
Junior Member
Hello.

I am trying to import a .reqIF file into Capella.

Requirements have a string as identification, for example MYREQ001, MYREQ002, etc.

It seems that Capella tries to parse the identification as an integer so the import action fails.

index.php/fa/37738/0/

The same requirements work if I change the identification to 1, 2, etc.

If I try to import the same file into other tools like ReqIF Studio or DOORS they import the ID as ForeignID field and they keep the string without problems.

Would it be possible to parse that kind of ID in Capella?

Thanks.
Re: Parse string requirement ID when importing .reqIF [message #1823881 is a reply to message #1823866] Fri, 03 April 2020 12:45 Go to previous messageGo to next message
Navas Juan is currently offline Navas JuanFriend
Messages: 49
Registered: January 2020
Member
Hello,
If the issue is related to the ForeignID attribute, maye this post can help you: https://polarsys.org/forums/index.php/t/911/
Which tool are you using to export the ReqIF file?
Hope it helps,
Re: Parse string requirement ID when importing .reqIF [message #1824021 is a reply to message #1823881] Mon, 06 April 2020 15:09 Go to previous message
Peter San is currently offline Peter SanFriend
Messages: 3
Registered: April 2020
Junior Member
That was exactly the problem, thank you (sorry for not finding that thread before posting).

By removing the ForeignID import option from Preferences (Capella -> Requirements -> Importer) the requirements were properly imported.

Since I am using a notation in which the ID is the same as the Name, it is not a big problem.

I used Cameo Systems Modeler to export to ReqIF. By default it uses an integer for the ID, but it can be manually changed to a string value.
Previous Topic:Requirement internal relation
Next Topic:Manage and describe Requirements
Goto Forum:
  


Current Time: Mon Sep 20 08:31:52 GMT 2021

Powered by FUDForum. Page generated in 0.02113 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top