Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Setting default value for priority field
hi for all
i use liferay 7.2 ga2
i need to change the default value of priority field to be character value instead of number
for example put middel instead of 1
i use liferay 7.2 ga2
i need to change the default value of priority field to be character value instead of number
for example put middel instead of 1
ghadeer raad:
The priority field (of web content) is numerical, and if you change it, something might break. If you need something separate from it, create a custom field. Or find where you want to display it and display something based on the number. But the database has a numerical field.
hi for all
i use liferay 7.2 ga2
i need to change the default value of priority field to be character value instead of number
for example put middel instead of 1
thanks for answer me
so can i change the name of priority field to another name ?
so can i change the name of priority field to another name ?
ghadeer raad:
so can i change the name of priority field to another name ?
1. In the database: No! You would create an unmaintainable system that breaks with the next minor upgrade
2. In the UI translation: Yes: You can override any translation that appears on the user interface and name it as you like. There are blade-samples for that
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™