{"id":5808,"date":"2017-06-05T17:38:00","date_gmt":"2017-06-05T12:08:00","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=5808"},"modified":"2017-06-05T17:38:00","modified_gmt":"2017-06-05T12:08:00","slug":"clickable-image-in-view-on-the-resco-mobile-crm-app","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2017\/06\/clickable-image-in-view-on-the-resco-mobile-crm-app\/","title":{"rendered":"Clickable Image in View on the Resco Mobile CRM App"},"content":{"rendered":"<h4><strong>Introduction:<\/strong><\/h4>\n<p style=\"text-align: justify;\">We had a requirement where we wanted to add a view that will list out all the Work Order Incidents on the Resco Mobile CRM app. We also wanted to add clickable images to this view to allow the user to mark Work Order Incidents as resolved or unresolved through a visual guide.<\/p>\n<p style=\"text-align: justify;\">To mark Work Order Incidents as <strong><em>resolved<\/em><\/strong>, we wanted to use:<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-5798\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App1.jpg\" alt=\"Resco Mobile CRM App\" width=\"16\" height=\"16\" \/><\/p>\n<p style=\"text-align: justify;\">and to mark it as <strong><em>unresolved<\/em><\/strong>, we wanted to use:<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App2.jpg\"><img decoding=\"async\" class=\"alignnone wp-image-5799\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App2.jpg\" alt=\"Resco Mobile CRM App2\" width=\"18\" height=\"18\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">In this blog, we will guide you through the steps required to achieve this with the Resco Mobile CRM app.<\/p>\n<h4 style=\"text-align: justify;\"><strong>Steps to add clickable images in a view on the Resco Mobile CRM app:<\/strong><\/h4>\n<p style=\"padding-left: 30px; text-align: justify;\"><strong>1<\/strong>. First and foremost, we need to add these two images in the Resco Mobile Project. To know how to add an image in the Mobile Project, refer this <a href=\"http:\/\/www.resco.net\/MobileCRM\/support\/Woodford_Guide.html#__RefHeading__5919_1627906509\" target=\"_blank\" rel=\"noopener noreferrer\">link<\/a>.<\/p>\n<blockquote>\n<p style=\"text-align: justify;\"><strong><em>Note: Make sure that while adding images in the Mobile Project, the name of the image is same as the field value (text value). In this case, we want to utilize the images for the field \u2018Incident Resolved\u2019. This field is a two option field and has text value as \u2018Yes\u2019 and \u2018No\u2019. So we will name the images as \u2018Yes\u2019 and \u2018No\u2019.<\/em><\/strong><\/p>\n<\/blockquote>\n<p style=\"padding-left: 30px; text-align: justify;\"><strong><em>\u00a0<\/em>2.<em>\u00a0<\/em><\/strong>Once you have added the required images in the Mobile Project, next step is to create a view.<\/p>\n<p style=\"padding-left: 30px; text-align: justify;\">To create a view, go to <strong><em>\u2018Work Order Incident\u2019<\/em><\/strong> entity and click on <strong><em>\u2018Views\u2019<\/em><\/strong> as shown in the screenshot below;<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App3.png\"><img decoding=\"async\" class=\"wp-image-5800 aligncenter\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App3.png\" alt=\"Resco Mobile CRM App\" width=\"578\" height=\"434\" \/><\/a><\/p>\n<p style=\"padding-left: 30px;\">\u00a0Once you have added the view, open that view and select the fields that you require.<\/p>\n<p style=\"padding-left: 30px; text-align: justify;\"><strong>3<\/strong>. Now the next step is to add new <strong><em>Styles<\/em><\/strong> that are needed to show the editable image in the view, to add new Styles please follow the steps mentioned below;<\/p>\n<p style=\"padding-left: 60px; text-align: justify;\"><strong>a<\/strong>. Open the newly created View and click on the <strong><em>\u2018Edit Styles\u2019<\/em><\/strong> as shown in the screenshot below;<\/p>\n<p style=\"padding-left: 60px;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App4.png\"><img decoding=\"async\" class=\"aligncenter wp-image-5801 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App4.png\" alt=\"Resco Mobile Dynamics CRM App\" width=\"432\" height=\"244\" \/><\/a><\/p>\n<p style=\"padding-left: 60px; text-align: justify;\"><strong>b<\/strong>. Once you click on <strong><em>\u2018Edit Styles\u2019<\/em><\/strong>, the <strong><em>\u2018Application Global Style Manager\u2019<\/em><\/strong> window will open next. Select the <strong><em>\u2018ImageCellStyle\u2019<\/em><\/strong> and click on <strong><em>\u2018Add\u2019<\/em><\/strong> as shown in the screenshot below;<\/p>\n<p style=\"padding-left: 60px;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App5.jpg\"><img decoding=\"async\" class=\"aligncenter wp-image-5802 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App5.jpg\" alt=\"Resco Mobile CRM App Project\" width=\"373\" height=\"301\" \/><\/a><\/p>\n<p style=\"padding-left: 60px; text-align: justify;\"><strong>c<\/strong>. Now add the name of the style, in this case, we have named it as <strong><em>\u2018Resolved\u2019<\/em><\/strong>. In the <strong><em>\u2018FormatString\u2019<\/em><\/strong> field you need to select the Directory to which you have added the image as shown in the screenshot below;<\/p>\n<p style=\"padding-left: 60px;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App6.jpg\"><img decoding=\"async\" class=\"size-full wp-image-5803 aligncenter\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App6.jpg\" alt=\"Resco Mobile CRM App6\" width=\"550\" height=\"306\" \/><\/a><\/p>\n<p style=\"padding-left: 30px; text-align: justify;\">In this case, the <strong><em>\u2018FormatString\u2019<\/em><\/strong> is <strong><em>\u2018Resolved.{0}.png\u2019.<\/em><\/strong><\/p>\n<p style=\"padding-left: 30px; text-align: justify;\">Here, <strong><em>\u2018Resolved\u2019<\/em><\/strong> is the Directory name where the image is stored, <strong><em>\u2018{0}\u2019<\/em><\/strong> is the field text value i.e. <strong><em>\u2018Yes\u2019<\/em><\/strong> or <strong><em>\u2018No\u2019<\/em><\/strong>, and <strong><em>\u2018.png\u2019<\/em><\/strong> is the image file extension.<\/p>\n<p style=\"padding-left: 30px; text-align: justify;\"><strong>4<\/strong>. After creating\u00a0<strong><em>\u2018Styles\u2019<\/em><\/strong> the next step is to add the image in the view. Click on <strong><em>\u2018Add Image\u2019<\/em><\/strong> on the View form. As you can see in the screenshot below, the image control is added in the View. Here you can arrange the position of the image in the View.<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App7.jpg\"><img decoding=\"async\" class=\"wp-image-5804  aligncenter\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App7.jpg\" alt=\"Resco Mobile CRM App\" width=\"600\" height=\"291\" \/><\/a><\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App8.jpg\"><img decoding=\"async\" class=\"wp-image-5805  aligncenter\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App8.jpg\" alt=\"Resco Mobile CRM App\" width=\"596\" height=\"270\" \/><\/a><\/p>\n<p style=\"padding-left: 30px; text-align: justify;\"><strong>5<\/strong>. Now click on the image control and select the field for which you want to show the image.<\/p>\n<p style=\"padding-left: 30px; text-align: justify;\"><strong>6<\/strong>. The final step is to set the property of the image control added in the view. Here, set the <strong><em>\u2018Kind\u2019<\/em><\/strong> as <strong><em>\u2018Image-Click\u2019<\/em><\/strong> and <strong><em>\u2018Style\u2019<\/em><\/strong> as <strong><em>\u2018Resolved\u2019<\/em><\/strong> as seen in the screenshot below;<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App9.jpg\"><img decoding=\"async\" class=\"wp-image-5806 size-full aligncenter\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App9.jpg\" alt=\"Resco Mobile CRM App\" width=\"537\" height=\"425\" \/><\/a><\/p>\n<p style=\"padding-left: 30px; text-align: justify;\"><strong>7<\/strong>. Save the changes and publish the project. Once the project is published, open the project on your Mobile. Open the Work Order you can now see the clickable images that we have added in the <strong><em>\u2018Incidents\u2019<\/em><\/strong> view instead of <strong><em>\u2018Yes\u2019<\/em><\/strong> and <strong><em>\u2018No\u2019<\/em><\/strong> as seen in the screenshot below;<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App10.jpg\"><img decoding=\"async\" class=\"alignnone wp-image-5807 \" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2017\/06\/Resco-Mobile-CRM-App10.jpg\" alt=\"Resco Mobile Dynamics CRM App\" width=\"733\" height=\"210\" \/><\/a><\/p>\n<h4 style=\"text-align: justify;\">Conclusion:<\/h4>\n<p style=\"text-align: justify;\">Clickable images in the View on the Resco Mobile CRM app gives the users a pictorial representation of the data and helps improve the end user experience.<\/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=\"alignnone wp-image-5786 \" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2016\/11\/InoLink-QuickBooks-Integration-with-Microsoft-Dynamics-365-Dynamics-CRM.jpg\" alt=\"QuickBooks Integration with Microsoft Dynamics CRM\" width=\"825\" height=\"102\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: We had a requirement where we wanted to add a view that will list out all the Work Order Incidents on the Resco Mobile CRM app. We also wanted to add clickable images to this view to allow the user to mark Work Order Incidents as resolved or unresolved through a visual guide. To\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2017\/06\/clickable-image-in-view-on-the-resco-mobile-crm-app\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":5813,"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":[16,48],"tags":[1447,1450],"class_list":["post-5808","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365","category-resco-mobile-crm","tag-resco-mobile-crm","tag-resco-mobile-dynamics-crm-app"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/5808","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=5808"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/5808\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/5813"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=5808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=5808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=5808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}