Administration: Managing the Default Product Configuration Rule Level

As an Administrator, you can retrieve and change the default rule level used for creating and editing product configurations.


Before you begin: In this context, the term security context refers to a collaborative space.
  1. If you do not know the current default rule level for product configurations, run the following service from a REST client to retrieve it:

    POST ${hostname}/3DSpace/resources/v1/modeler/dspfl/invoke/dspfl:getDefaultRuleEvalMode

    Headers:

    SecurityContext: VPLMProjectLeader.MyCompany.3DS Collab Space 
    Content-Type: application/json

    Security Context Element Action
    VPLMProjectLeader Use the name of your responsibility that has the appropriate access and permissions.
    MyCompany Use the name of your company.
    3DS Collab Space Use the name of the collaborative space.

    Body:

    {} 

    Sample Output:

    {
    "evaluateRules":"true",
    "ruleEvaluationMode":"CompleteConfiguration"
    }

  2. To change the default rule level for product configurations, run the following service from a REST client:

    POST ${hostname}/3DSpace/resources/v1/modeler/dspfl/invoke/dspfl:setDefaultRuleEvalMode

    Headers:

    SecurityContext: VPLMProjectLeader.MyCompany.3DS Collab Space
    Content-Type: application/json

    Security Context Element Action
    VPLMProjectLeader Use the responsibility that has the appropriate access and permissions.
    MyCompany Use the name of your company.
    3DS Collab Space Use the name of the collaborative space.

    Body:

    { 
    "mode": “RuleMode” 
    }

    The possible values for RuleMode are:

    CompleteConfiguration In the user interface, it is Complete.
    Dependencies In the user interface, it is Aided.
    Incompatibilities In the user interface, it is Compatible.
    NoRule In the user interface, it is No rule applied.

    Sample Output:

    {"message":"Default Rule Evaluation Mode set successfully."}