{"id":10945,"date":"2017-12-29T16:28:49","date_gmt":"2017-12-29T10:58:49","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=10945"},"modified":"2017-12-29T16:28:49","modified_gmt":"2017-12-29T10:58:49","slug":"how-to-show-the-field-label-along-with-the-value-in-list-view-in-resco-project","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2017\/12\/how-to-show-the-field-label-along-with-the-value-in-list-view-in-resco-project\/","title":{"rendered":"How to Show the Field Label along with the value in List view in Resco Project"},"content":{"rendered":"<h2 style=\"text-align: justify;\"><strong>Introduction: <\/strong><\/h2>\n<p style=\"text-align: justify;\">Recently, we had a business requirement where we need to show the Field Label in List view in the mobile app.<\/p>\n<p style=\"text-align: justify;\">Generally, when we create the <strong>List view<\/strong> in the Resco Woodford mobile project, Only the values of the fields added in that View are displayed on the mobile app whereas the label of the fields are not display in the view.<\/p>\n<p style=\"text-align: justify;\">For example, we have created the following view in the Resco Woodford mobile project.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter  wp-image-10946\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/12\/List-view-in-Resco-Project.png\" alt=\"List view in Resco Project\" width=\"700\" height=\"139\" \/><\/p>\n<p>And when we see this view in the mobile app then it looks as seen in the below screenshot.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter  wp-image-10947\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/12\/List-view-in-Resco-Project1.png\" alt=\"List view in Resco Project\" width=\"704\" height=\"274\" \/><\/p>\n<p style=\"text-align: justify;\">So from the above screen, we can\u2019t easily identify the Field Labels from its value, or in other words, we didn\u2019t know which fields are displaying what in the above view.<\/p>\n<p style=\"text-align: justify;\">So if we display the Field Label in the view it is easy to understand fields and their values.<\/p>\n<p style=\"text-align: justify;\">However, we wanted to do this in Resco.<\/p>\n<p style=\"text-align: justify;\">After some research and playing around in Resco, we found an effortless way to achieve the requirement.<\/p>\n<h2 style=\"text-align: justify;\"><strong>Steps to show the Field Label in the List view in Resco:<\/strong><\/h2>\n<p style=\"text-align: justify;\">Step 1: Open the view in the Resco Woodford and click on the \u201cEdit Style\u201d button as shown in below screenshot.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter  wp-image-10948\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/12\/List-view-in-Resco-Project2.png\" alt=\"List view in Resco Project\" width=\"706\" height=\"509\" \/><\/p>\n<p>After clicking on \u201cEdit Style\u201d button the \u201cGlobal Style Manager\u201d window gets open as seen below.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter  wp-image-10949\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/12\/List-view-in-Resco-Project3.png\" alt=\"List view in Resco Project\" width=\"699\" height=\"485\" \/><\/p>\n<p style=\"text-align: justify;\">Select the \u201cprimary\u201d tab and then click on the \u201c+ Add\u201d button as shown in the above screenshot.<\/p>\n<p style=\"text-align: justify;\">By Clicking on the \u201c+ Add\u201d button you can add a new style and the following window will open. Configure the style as shown in the below screenshot.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter  wp-image-10950\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/12\/List-view-in-Resco-Project4.png\" alt=\"List view in Resco Project\" width=\"698\" height=\"518\" \/><\/p>\n<p style=\"text-align: justify;\">In Order to configure the newly created style, we would need to provide the value for two highlighted fields in the above image.<\/p>\n<p style=\"text-align: justify;\"><strong>Regarding FormatString: <\/strong>Format string provide a way, how we would display the field label in the view.<\/p>\n<p style=\"text-align: justify;\">For example, Format string in the above screen contains two-part \u201c<strong><em>Account Name:\u201d<\/em><\/strong> and <strong>{0}.<\/strong><\/p>\n<p style=\"text-align: justify;\">\u201c<strong>Account Name:<\/strong>\u201d this is the constant value same as the <strong>filed label<\/strong> which will display in the view. Text added here will be display as a field label in mobile app.<\/p>\n<p style=\"text-align: justify;\"><strong>{0}:<\/strong> this is a place holder and contain the actual field value.<\/p>\n<p style=\"text-align: justify;\"><strong>Regarding Name:<\/strong><\/p>\n<p style=\"text-align: justify;\"><strong>Name:<\/strong> this is the name of newly created style, user can put any name as per user convenience. For example we put Name of style as \u201c<strong>Style Name<\/strong>\u201d in above image.<\/p>\n<h2 style=\"text-align: justify;\"><strong>To apply this style to our List View:<\/strong><\/h2>\n<p style=\"text-align: justify;\">Select the field in the list view and apply a newly created style to this field as shown in the below screenshot.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter  wp-image-10951\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/12\/List-view-in-Resco-Project5.png\" alt=\"List view in Resco Project\" width=\"713\" height=\"336\" \/><\/p>\n<p>Save and close the List View and published the project.<\/p>\n<p>Open the Mobile app sync it. Then open the List view of account for which we made the configuration.<\/p>\n<p>We can see the below screen.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter  wp-image-10952\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/12\/List-view-in-Resco-Project6.png\" alt=\"List view in Resco Project\" width=\"709\" height=\"287\" \/><\/p>\n<h2><strong>Conclusion:<\/strong><\/h2>\n<p>So in order to display the Field Label in the view, you would need to create a style for each field which is displayed in the view and set the style for each field accordingly.<\/p>\n<p><a href=\"http:\/\/www.inogic.com\/product\/integrations\/inolink-quickbooks-microsoft-dynamics-crm\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter  wp-image-6353\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/09\/Get-started-with-QuickBooks-and-Dynamics-365-Integration.png\" alt=\"Integrate Dynamics CRM Online QuickBooks\" width=\"973\" height=\"244\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Recently, we had a business requirement where we need to show the Field Label in List view in the mobile app. Generally, when we create the List view in the Resco Woodford mobile project, Only the values of the fields added in that View are displayed on the mobile app whereas the label of\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2017\/12\/how-to-show-the-field-label-along-with-the-value-in-list-view-in-resco-project\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":10955,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[27,48],"tags":[1447],"class_list":["post-10945","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-field-service-2","category-resco-mobile-crm","tag-resco-mobile-crm"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/10945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=10945"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/10945\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/10955"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=10945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=10945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=10945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}