JezK
Edit File: 1666018099.M124499P173183.mocha3025.mochahost.com,S=11838,W=12140:2,
Return-Path: <01000183e66a1d5e-640d1e09-7f6e-44ab-a5c0-9ec1f291e81e-000000@amazonses.com> Delivered-To: dr.wali@jack.ngo Received: from mocha3025.mochahost.com by mocha3025.mochahost.com with LMTP id YENgBjNrTWN/pAIAaMJ/gg (envelope-from <01000183e66a1d5e-640d1e09-7f6e-44ab-a5c0-9ec1f291e81e-000000@amazonses.com>) for <dr.wali@jack.ngo>; Mon, 17 Oct 2022 10:48:19 -0400 Return-path: <01000183e66a1d5e-640d1e09-7f6e-44ab-a5c0-9ec1f291e81e-000000@amazonses.com> Envelope-to: dr.wali@jack.ngo Delivery-date: Mon, 17 Oct 2022 10:48:19 -0400 Received: from a8-195.smtp-out.amazonses.com ([54.240.8.195]:48633) by mocha3025.mochahost.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (Exim 4.95) (envelope-from <01000183e66a1d5e-640d1e09-7f6e-44ab-a5c0-9ec1f291e81e-000000@amazonses.com>) id 1okRPf-000o4W-96 for dr.wali@jack.ngo; Mon, 17 Oct 2022 10:48:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gm23s7ueet6ffoogxti5zu56xxskhj75; d=kobotoolbox.org; t=1666018057; i=@community.kobotoolbox.org; h=Date:From:Reply-To:To:Message-ID:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:List-Unsubscribe:List-ID:List-Archive; bh=dOdoRllKFTzuZoWsH9ovY0mqpIZ155Yfj5H5Xr7ONrs=; b=Hq+4ZX9MyAe5lWU7bg1MOaOixGDTyPNoR3o/YtVUPG35RgoRczHsqKAXj07k7zPO 5Z/47tPqU+upM5mieaE8xMr0f3Ed/CGotV5LwVj6aFl06jBcM/bAyjgCRfSqF15cSGA g5dkCmtZhygsTZa3c9CpxRH+VtjrcVYnURwTp6p8= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1666018057; h=Date:From:Reply-To:To:Message-ID:Subject:Mime-Version:Content-Type:Content-Transfer-Encoding:List-Unsubscribe:List-ID:List-Archive:Feedback-ID; bh=dOdoRllKFTzuZoWsH9ovY0mqpIZ155Yfj5H5Xr7ONrs=; b=IILn2XRouytli3cbIwlAD0nXtlXUruzm1iEp+1rL8PBQJGif6ltIPSyZ5voKt3VD ClXJftalcgA+z/zBj3j5K6KQDmZgun0NTqPHLzH44/53wNLOTG3lqjx59qb4NXA3WBe 3vahmZDLQiieH+I5JzDher0sMN7hBUk7HioznJ48= Date: Mon, 17 Oct 2022 14:47:37 +0000 From: GERARD RAMON MONTANER via KoboToolbox Community Forum <noreply@community.kobotoolbox.org> Reply-To: KoboToolbox Community Forum <community+3822f5d271c394cf6d45a2aac580c36a@kobotoolbox.org> To: dr.wali@jack.ngo Message-ID: <01000183e66a1d5e-640d1e09-7f6e-44ab-a5c0-9ec1f291e81e-000000@email.amazonses.com> Subject: [KoboToolbox Community Forum] [User Support/Form Building] Dynamic attachment is not working Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_634d6b0954872_1a8d697ee71c147283e"; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Unsubscribe: <https://community.kobotoolbox.org/email/unsubscribe/fd437e8c68f34d598689d91ffe46517e1d3077a725496505a848cc25ac91dba6> X-Discourse-Post-Id: 90672 X-Discourse-Topic-Id: 34426 X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Precedence: list List-ID: KoboToolbox Community Forum | User Support Form Building <form-building.user-support.community.kobotoolbox.org> List-Archive: https://community.kobotoolbox.org/t/dynamic-attachment-is-not-working/34426 Feedback-ID: 1.us-east-1.9B+QRNHYKjG4pDWfuYM8tyMp/1A6Fa1MX2vhO/OHP8A=:AmazonSES X-SES-Outgoing: 2022.10.17-54.240.8.195 ----==_mimepart_634d6b0954872_1a8d697ee71c147283e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I set two forms for dynaimc attachment but I don't get data in the child project. I've followed all the steps from here https://support.kobotoolbox.org/dynamic_data_attachment.html, but I don't understand why it doesn't works, it should be. In the parent project I set an id that is a pull data field from csv and is a hidden field too. This is the id that I use to match in the child form with the same method, a pull data field from a csv. In the parent project the id field and the questions I would like to link to a child form are in the same group. In the child project I've used a calculation like this in the questions I would like to get data: instance('email')/root/data[museu_group/id= current()/../id]/museu_group/Q02A01 I upload the two projects for more detail. [parent.xlsx|attachment](upload://4OiImglJa3nfwm0wRxZYC0klyXM.xlsx) (30.0 KB) [child.xlsx|attachment](upload://1kGg0SEib085rdkTtDzUtgBPZlG.xlsx) (34.6 KB) I appreciate your help. Regards --- [Visit Topic](https://community.kobotoolbox.org/t/dynamic-attachment-is-not-working/34426/1) or reply to this email to respond. To unsubscribe from these emails, [click here](https://community.kobotoolbox.org/email/unsubscribe/fd437e8c68f34d598689d91ffe46517e1d3077a725496505a848cc25ac91dba6). ----==_mimepart_634d6b0954872_1a8d697ee71c147283e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html xmlns=3D"http://www.w3.org/1999/xhtml" lang=3D"en" x= ml:lang=3D"en"><head>=0D <meta http-equiv=3D"Content-type" name=3D"viewport" content=3D"initia= l-scale=3D1.0, maximum-scale=3D1.0, user-scalable=3Dno, width=3Ddevice-wi= dth">=0D =0D <meta name=3D"color-scheme" content=3D"light dark">=0D <meta name=3D"supported-color-schemes" content=3D"light dark">=0D =0D <!-- prevent ios zooming + autoscaling -->=0D <meta name=3D"x-apple-disable-message-reformatting">=0D <title></title>=0D </head>=0D =0D <body style=3D"line-height: 1.4; text-align:left;" dir=3D"ltr">=0D <!--[if mso]>=0D <style type=3D"text/css">=0D body,=0D table,=0D td,=0D th,=0D h1,=0D h2,=0D h3 {=0D font-family: Arial, sans-serif !important;=0D }=0D </style>=0D <![endif]-->=0D =0D =0D =0D <div>=0D =0D <div></div>=0D =0D <div style=3D"margin-bottom:25px;">=0D <table cellspacing=3D"0" cellpadding=3D"0" border=3D"0">=0D <tbody><tr>=0D <td style=3D"vertical-align:top;width:55px;">=0D <img src=3D"https://community.kobotoolbox.org/user_avatar/communi= ty.kobotoolbox.org/gerardramon/45/14713_2.png" title=3D"gerardramon" widt= h=3D"45" height=3D"45">=0D </td>=0D <td>=0D <a href=3D"https://community.kobotoolbox.org/u/gerardramon" tar= get=3D"_blank" style=3D"color:#006699;; font-size:13px;font-family:'lucid= a grande',tahoma,verdana,arial,sans-serif;text-decoration:none;font-weigh= t:bold; text-decoration: none; font-weight: bold; color: #006699;">gerard= ramon</a>=0D <br>=0D <span style=3D"text-align:right;color:#999999;padding-right:5px;f= ont-family:'lucida grande',tahoma,verdana,arial,sans-serif;font-size:11px= ">October 14</span>=0D </td>=0D </tr>=0D </tbody></table>=0D <div style=3D"padding-top:5px;" dm=3D"body"><p style=3D"margin-top:0; b= order: 0;">Hi,</p>=0D <p style=3D"margin-top:0; border: 0;">I set two forms for dynaimc attachm= ent but I don=E2=80=99t get data in the child project. I=E2=80=99ve follo= wed all the steps from here <a href=3D"https://support.kobotoolbox.org/dy= namic_data_attachment.html" rel=3D"noopener nofollow ugc" style=3D"text-d= ecoration: none; font-weight: bold; color: #006699;">Dynamic Data Attachm= ents =E2=80=94 KoboToolbox documentation</a>, but I don=E2=80=99t underst= and why it doesn=E2=80=99t works, it should be.</p>=0D <p style=3D"margin-top:0; border: 0;">In the parent project I set an id t= hat is a pull data field from csv and is a hidden field too. This is the = id that I use to match in the child form with the same method, a pull dat= a field from a csv.</p>=0D <p style=3D"margin-top:0; border: 0;">In the parent project the id field = and the questions I would like to link to a child form are in the same gr= oup.</p>=0D <p style=3D"margin-top:0; border: 0;">In the child project I=E2=80=99ve u= sed a calculation like this in the questions I would like to get data:<br= >=0D instance(=E2=80=98email=E2=80=99)/root/data[museu_group/id=3D current()/=E2= =80=A6/id]/museu_group/Q02A01</p>=0D <p style=3D"margin-top:0; border: 0;">I upload the two projects for more= detail.<br>=0D <a href=3D"https://community.kobotoolbox.org/uploads/short-url/4OiImglJa3= nfwm0wRxZYC0klyXM.xlsx" style=3D"text-decoration: none; font-weight: bold= ; color: #006699;">parent.xlsx</a> (30.0 KB)<br>=0D <a href=3D"https://community.kobotoolbox.org/uploads/short-url/1kGg0SEib0= 85rdkTtDzUtgBPZlG.xlsx" style=3D"text-decoration: none; font-weight: bold= ; color: #006699;">child.xlsx</a> (34.6 KB)</p>=0D <p style=3D"margin-top:0; border: 0;">I appreciate your help.</p>=0D <p style=3D"margin-top:0; border: 0;">Regards</p></div>=0D </div>=0D =0D =0D =0D =0D =0D =0D <div style=3D"color:#666;"><hr style=3D"background-color: #ddd; height:= 1px; border: 1px;; background-color: #ddd; height: 1px; border: 1px;">=0D= <p><a href=3D"https://community.kobotoolbox.org/t/dynamic-attachment-is-n= ot-working/34426/1" style=3D"font-weight: normal;; text-decoration: none;= font-weight: bold; color: #006699;; background-color: #2F70AC; color: #F= FFFFF; border-top: 4px solid #2F70AC; border-right: 6px solid #2F70AC; bo= rder-bottom: 4px solid #2F70AC; border-left: 6px solid #2F70AC; display: = inline-block; font-weight: bold;">Visit Topic</a> or reply to this email = to respond.</p></div>=0D <div style=3D"color:#666;"><p>To unsubscribe from these emails, <a href= =3D"https://community.kobotoolbox.org/email/unsubscribe/fd437e8c68f34d598= 689d91ffe46517e1d3077a725496505a848cc25ac91dba6" style=3D"text-decoration= : none; font-weight: bold; color: #006699;; color:#666;">click here</a>.<= /p></div>=0D =0D </div>=0D =0D <div itemscope=3D"" itemtype=3D"http://schema.org/EmailMessage" style=3D"= display:none">=0D <div itemprop=3D"action" itemscope=3D"" itemtype=3D"http://schema.org/V= iewAction">=0D <link itemprop=3D"url" href=3D"https://community.kobotoolbox.org/t/dy= namic-attachment-is-not-working/34426/1">=0D <meta itemprop=3D"name" content=3D"Read full topic">=0D </div>=0D </div>=0D =0D =0D =0D <!-- prevent Gmail on iOS font size manipulation -->=0D <div style=3D"=0D display: none;=0D white-space: nowrap;=0D font: 15px courier;=0D line-height: 0;=0D ">=0D &nbs= p;=0D &nbs= p;=0D &nbs= p;=0D </div>=0D =0D <style>=0D @media (prefers-color-scheme: dark) {=0D html {=0D background: #151515 !important;=0D }=0D =0D h1,=0D h2,=0D h3,=0D h4,=0D h5,=0D h6,=0D p,=0D span,=0D td {=0D color: #dddddd !important;=0D }=0D =0D [data-stripped-secure-media] {=0D border-color: #454545 !important;=0D }=0D =0D [data-stripped-secure-upload] {=0D border-color: #454545 !important;=0D }=0D =0D [dm=3D'text-color'] {=0D color: #dddddd;=0D }=0D =0D [dm=3D'header'] {=0D background: #151515 !important;=0D }=0D =0D [dm=3D'topic-body'] {=0D background: #151515 !important;=0D border-bottom: 1px solid #454545 !important;=0D }=0D =0D [dm=3D'triangle'] {=0D border-top-color: #151515 !important;=0D }=0D =0D [dm=3D'body'] {=0D background: #222222 !important;=0D color: #dddddd !important;=0D }=0D =0D [dm=3D'body_primary'] {=0D background: #062e3d !important;=0D color: #dddddd !important;=0D }=0D =0D [dm=3D'bg'] {=0D background: #323232 !important;=0D border-color: #454545 !important;=0D }=0D }=0D </style>=0D =0D =0D =0D </body></html>= ----==_mimepart_634d6b0954872_1a8d697ee71c147283e--