I need to change the way some of the attributes picks up input values, in the environment of one of the Database. When looking under the properties of one of the attribute the default value option is set to 'None' and under the 'Update value' it mentions 'This field can not be triggered because it is a code field'. Instead of setting this value under code field, I want to set it as an input directly from any user. I reckon it will involve using 'define document code' but cant figure out which options to chose. If it requires different approach then kindly mention.
Can you provide bit more clarification on 'change the way some of the attributes picks up input values'? May be an example would help.
If you are looking to change values displayed in drop down, you might want to check for third option in value tab of attribute properties i.e., value list.
Note that even document code fields can take inputs directly from user and not necessarily be an auto populated or drop down fields. Major difference being these attribute values take part in formation of document code string.
If you need to remove this attribute entirely from document code string, you are right, it involves 'Define Document Code' option.
You might want to trade cautiously here if you already have documents in this environment with codes generated.
Below document will help you with Document Code definition, with screen by screen explanation.
I checked the link you mentioned and found something-
"13. (Optional) Turn on Allow empty value, then click Next.
This allows the user to leave any of the document code fields that are not automatically generated empty.
Any changes you make are displayed in the Preview field."
I'm still not sure how to go about this, I need to leave it empty but able to input values from the user.
Looking at your requirement, I would say using option 'define document code' should not be necessary.
Now, is this 'Transmittal_Number' property taking automatically populated value? my guess is No. Can you put same screen shot for property actually in problem (taking automatically populated) value?
If this is the property in problem, can you please raise a service request. This would need to be looked at. According to your screenshot, it should not give you any pre-populated value while generating document code.
Log a service request @ https://apps.bentley.com/srmanager/ProductSupport
Did some tinkering in the tool and with the help of another colleague we figured out what was the requirement. Basically all we had to do was to remove the 'Placeholder' option in the define code and now the Trans No. is getting auto generated but still editable so manual text can also be taken from any user. It solves my problem. Thanks for the assistance.