Posición dinámica basada en búsqueda de texto
Última revisión: 11-ago-2019
En este caso podrás incluir en la configuración de tu evidencia el objeto positionsMatch, donde tendrás que definir el texto que hay que localizar y la posición respecto al texto encontrado.
PositionsMatch{
id string
text string
xoffset integer
yoffset integer
width integer
height integer
}
Ejemplo de evidencia con positionsMatch
{
"type" : "OTP_SMS",
"helpText" : "Firmar con SMS",
"helpDetail" : "Usa el código que hemos enviado por SMS a tu móvil",
"metadataList" : [ {
"key" : "phoneNumber",
"value" : "{{otpmail_phoneNumber}}"
}, {
"key" : "smsText",
"value" : "Usa este valor para validar y firmar tu contrato"
} ],
"typeFormatSign" : "XADES_B",
"optional" : true,
"positionsMatch" : [ {
"id" : "positionmatch_3015",
"text" : "Firma-SMS",
"xoffset" : 1,
"yoffset" : 1,
"width" : 125,
"height" : 90
} ],
"addLink" : true
}
results matching ""
No results matching ""