Message Boards
Setting default value for priority field
ghadeer raad, modified 3 Years ago.
Setting default value for priority field
Junior Member Posts: 51 Join Date: 6/2/20 Recent Posts
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
Olaf Kock, modified 3 Years ago.
RE: Setting default value for priority field
Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Postsghadeer 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
ghadeer raad, modified 3 Years ago.
RE: Setting default value for priority field
Junior Member Posts: 51 Join Date: 6/2/20 Recent Posts
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 ?
Olaf Kock, modified 3 Years ago.
RE: Setting default value for priority field
Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Postsghadeer 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