{"id":42604,"date":"2024-04-01T12:58:36","date_gmt":"2024-04-01T10:58:36","guid":{"rendered":"https:\/\/www.viafirma.com\/es\/?post_type=ayuda&#038;p=42604"},"modified":"2024-08-22T14:33:18","modified_gmt":"2024-08-22T12:33:18","slug":"variables-notificaciones-documents","status":"publish","type":"ayuda","link":"https:\/\/www.viafirma.com\/es\/documentacion\/variables-notificaciones-documents\/","title":{"rendered":"Variables disponibles para notificaciones"},"content":{"rendered":"<p>A la hora de redactar una solicitud, en el cuerpo del mensaje de la notificaci\u00f3n podemos a\u00f1adir una serie de variables de personalizaci\u00f3n. Como se ve en la siguiente imagen , usando el formato\u00a0 \u00a0<strong>{{nombre_de_la_variable}} ,\u00a0<\/strong>a\u00f1adimos el nombre del firmante de la solicitud.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-42612 size-large\" src=\"https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/solicitud_variables-e1724329040783-1024x612.png\" alt=\"Ejemplo solicitud con variables\" width=\"1024\" height=\"612\" srcset=\"https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/solicitud_variables-e1724329040783-1024x612.png 1024w, https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/solicitud_variables-e1724329040783-300x179.png 300w, https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/solicitud_variables-e1724329040783-768x459.png 768w, https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/solicitud_variables-e1724329040783.png 1304w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Glosario de Variables a usar en estas notificaciones:<\/h2>\n<p>&nbsp;<\/p>\n<h3><strong>Variables de firmante (recipient):<\/strong><\/h3>\n<p><em><strong>{{recipient.name}}<\/strong><\/em> : Nombre del firmante.<br \/>\n<em><strong>{{recipient.mail}}<\/strong><\/em> : Correo del firmante.<br \/>\n<em><strong>{{recipient.phone}}<\/strong><\/em> : Tel\u00e9fono del firmante.<br \/>\n<em><strong>{{recipient.key}}<\/strong><\/em> : C\u00f3digo que identifica al firmante. Se debe tener en cuenta que solo disponible a nivel de API.<br \/>\n<em><strong>{{recipient.id}}<\/strong><\/em> : Identificador (DNI, c\u00e9dula&#8230;) del firmante . Se debe tener en cuenta que solo disponible a nivel de API.<br \/>\n<em><strong>{{recipient.label}}<\/strong><\/em> : Detalle firmante. Se debe tener en cuenta que solo disponible a nivel de API.<\/p>\n<p>En la misma pantalla anterior tenemos un acceso r\u00e1pido a estas variables.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-42616 size-full\" src=\"https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/datos_predefinidos_notificacion-e1724329003414.png\" alt=\"Acceso directo datos firmante\" width=\"924\" height=\"232\" srcset=\"https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/datos_predefinidos_notificacion-e1724329003414.png 924w, https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/datos_predefinidos_notificacion-e1724329003414-300x75.png 300w, https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/datos_predefinidos_notificacion-e1724329003414-768x193.png 768w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Variables de la solicitud:<\/strong><\/h3>\n<p><strong>{{SET_CODE}} <\/strong>: C\u00f3digo de la solicitud.<br \/>\n<strong><em>{{SET_EXPIRES}} <\/em><\/strong>:Fecha de Expiraci\u00f3n del SET en formato dd\/mm\/yyyy.<br \/>\n<strong><em>{{SET_TITLE}} <\/em><\/strong>: Titulo del SET. Si la solicitud ha sido realizada mediante la funci\u00f3n de redactar de la aplicaci\u00f3n, el t\u00edtulo del SET se compondr\u00e1 de \u00abtitulo del primer documento (+n\u00famero de resto de documentos del set)\u00bb . Si se realiza mediante nuestra API, el t\u00edtulo del SET ser\u00e1 el que le hayamos indicado.<br \/>\n<em><strong>{{SET_DESCRIPTION}}<\/strong><\/em>: Descripci\u00f3n del SET. Se corresponde al texto descriptivo que hayamos decidido al crear la solicitud. Se debe tener en cuenta que solo disponible a nivel de API.<\/p>\n<h4><strong>Variables asociadas al usuario redactor de la solicitud:<\/strong><\/h4>\n<p><em><strong>{{SYS_NAME}}<\/strong> <\/em>: Nombre del redactor.<br \/>\n<em><strong>{{SYS_SURNAME}}<\/strong> <\/em>: Apellido del redactor.<br \/>\n<em><strong>{{SYS_EMAIL}}<\/strong><\/em> : Correo del redactor.<br \/>\n<em><strong>{{SYS_MOBILE}}<\/strong><\/em> : Tel\u00e9fono del redactor.<br \/>\n<em><strong>{{SYS_NATIONALID}}<\/strong><\/em> : DNI o c\u00e9dula del redactor.<\/p>\n<h3><strong>Variables asociadas al grupo de la solicitud:<\/strong><\/h3>\n<p><em><strong>{{GROUP_TITLE}}<\/strong><\/em> : T\u00edtulo del grupo que redacta la solicitud.<\/p>\n<h3><strong>Variables personalizadas del grupo:<\/strong><\/h3>\n<p><em><strong>{{SYS_GROUP_VARIABLEDEGRUPO}}<\/strong><\/em> : Se pueden a\u00f1adir variables a tu grupo,\u00a0 que se pueden usar como variables personalizadas en las notificaciones.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-42627 size-large\" src=\"https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/greetingVAR-1024x166.png\" alt=\"Ejemplo de variable personalizada\" width=\"1024\" height=\"166\" srcset=\"https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/greetingVAR-1024x166.png 1024w, https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/greetingVAR-300x49.png 300w, https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/greetingVAR-768x125.png 768w, https:\/\/www.viafirma.com\/wp-content\/uploads\/2024\/04\/greetingVAR.png 1516w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>En este caso, ser\u00eda<strong> {{SYS_GROUP_FIRST_GREETING}}<\/strong> : Mostrar\u00eda \u00abUn saludo\u00bb en el cuerpo de la notificaci\u00f3n.<\/p>\n","protected":false},"template":"","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[230],"class_list":["post-42604","ayuda","type-ayuda","status-publish","hentry","category-resumen-envio"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/ayuda\/42604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/ayuda"}],"about":[{"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/types\/ayuda"}],"version-history":[{"count":0,"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/ayuda\/42604\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/media?parent=42604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/categories?post=42604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}