PTC FlexPLM Fundamentals > Samples > Auto Create a New Sample or Sample Request Based on Status > Configuring Attributes to Use the Auto Create Sample or Sample Request Based on its Status Functionality
  
Configuring Attributes to Use the Auto Create Sample or Sample Request Based on its Status Functionality
For the auto creation sample based on sample status, the following attributes needs to be created.
1. The Sample Status Hidden attributes are as follows:
Attribute Characteristic
Value
Internal Name
Update the admin defined value in the com.lcs.wc.sample.Sample.sampleStatusHidden property.
Type
Sample
Display Label
Admin Defined
FlexPLM Attribute Type
String
Layout
This value should not be available in the layout, the attribute should be hidden.
2. The Sample Request Status Hidden attributes are as follows:
Attribute Characteristic
Value
Internal Name
Update the admin defined value in the com.lcs.wc.sample.Sample.sampleReqStatusHidden property.
Type
Sample Request
Display Label
Admin Defined
FlexPLM Attribute Type
String
Layout
This value should not be available in the layout, the attribute should be hidden.
3. The Iterative Number Attribute to be created on sample requests are as follows:
Attribute Characteristic
Value
Internal Name
Update the admin defined value in the com.lcs.wc.sample.Sample.sampleReqIterativeNoproperty.
Type
Sample Request
Display Label
Admin Defined
FlexPLM Attribute Type
Integer
Layout
This value should not be available in the layout, the attribute should be hidden.
4. The Sample Request Sequence attribute to be created on sample request are as follows:
Attribute Characteristic
Value
Internal Name
Update the admin defined value in the com.lcs.wc.sample.Sample.sampleRequestSequencepropertyproperty.
Type
Sample Request
Display Label
Admin Defined
FlexPLM Attribute Type
Integer
Layout
This value should not be available in the layout, the attribute should be hidden.