Best Practice to get element on kintone app page?

2 followers Follow
Avatar
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

0

1 comment

Avatar
Junko Werner 0 votes
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

●kintone.app.record.getFieldElement(fieldCode) at Record Details Page
 (Cannot be called on the Record edit/create page, or the notification page)
 
●kintone.app.record.getSpaceElement(id) at Record Details/Create/Edit Page
0

Please sign in to leave a comment.