Dear Developers,
As the title said, is there any best way to get the element of a field_code in Kintone? Like getElementById but using field_code instead.
Any answer would be appreciated, thank you.
Afief
Dear Developers,
As the title said, is there any best way to get the element of a field_code in Kintone? Like getElementById but using field_code instead.
Any answer would be appreciated, thank you.
Afief
The Kintone API allows you to get an element depending on the page and field as below, so I would think those are the best way.
●kintone.app.getFieldElements(fieldCode) at Record list Page
https://developer.kintone.io/hc/en-us/articles/213148937-Get-Record-List#getFieldElements
●kintone.app.record.getFieldElement(fieldCode) at Record Details Page
(Cannot be called on the Record edit/create page, or the notification page)
https://developer.kintone.io/hc/en-us/articles/213148957-Get-Record#record_getFieldElement
●kintone.app.record.getSpaceElement(id) at Record Details/Create/Edit Page
https://developer.kintone.io/hc/en-us/articles/213148957-Get-Record#record_getSpaceElement
Hi Junko, please pardon for my very late reply.
I already tried these functions, and I’ve found some way to get the element of a field that I want to get from any event (index, create, edit, or detail)
I appreciate it, thank you