Hi,
I have a dropdown with options in the form of: key=value:
1=Option 1
2=Option 2
...
When I create a document of record, only the keys are visible, like: 1,2,3...
I need to change that so in the DoR only the selected values are visible. Is there an API for that I can use? Or what can I do?
해결되었습니다! 솔루션으로 이동.
토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.
조회 수
답글
좋아요 수
Hello @marcink-lwR9iu,
Currently, OOTB we do not have the feature to choose between wanting to display the key or the value option for the dropdown field. However, this feature will be added to the product in the upcoming releases.
In the meantime, if you wish to achieve the same you can use a custom DOR template bonded to the filed and add a custom "if-else" statement to the field to display the specific value based on the selection.
Thanks
Pranay
조회 수
답글
좋아요 수
Hello @marcink-lwR9iu ,
What's the AEM Forms Version you are using on your Instance ?
Please try this on any version greater than SP18.
Thanks,
Utkarsh
조회 수
답글
좋아요 수
Hello @marcink-lwR9iu,
Currently, OOTB we do not have the feature to choose between wanting to display the key or the value option for the dropdown field. However, this feature will be added to the product in the upcoming releases.
In the meantime, if you wish to achieve the same you can use a custom DOR template bonded to the filed and add a custom "if-else" statement to the field to display the specific value based on the selection.
Thanks
Pranay
조회 수
답글
좋아요 수