Convert artifact attribute from a multiple value type to a single value
Good morning,
I was changing the configuration for one component in DNG and I missclicked and changed the Status attribute from "One value" to "Multiple value". Now I cannot go back and change it again
The artifact attribute cannot be converted to a single value.
hide details
ID CRRRW7369E The artifact attribute cannot be converted from a multiple value type to a single value type because there are artifacts that have multiple values set for this attribute. Edit the artifacts so that each artifact selects no more than one value for this attribute.
This is the error I am getting, but there are no artifacts with multiple status.
Anyone knows what can I do?
Thanks in advance
2 answers
If you have not created values of that custom property on requirements, you could archive the old artifact attribute and create a new one that has the cardinality that you would like.
Comments
Thank you for your answer. The thing is that I had already introduced the status for all my requirements, but they currently have only ONE status, not many of them (as the error message says)
I suspect the real answer is that what you want to do is curerntly not supported. But I'm willing to be contradicted by someone on the DOORS Next dev team. :-)
Hello Pablo,
i usually follow the procedure below to fix the problem:
- Create a view with all articats having that attribute set. Filter on artifact type
- Remove the columns Name, Modified On and Modified By. Add a column with the Status attribute. Leave the coluns ID and Artifact Type, as they'll be required later
- Save this configuration to a view
- Export the newly created view to an excel file
- Remove the Status Attribute from the Artifact Type, that use it and save.
- Delete the attribute Status and recreate it.
- Add the attribute to the Artifact Type, that use it and save.
- Import the excel file you exported.
I hope this helps
Regards