{"id":242,"date":"2010-07-22T06:00:00","date_gmt":"2010-07-22T06:00:00","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=242"},"modified":"2023-10-06T06:25:24","modified_gmt":"2023-10-06T06:25:24","slug":"check-this-out","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/","title":{"rendered":"\u201cCheck\u201d this out"},"content":{"rendered":"<p>In my previous blog I had discussed the ways to change the hyperlink on grid to pop-up a custom page window and added parameters. This functionality enables us to handle the actions for grid items separately. This functionality may be required in case when we need to send some more parameters in URL in window that is being popped out.<\/p>\n<p>What if I want a way to perform the single action against multiple items in a grid? Well, this has been quite efficiently implemented on standard grids where we can perform actions against the record set filtered in grid using Action buttons.<\/p>\n<p><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfZUizf0ZI\/AAAAAAAABFA\/Ji-1JTdAtC4\/s1600\/IMG.JPG\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"alignnone\" src=\"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfZUizf0ZI\/AAAAAAAABFA\/Ji-1JTdAtC4\/s320\/IMG.JPG\" alt=\"Action buttons\" width=\"320\" height=\"90\" border=\"0\" \/><\/a><br \/>\n<b>Note: Please click on image to enlarge<\/b><\/p>\n<p>For custom entities we can go ahead and add these action buttons, but what next? The actions that take place afterwards have complicated logic to be implemented. Rest all is fine, but sending an E-mail is one of the most common behaviors that business requirement expects from the custom entity design.<\/p>\n<p>Greytrix had come up with several such custom designs wherein we can perform e-mail sending actions either from list of records in grids or even from entity summary screen after redirecting from Grid. Somehow we didn\u2019t find out the way of allowing users to select only the desired records in grid using checkbox. So whenever we received such request, we went ahead with custom grid with lots of navigational and other process handling headaches, but as well said by somebody \u201cEvery problem has solution\u201d we have designed a script to achieve this from standard grid itself.<\/p>\n<p>The below post on Jeff\u2019s blog tickled our minds to try our hands in this.<\/p>\n<p>https:\/\/community.sagecrm.com\/partner_community\/b\/hints_tips_and_tricks\/archive\/2009\/07\/27\/the-clientside-of-control-of-lists-and-columns.aspx<\/p>\n<p>Basically, what I need to have is the column with checkboxes in grid so that I can select multiple items in grid and perform some actions for them. This cannot be achieved just by adding checkbox field to grid. The above post describes how to refer a grid on page. Now to achieve your requirement you need to do following actions.<\/p>\n<p>1. Add a dummy field to entity named \u201cSelect\u201d (This ensures that \u201cSelect\u201d comes up as the header of checkbox column.). Let the field be a simple text field.<\/p>\n<p>2. Add it as a first column in the grid you have designed from Lists tab under that entity. Now this will just be an empty column<\/p>\n<p>3. Add a custom jump to some page or action in the column next to the \u201cSelect\u201d. This is the location from where we determine the id field for that particular row. Now question is why do we need id value of that row?<\/p>\n<p>Adding checkboxes only won\u2019t achieve our requirement. We want every checkbox to possess unique Id and Name value to uniquely identify each row in grid. We can keep it very simple as \u201cchk_\u201d<\/p>\n<p>4. Enhancement to script on above mentioned blog is the below function to add checkboxes on grid.<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfccAvgCfI\/AAAAAAAABFE\/BC_AF4DzNQk\/s1600\/checkboxgrid.JPG\" target=\"_blank\" rel=\"noopener\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfccAvgCfI\/AAAAAAAABFE\/BC_AF4DzNQk\/s320\/checkboxgrid.JPG\" alt=\"script to add checkboxes on grid\" width=\"318\" height=\"320\" border=\"0\" \/><\/a><\/div>\n<p><b>Note: Please click on image to enlarge<\/b><\/p>\n<p>In the above script the Custom Entity is Bill and Id field is Bill_BillId. You need to make changes to script in order reuse it for your entity<\/p>\n<p>5. The script will insert all checkboxes in first column of grid and as we have unique checkbox we can now go ahead to uniquely identify each row in grid.<\/p>\n<p><b>For queries regarding the functionality and cost of this component, please feel free to drop us an email at <a title=\"mailto:crm@greytrix.com\" href=\"mailto:crm@greytrix.com\">crm@greytrix.com<\/a>. <\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my previous blog I had discussed the ways to change the hyperlink on grid to pop-up a custom page window and added parameters. This functionality enables us to handle the actions for grid items separately. This functionality may be required in case when we need to send some more parameters in URL in window\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[501,503,668,870],"class_list":["post-242","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-action-buttons","tag-actions-on-grid","tag-checkbox","tag-custom-page"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u201cCheck\u201d this out - Sage CRM \u2013 Tips, Tricks and Components<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u201cCheck\u201d this out - Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"In my previous blog I had discussed the ways to change the hyperlink on grid to pop-up a custom page window and added parameters. This functionality enables us to handle the actions for grid items separately. This functionality may be required in case when we need to send some more parameters in URL in window\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2010-07-22T06:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-06T06:25:24+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfZUizf0ZI\/AAAAAAAABFA\/Ji-1JTdAtC4\/s320\/IMG.JPG\" \/>\n<meta name=\"author\" content=\"greysagecrm\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"greysagecrm\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/\",\"name\":\"\u201cCheck\u201d this out - Sage CRM \u2013 Tips, Tricks and Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfZUizf0ZI\/AAAAAAAABFA\/Ji-1JTdAtC4\/s320\/IMG.JPG\",\"datePublished\":\"2010-07-22T06:00:00+00:00\",\"dateModified\":\"2023-10-06T06:25:24+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/#primaryimage\",\"url\":\"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfZUizf0ZI\/AAAAAAAABFA\/Ji-1JTdAtC4\/s320\/IMG.JPG\",\"contentUrl\":\"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfZUizf0ZI\/AAAAAAAABFA\/Ji-1JTdAtC4\/s320\/IMG.JPG\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u201cCheck\u201d this out\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\",\"name\":\"Sage CRM \u2013 Tips, Tricks and Components\",\"description\":\"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\",\"name\":\"greysagecrm\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"caption\":\"greysagecrm\"},\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u201cCheck\u201d this out - Sage CRM \u2013 Tips, Tricks and Components","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/","og_locale":"en_US","og_type":"article","og_title":"\u201cCheck\u201d this out - Sage CRM \u2013 Tips, Tricks and Components","og_description":"In my previous blog I had discussed the ways to change the hyperlink on grid to pop-up a custom page window and added parameters. This functionality enables us to handle the actions for grid items separately. This functionality may be required in case when we need to send some more parameters in URL in window\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2010-07-22T06:00:00+00:00","article_modified_time":"2023-10-06T06:25:24+00:00","og_image":[{"url":"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfZUizf0ZI\/AAAAAAAABFA\/Ji-1JTdAtC4\/s320\/IMG.JPG","type":"","width":"","height":""}],"author":"greysagecrm","twitter_card":"summary_large_image","twitter_misc":{"Written by":"greysagecrm","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/","name":"\u201cCheck\u201d this out - Sage CRM \u2013 Tips, Tricks and Components","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/#primaryimage"},"thumbnailUrl":"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfZUizf0ZI\/AAAAAAAABFA\/Ji-1JTdAtC4\/s320\/IMG.JPG","datePublished":"2010-07-22T06:00:00+00:00","dateModified":"2023-10-06T06:25:24+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/#primaryimage","url":"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfZUizf0ZI\/AAAAAAAABFA\/Ji-1JTdAtC4\/s320\/IMG.JPG","contentUrl":"http:\/\/1.bp.blogspot.com\/_A6_b0zkYeSY\/TEfZUizf0ZI\/AAAAAAAABFA\/Ji-1JTdAtC4\/s320\/IMG.JPG"},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2010\/07\/22\/check-this-out\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"\u201cCheck\u201d this out"}]},{"@type":"WebSite","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/","name":"Sage CRM \u2013 Tips, Tricks and Components","description":"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f","name":"greysagecrm","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","caption":"greysagecrm"},"url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/comments?post=242"}],"version-history":[{"count":1,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/242\/revisions"}],"predecessor-version":[{"id":27857,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/242\/revisions\/27857"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}