创建新话题
已回答

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.


最佳答案

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. :-)

回答

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

登录 发表评论