{"id":4189,"date":"2021-12-09T11:54:29","date_gmt":"2021-12-09T10:54:29","guid":{"rendered":"https:\/\/help.r2docuo.com\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/"},"modified":"2022-08-05T09:03:53","modified_gmt":"2022-08-05T07:03:53","slug":"groups-of-lines-in-metadata-viewing-and-editing-forms","status":"publish","type":"ht_kb","link":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/","title":{"rendered":"Groups of lines in metadata viewing and editing forms"},"content":{"rendered":"<p>This functionality allows you to <strong>display and edit<\/strong> the data of one or more &#8220;child&#8221; documents, from a web form for viewing and editing the metadata of a &#8220;parent&#8221; category.<\/p>\n<p>Line groups in forms are only <strong>available in Docuo Enterprise.<\/strong><\/p>\n<p>For example, if we have two Docuo categories: &#8220;Invoices&#8221; and &#8220;Invoice lines&#8221; related to each other through a drop-down list, you can create an Invoice form that displays and allows us to edit the data, not only the invoice but also its lines.<\/p>\n<p>To create a new group of lines in a form, we will press the &#8220;New group of lines&#8230;&#8221; button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4683 size-full\" src=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-1.png\" alt=\"\" width=\"1150\" height=\"721\" srcset=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-1.png 1150w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-1-600x376.png 600w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-1-1024x642.png 1024w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-1-768x482.png 768w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-1-50x31.png 50w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-1-60x38.png 60w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-1-100x63.png 100w\" sizes=\"auto, (max-width: 1150px) 100vw, 1150px\" \/><\/p>\n<p>To create a new group of lines, we must specify <strong>the Name <\/strong>and the related <strong>Category<\/strong> that <strong>relates<\/strong> the lines of the &#8220;child&#8221; category with the &#8220;parent&#8221; category:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4685 size-full\" src=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-2.png\" alt=\"\" width=\"416\" height=\"552\" srcset=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-2.png 416w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-2-38x50.png 38w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-2-45x60.png 45w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-2-75x100.png 75w\" sizes=\"auto, (max-width: 416px) 100vw, 416px\" \/><\/p>\n<p>We click Next and we can specify a filter using a formula, to select whether we want to display and edit all or only some of the related child documents (for example, to show in the form only the rows that are in a state or those that exceed an amount).<\/p>\n<p>We can also specify the order in which we want the lines to be displayed (even when that field is not one of the ones displayed) and the maximum number of records to display:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4687 size-full\" src=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-3.png\" alt=\"\" width=\"417\" height=\"554\" srcset=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-3.png 417w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-3-38x50.png 38w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-3-45x60.png 45w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-3-75x100.png 75w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/p>\n<p>Once the desired options have been selected, click Next. Now we must add the fields of the &#8220;child&#8221; category that we want to be displayed or edited in each line of the line group.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4689 size-full\" src=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-4.png\" alt=\"\" width=\"415\" height=\"550\" srcset=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-4.png 415w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-4-38x50.png 38w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-4-45x60.png 45w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-4-75x100.png 75w\" sizes=\"auto, (max-width: 415px) 100vw, 415px\" \/><\/p>\n<p>Once these fields of the &#8220;child&#8221; category have been added, you are all set. If we save and navigate to this form for an existing document we would get the following result:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4691 size-full\" src=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-5.png\" alt=\"\" width=\"1020\" height=\"937\" srcset=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-5.png 1020w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-5-600x551.png 600w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-5-768x706.png 768w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-5-50x46.png 50w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-5-60x55.png 60w, https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/12\/Group-of-lines-5-100x92.png 100w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/p>\n<p>Since this invoice had two invoice lines, two blocks appear within the line group, each with the fields of its related line.<\/p>\n<p><strong>Line groups on forms can display related documents up to a limit of 100 lines. <\/strong><\/p>\n<p>The credit consumption of the form will be affected if it includes line groups.<\/p>\n<p><strong>IMPORTANT: Display and edit metadata forms consume Docuo credits. When the form is displayed, a display and edit enhancement is activated for each document displayed on the form, including documents displayed in line groups.<\/strong><\/p>\n<p>In our example, when displaying the form (regardless of whether it is submitted or not), a total of 6 credits would have been consumed: 2 for the invoice and 2 for each of the lines displayed lines.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This functionality allows you to display and edit the data of one or more &#8220;child&#8221; documents, from a web form for viewing and editing the metadata of a &#8220;parent&#8221; category. Line groups in forms are only available in Docuo Enterprise. For example, if we have two Docuo categories: &#8220;Invoices&#8221; and&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"content-type":"","footnotes":""},"ht-kb-category":[60],"ht-kb-tag":[],"class_list":["post-4189","ht_kb","type-ht_kb","status-publish","format-standard","has-post-thumbnail","hentry","ht_kb_category-view-edit"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Groups of lines in metadata viewing and editing forms - R2 Docuo | Help center<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Groups of lines in metadata viewing and editing forms - R2 Docuo | Help center\" \/>\n<meta property=\"og:description\" content=\"This functionality allows you to display and edit the data of one or more &#8220;child&#8221; documents, from a web form for viewing and editing the metadata of a &#8220;parent&#8221; category. Line groups in forms are only available in Docuo Enterprise. For example, if we have two Docuo categories: &#8220;Invoices&#8221; and...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.r2docuo.com\/en\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/\" \/>\n<meta property=\"og:site_name\" content=\"R2 Docuo | Help center\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-05T07:03:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/03\/Post-type-Guias-de-usuario.png\" \/>\n\t<meta property=\"og:image:width\" content=\"845\" \/>\n\t<meta property=\"og:image:height\" content=\"564\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@R2Docuo\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/groups-of-lines-in-metadata-viewing-and-editing-forms\\\/\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/groups-of-lines-in-metadata-viewing-and-editing-forms\\\/\",\"name\":\"Groups of lines in metadata viewing and editing forms - R2 Docuo | Help center\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/groups-of-lines-in-metadata-viewing-and-editing-forms\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/groups-of-lines-in-metadata-viewing-and-editing-forms\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Post-type-Guias-de-usuario.png\",\"datePublished\":\"2021-12-09T10:54:29+00:00\",\"dateModified\":\"2022-08-05T07:03:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/groups-of-lines-in-metadata-viewing-and-editing-forms\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/groups-of-lines-in-metadata-viewing-and-editing-forms\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/groups-of-lines-in-metadata-viewing-and-editing-forms\\\/#primaryimage\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Post-type-Guias-de-usuario.png\",\"contentUrl\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/Post-type-Guias-de-usuario.png\",\"width\":845,\"height\":564},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/en\\\/knowledge-base\\\/groups-of-lines-in-metadata-viewing-and-editing-forms\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/help.r2docuo.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Groups of lines in metadata viewing and editing forms\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#website\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/\",\"name\":\"R2 Docuo | Help center\",\"description\":\"Todos los recursos para usuarios, administradores y desarrolladores de de R2 Docuo a tu alcance\",\"publisher\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/help.r2docuo.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#organization\",\"name\":\"R2 Docuo | Help center\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ILUDEST_CENTRODEAYUDA.png\",\"contentUrl\":\"https:\\\/\\\/help.r2docuo.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ILUDEST_CENTRODEAYUDA.png\",\"width\":1200,\"height\":630,\"caption\":\"R2 Docuo | Help center\"},\"image\":{\"@id\":\"https:\\\/\\\/help.r2docuo.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/R2Docuo\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/r2docuo\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Groups of lines in metadata viewing and editing forms - R2 Docuo | Help center","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Groups of lines in metadata viewing and editing forms - R2 Docuo | Help center","og_description":"This functionality allows you to display and edit the data of one or more &#8220;child&#8221; documents, from a web form for viewing and editing the metadata of a &#8220;parent&#8221; category. Line groups in forms are only available in Docuo Enterprise. For example, if we have two Docuo categories: &#8220;Invoices&#8221; and...","og_url":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/","og_site_name":"R2 Docuo | Help center","article_modified_time":"2022-08-05T07:03:53+00:00","og_image":[{"width":845,"height":564,"url":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/03\/Post-type-Guias-de-usuario.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@R2Docuo","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/","url":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/","name":"Groups of lines in metadata viewing and editing forms - R2 Docuo | Help center","isPartOf":{"@id":"https:\/\/help.r2docuo.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/#primaryimage"},"image":{"@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/#primaryimage"},"thumbnailUrl":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/03\/Post-type-Guias-de-usuario.png","datePublished":"2021-12-09T10:54:29+00:00","dateModified":"2022-08-05T07:03:53+00:00","breadcrumb":{"@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.r2docuo.com\/en\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/#primaryimage","url":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/03\/Post-type-Guias-de-usuario.png","contentUrl":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2021\/03\/Post-type-Guias-de-usuario.png","width":845,"height":564},{"@type":"BreadcrumbList","@id":"https:\/\/help.r2docuo.com\/en\/knowledge-base\/groups-of-lines-in-metadata-viewing-and-editing-forms\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/help.r2docuo.com\/"},{"@type":"ListItem","position":2,"name":"Groups of lines in metadata viewing and editing forms"}]},{"@type":"WebSite","@id":"https:\/\/help.r2docuo.com\/#website","url":"https:\/\/help.r2docuo.com\/","name":"R2 Docuo | Help center","description":"Todos los recursos para usuarios, administradores y desarrolladores de de R2 Docuo a tu alcance","publisher":{"@id":"https:\/\/help.r2docuo.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.r2docuo.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/help.r2docuo.com\/#organization","name":"R2 Docuo | Help center","url":"https:\/\/help.r2docuo.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.r2docuo.com\/#\/schema\/logo\/image\/","url":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2023\/06\/ILUDEST_CENTRODEAYUDA.png","contentUrl":"https:\/\/help.r2docuo.com\/wp-content\/uploads\/2023\/06\/ILUDEST_CENTRODEAYUDA.png","width":1200,"height":630,"caption":"R2 Docuo | Help center"},"image":{"@id":"https:\/\/help.r2docuo.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/R2Docuo","https:\/\/www.linkedin.com\/company\/r2docuo"]}]}},"_links":{"self":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb\/4189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/comments?post=4189"}],"version-history":[{"count":0,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb\/4189\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/media\/4053"}],"wp:attachment":[{"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/media?parent=4189"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb-category?post=4189"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/help.r2docuo.com\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=4189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}