Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

182
Vistas
The specified value in the code does not display inside the record of the Kintone App

I am trying to display data inside a Kintone App's Detail Edit page.

I created an "OK" button with a "click" event handler. I can see the value of record['hidden_text']['value'] correctly stored in the record, but I don't know why it is not displayed on the Detail Edit page.

kintone.events.on("app.record.edit.show", function (event) {

        let record = event.record;

        let btnOK = document.getElementById("btn_ok");

         btnOK.addEventListener("click", () => {

           signatureImage.src = signaturePad.toDataURL();
           record['hidden_text']['value'] = signatureImage.src;
                      
  
        });
}

This is the console.log() showing the value is stored in record['hidden_text']['value']

hidden_text:
type: "MULTI_LINE_TEXT"
value: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA4QAAAB4CAYAAACq9jzEAAAAAXNSR0IArs4c6QAADbxJREFUeF7t3T9oFE0YB+AJWlipSEBs/AOxC0Z7Qa0sLFRstDKCfbSwE9TGSlC7FIKmsT
about 4 years ago · Santiago Gelvez
1 Respuestas
Responde la pregunta

0

The process of setting values to fields appears to be missing here.

Processing in the click event handler is handled as processing outside the event handler. The following functions are required to get and set record values.

■ kintone.app.record.get function

Gets the currently open record data in JSON format.

■ kintone.app.record.set function

Sets the value to the currently open record.

Moreover, if the following process is used, at the timing of the button being clicked, "hidden_text" field will be filled with any value (hogehoge for example) that can be set.

kintone.events.on("app.record.edit.show", function (event) {

let btnOK = document.getElementById("btn_ok");

 btnOK.addEventListener("click", () => {
   let wRecord= kintone.app.record.get();
   let record = wRecord.record;

   record['hidden_text']['value'] = "hogehoge";
   
   kintone.app.record.set(wRecord);

    });
});

Hopefully, this helps.

about 4 years ago · Santiago Gelvez Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda