{"id":8160,"date":"2020-05-20T15:26:17","date_gmt":"2020-05-20T15:26:17","guid":{"rendered":"https:\/\/fhug.org.uk\/kb\/?post_type=kb_article&#038;p=8160"},"modified":"2024-02-23T12:52:45","modified_gmt":"2024-02-23T12:52:45","slug":"to-do-list-attribute","status":"publish","type":"kb_article","link":"https:\/\/www.fhug.org.uk\/kb\/kb-article\/to-do-list-attribute\/","title":{"rendered":"To-Do List Attribute"},"content":{"rendered":"<p><strong><\/strong><\/p>\r\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\r\n\r\n\r\n\r\n<p>This technique creates a Custom Attribute in which the Note field holds labelled details of Work In Progress or Research To Do for the associated Individual; and a dedicated custom Property Box Tab provides a convenient shortcut to create, access, and update these details.<\/p>\r\n<p><strong>Be aware<\/strong>: Most aspects of this design support only <strong>one\u00a0<\/strong>To Do\u00a0Attribute per\u00a0Individual.<\/p>\r\n\r\n\r\n\r\n\r\n\r\n<p>A summary of these details for all\u00a0Individuals\u00a0can be created using\u00a0Custom Queries\u00a0or by\u00a0<a href=\"https:\/\/fhug.org.uk\/kb\/kb-article\/how-to-customise-or-print-records-window-columns\/\">Customise or Print Records Window Columns<\/a>.<\/p>\r\n<p>The Download <a href=\"https:\/\/fhug.org.uk\/kb\/download\/to-do-lists-13\/\">To Do Lists<\/a> provides the predefined queries, reports, custom attribute and property box tab that you need to implement this approach, and can also form a starting point for your own customisations. What follows are some hints and tips for further customisation, and for following the approach.<\/p>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">The Custom To-Do Attribute<\/h3>\r\n\r\n\r\n\r\n<div class=\"gca-column one-third first\"><img decoding=\"async\" class=\"alignleft wp-image-8164 lazyload\" data-src=\"https:\/\/fhug.org.uk\/kb\/wp-content\/uploads\/2020\/04\/todofactstab-2.png\" alt=\"\" width=\"400\" height=\"392\" data-srcset=\"https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/04\/todofactstab-2.png 300w, https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/04\/todofactstab-2-150x147.png 150w\" data-sizes=\"(max-width: 400px) 100vw, 400px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 400px; --smush-placeholder-aspect-ratio: 400\/392;\" \/><\/div><div class=\"gca-column two-thirds\"><p>In <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> V4 or earlier, whenever creating a To Do Attribute, enter the Date as <em>0001<\/em> and it will appear at the head of the Facts tab. Conversely, enter <em>9999<\/em> and it will appear at the bottom of the Facts tab.<\/p>\r\n<p>\r\n\r\n<\/p>\r\n<p>It is intended that To Do tasks are added to the Note field, one paragraph per task, with a unique Label at the beginning of each paragraph, such as <em>Birth<\/em>: or <em>Baptism<\/em>: or <em>Census<\/em>:. The benefit of these Labels will become clear later under\u00a0<a href=\"#custquery\">The Custom Queries<\/a>\u00a0and\u00a0<a href=\"#custcol\">Create Custom Column<\/a>.<\/p>\r\n<p>\r\n\r\n<\/p>\r\n<p>To exclude this\u00a0Attribute\u00a0from\u00a0Reports\u00a0see\u00a0<a href=\"#Housekeeping\">Housekeeping\u00a0<\/a>below.<\/div><div class=\"gca-utility vertical-spacer\"><\/div>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\"><a id=\"CreateCustomTab\"><\/a>The Custom Tab<\/h3>\r\n<p><strong>\r\n\r\n<\/strong><\/p>\r\n<p>This provides a quick way to create and change the To Do Attribute.<\/p>\r\n<div class=\"gca-column one-third first\"><img decoding=\"async\" class=\"alignnone wp-image-9470 lazyload\" data-src=\"https:\/\/fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todotabexample.png\" alt=\"\" width=\"400\" height=\"231\" data-srcset=\"https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todotabexample.png 300w, https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todotabexample-150x87.png 150w\" data-sizes=\"(max-width: 400px) 100vw, 400px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 400px; --smush-placeholder-aspect-ratio: 400\/231;\" \/><\/div><div class=\"gca-column two-thirds\">The custom tab looks like this and you can type directly into the note window, or edit existing entries.<\/div><div class=\"gca-utility vertical-spacer\"><\/div>\r\n<p><strong>\r\n\r\n<\/strong><\/p>\r\n<h3 class=\"wp-block-heading\" id=\"create_custom_queries\"><a id=\"custquery\"><\/a>The Custom Queries<\/h3>\r\n<p><strong>\r\n\r\n<\/strong><\/p>\r\n<p>The\u00a0Result Set\u00a0of either of these\u00a0Queries\u00a0may be\u00a0Printed\u00a0or\u00a0Saved\u00a0to produce a\u00a0To Do Report.<\/p>\r\n<p>\r\n\r\n<\/p>\r\n<h4 class=\"wp-block-heading\" id=\"to_do_list\">To Do List<\/h4>\r\n<p>\r\n\r\n<\/p>\r\n<p>This\u00a0Query\u00a0will produce a list of every\u00a0Individual with a To Do entry, tabulated with a Column\u00a0for each task\u00a0Label.<\/p>\r\n<p>\r\n\r\n<\/p>\r\n<p><img decoding=\"async\" class=\"alignnone wp-image-9472 size-full lazyload\" data-src=\"https:\/\/fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todolistquery-1.png\" alt=\"\" width=\"600\" height=\"101\" data-srcset=\"https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todolistquery-1.png 600w, https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todolistquery-1-300x51.png 300w, https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todolistquery-1-150x25.png 150w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/101;\" \/><\/p>\r\n<h4 id=\"to_do_tasks\">To Do Tasks<\/h4>\r\n<p><strong>\r\n\r\n<\/strong><\/p>\r\n<p>This\u00a0Query\u00a0will produce a list of every\u00a0Individual\u00a0with any one chosen\u00a0To Do\u00a0task\u00a0Label. To allow the list to be sorted in Surname order see how to\u00a0<a href=\"https:\/\/www.fhug.org.uk\/wiki\/doku.php?id=how_to:sort_fact_query_on_owner_surname\">Sort Fact Query on Owner Surname<\/a>.<\/p>\r\n<p><img decoding=\"async\" class=\"alignnone wp-image-9474 size-full lazyload\" data-src=\"https:\/\/fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todotaskquery-1.png\" alt=\"\" width=\"431\" height=\"114\" data-srcset=\"https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todotaskquery-1.png 431w, https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todotaskquery-1-300x79.png 300w, https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todotaskquery-1-150x40.png 150w\" data-sizes=\"(max-width: 431px) 100vw, 431px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 431px; --smush-placeholder-aspect-ratio: 431\/114;\" \/><\/p>\r\n<p><strong>\r\n\r\n\r\n\r\n<\/strong><\/p>\r\n<h3 class=\"wp-block-heading\" id=\"create_custom_column\"><a id=\"custcol\"><\/a>How to Create A Custom Column<\/h3>\r\n<p><strong>\r\n\r\n<\/strong><\/p>\r\n<p>This technique adds one or more\u00a0Columns\u00a0to the\u00a0Individual Records Window\u00a0to identify\u00a0To Do\u00a0entries.<\/p>\r\n<p>Open the Individual Records Window (<a href=\"#!\" class=\"cs_tooltip\" fhugtt=\"This is the menu across the top of the main Family Historian windows. The &gt; denotes a submenu\">View&nbsp&gt;&nbspRecords&nbspLists&nbsp&gt;&nbspIndividuals<\/a>, then select <a href=\"#!\" class=\"cs_tooltip\" fhugtt=\"This is the menu across the top of the main Family Historian windows. The &gt; denotes a submenu\">Lists&nbsp&gt;&nbspConfigure&nbspRecord&nbspWindow&nbspColumns<\/a>).<\/p>\r\n<p>Scroll down the bottom of the left hand pane, select &lt;Other&#8230;&gt; and click the &gt; button in the centre.<\/p>\r\n<p>Set the &#8216;Add Column&#8217; fields as follows:<\/p>\r\n<table style=\"height: 38px; width: 80%; border-collapse: collapse; margin-left: 40px;\">\r\n<tbody style=\"padding-left: 40px;\">\r\n<tr style=\"padding-left: 40px;\">\r\n<td style=\"width: 8%; height: 19px;\">Heading<\/td>\r\n<td style=\"width: 52.7124%; height: 19px;\">To Do<\/td>\r\n<\/tr>\r\n<tr style=\"padding-left: 40px;\">\r\n<td style=\"width: 8%; height: 19px;\">Expression<\/td>\r\n<td style=\"width: 52.7124%; height: 19px;\"><code>=TextIf(GetLabelledText( %INDI._ATTR-TO_DO.NOTE2%, \"Birth:\" )=\"\", \"\", \"Birth:\" )<\/code><\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 8%;\">Default Sort Direction<\/td>\r\n<td style=\"width: 52.7124%;\">Descending<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 8%;\" colspan=\"2\">Click the OK button<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p><strong>\r\n\r\n<\/strong><\/p>\r\n<p>Now all\u00a0Individuals\u00a0with a\u00a0To Do\u00a0entry labelled\u00a0Birth:\u00a0are at the top of the\u00a0Record Window.<\/p>\r\n<p>\r\n\r\n<\/p>\r\n<p>To extend this idea for\u00a0To Do\u00a0entries with other\u00a0Labels\u00a0you could add a separate\u00a0Column\u00a0for each\u00a0Label. However, the following\u00a0Expression\u00a0combines them all into one\u00a0Column\u00a0but must be entered all on one line:<\/p>\r\n<pre><code>=Text( \r\n TextIf( GetLabelledText( %INDI._ATTR-TO_DO.NOTE2%, \"Birth:\"   ) = \"\", \"\", \"Birth: \"   ) . \r\n TextIf( GetLabelledText( %INDI._ATTR-TO_DO.NOTE2%, \"Baptism:\" ) = \"\", \"\", \"Baptism: \" ) . \r\n TextIf( GetLabelledText( %INDI._ATTR-TO_DO.NOTE2%, \"Census:\"  ) = \"\", \"\", \"Census: \"  ) \r\n)<\/code><\/pre>\r\n<p>\r\n\r\n<\/p>\r\n<p class=\"wp-block-preformatted\">Just keep adding similar<\/p>\r\n<pre class=\"wp-block-preformatted\">.TextIf( GetLabelledText( %INDI._ATTR-TO_DO.NOTE2%, \"Label:\" ) = \"\", \"\", \"Label: \" ) <\/pre>\r\n<p class=\"wp-block-preformatted\">expressions for each To Do Label:.<\/p>\r\n<p><strong>\r\n\r\n<\/strong><\/p>\r\n<h3 class=\"wp-block-heading\" id=\"create_custom_report\">The Custom To Do Report<\/h3>\r\n<p><strong>\r\n\r\n<\/strong><\/p>\r\n<p>This report shows the To Do List for each individual you select.<\/p>\r\n<p><img decoding=\"async\" class=\"alignnone wp-image-8244 size-full lazyload\" data-src=\"https:\/\/fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todoreportexample.png\" alt=\"\" width=\"450\" height=\"414\" data-srcset=\"https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todoreportexample.png 450w, https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todoreportexample-300x276.png 300w, https:\/\/www.fhug.org.uk\/kb\/wp-content\/uploads\/2020\/05\/todoreportexample-150x138.png 150w\" data-sizes=\"(max-width: 450px) 100vw, 450px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 450px; --smush-placeholder-aspect-ratio: 450\/414;\" \/><\/p>\r\n<p><strong>\r\n\r\n\r\n\r\n<\/strong><\/p>\r\n<h3 class=\"wp-block-heading\" id=\"housekeeping\"><a id=\"Housekeeping\"><\/a>Housekeeping<\/h3>\r\n<p>\r\n\r\n<\/p>\r\n<p>Remember that you may want to customise any\u00a0Report\u00a0that you use regularly to exclude the\u00a0To Do\u00a0Attributes from the\u00a0Reports.<\/p>\r\n<p>\r\n\r\n<\/p>\r\n<p>To exclude the To Do Attribute, open the Report Options &gt; Contents tab and under Individual Events\/Attributes select Exclude List.<\/p>\r\n<p>Click the Edit List button, and add the Attribute named To Do to the list by using the &gt; <img decoding=\"async\" class=\"cs_v alignnone lazyload\" data-src=\"https:\/\/fhug.org.uk\/kb\/wp-content\/uploads\/2020\/helpv6\/edittextschemedialog_3.png\" alt=\"\" width=\"27\" height=\"21\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 27px; --smush-placeholder-aspect-ratio: 27\/21;\" \/> button.<\/p>\r\n<p>Click the OK button once to exit List Editor and again to exit the Options &gt; Content tab.<\/p>\r\n<p><strong><\/strong><\/p>","protected":false},"template":"","fh_version":[13,14,15,739],"skill_level":[18,17],"topic":[71],"class_list":["post-8160","kb_article","type-kb_article","status-publish","hentry","fh_version-v4","fh_version-v5","fh_version-v6","fh_version-v7","skill_level-advanced","skill_level-intermediate","topic-research-planning-and-tracking"],"_links":{"self":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/kb_article\/8160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/kb_article"}],"about":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/types\/kb_article"}],"wp:attachment":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/media?parent=8160"}],"wp:term":[{"taxonomy":"fh_version","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/fh_version?post=8160"},{"taxonomy":"skill_level","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/skill_level?post=8160"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/topic?post=8160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}