콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

Hi , i want ask you if it is possible to create(add) a calculated field just from developer mode into your model

for example create a field called duration 

duration = start_date - expiration_date 


아바타
취소
베스트 답변

Hi,

You can do it from the front-end after activating the developer mode, You have to Navigate to Settings -> Technical -> Database Structure -> Fields, search your field there and you can set the compute function over there.




Please see the last part of the video and see how it is done: https://www.youtube.com/watch?v=0qPVrLoIiOM

Thanks

아바타
취소
관련 게시물 답글 화면 활동
5
4월 20
7826
0
2월 17
4858
1
8월 24
3473
3
10월 23
8649
1
9월 23
3249