Start a new topic
Answered

Partly Depricate part: Prevent create New item but allow Add item

Background: There's an item representing an area for specific item types. This item allows creation of requirements and requiremet groups, as well as adding the same within this aarea.


Need: The item representing an area should be able to add analysis requirements but not create new analysis requirement directly within the item representing an area. The reason for not allowing to create new analysis requirement in the item representing an are is that there is a specific analysis architecture area where all analysis requirements shall be created.


Best Answer

Hi Stefan,


From version R23 (19884) it is possible to restrict add and new for specific part types. You can do this in the architect.

Select "Edit Config" for a part type and add a configuration:

image


The configurations allowed are: 

AllowAddPart

If AllowAddPart is set to false the GUI in the SystemWeaver client will not allow "Add" for this part type.

 

AllowNewPart

If AllowNewPart is set to false the GUI in the SystemWeaver client will not allow "New" for this part type.

 

  <PartTypeConfig>

    <AllowAddPart value="false"/>

    <AllowNewPart value="false"/>

  </PartTypeConfig>


Best regards

Martin


Answer

Hi Stefan,


From version R23 (19884) it is possible to restrict add and new for specific part types. You can do this in the architect.

Select "Edit Config" for a part type and add a configuration:

image


The configurations allowed are: 

AllowAddPart

If AllowAddPart is set to false the GUI in the SystemWeaver client will not allow "Add" for this part type.

 

AllowNewPart

If AllowNewPart is set to false the GUI in the SystemWeaver client will not allow "New" for this part type.

 

  <PartTypeConfig>

    <AllowAddPart value="false"/>

    <AllowNewPart value="false"/>

  </PartTypeConfig>


Best regards

Martin

Thanks!

This was exactly what I was looking for. :-)

Login to post a comment