{"id":90,"date":"2010-06-14T07:30:15","date_gmt":"2010-06-14T12:30:15","guid":{"rendered":"http:\/\/www.teamdesk.net\/blog\/2010\/06\/custom-buttons\/"},"modified":"2015-10-26T14:21:51","modified_gmt":"2015-10-26T19:21:51","slug":"custom-buttons","status":"publish","type":"post","link":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/","title":{"rendered":"Custom buttons"},"content":{"rendered":"<p>You&#8217;ve probably noticed that some <a href=\"http:\/\/www.teamdesk.net\">TeamDesk<\/a> applications expose buttons to update records, for example Lead Management application allows to change lead owner or status for multiple records.<\/p>\n<p>This was done through Custom Actions interface we&#8217;ve developed long ago. The tool was powerful but a bit complex to use and we never released its setup interface to the public.<\/p>\n<p>Today we are proud to present Custom Buttons \u2013 the subset of custom actions designed specifically to allow administrators to create custom buttons to perform record updates.<\/p>\n<p>You can find a link to custom buttons setup part in the Rules section of the table&#8217;s setup page.<\/p>\n<p><!--more--><\/p>\n<p>The <strong>Button Label<\/strong> property specifies the text to display on the button.<\/p>\n<p>The <strong>Location<\/strong> property specifies whether the button will be located on a record&#8217;s preview page, or, along with View\/Edit\/Delete buttons on a table views selected in <strong>Views<\/strong> property or in both places; or you can specify that the button will process multiple records. Latter mode is similar to a Table View mode, but instead of displaying the button for each record, TeamDesk will render checkboxes to allow the user to select some records; the button performing the action will be located in the table view&#8217;s header.<\/p>\n<p>The <strong>Roles<\/strong> property allows you to restrict the access to the button to a selected set of roles.<\/p>\n<p>The <strong>Filter<\/strong> property can be used to restrict the action to some records (regardless of user selection).<\/p>\n<p><strong>Assignments<\/strong> section allow you to calculate some values and assign them to a record&#8217;s columns.<\/p>\n<p>The <strong>Columns<\/strong> property allows you to ask for user input. If no columns are provided the record will be &#8220;silently&#8221; updated according to a rules in assignment section.<\/p>\n<p>Let&#8217;s see if we can re-implement Leads Management&#8217;s Change Owner button via custom buttons.<\/p>\n<p>This is a multiple records button. It is available to Administrators only (regular users are not allowed to manipulate Lead Owner column). It is available for all table views. It asks the user to provide new value for the Lead Owner column.<\/p>\n<p>Here is a setup screenshot.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/551.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-479\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/551.gif\" alt=\"55,1\" width=\"445\" height=\"370\" \/><\/a><\/p>\n<p>Let&#8217;s see what we&#8217;ve got. Here is what TeamDesk will display to the user:<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/552.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-480\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/552.gif\" alt=\"55,2\" width=\"447\" height=\"169\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/553.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-481\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/553.gif\" alt=\"55,3\" width=\"443\" height=\"155\" \/><\/a><\/p>\n<p>Now you have simple and powerful tool to let users run update actions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You&#8217;ve probably noticed that some TeamDesk applications expose buttons to update records, for example Lead Management application allows to change lead owner or status for multiple records. This was done through Custom Actions interface we&#8217;ve developed long ago. The tool was powerful but a bit complex to use and we never released its setup interface [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-90","post","type-post","status-publish","format-standard","hentry","category-whats-new"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Custom buttons - TeamDesk Blog<\/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.teamdesk.net\/blog\/whats-new\/custom-buttons\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom buttons - TeamDesk Blog\" \/>\n<meta property=\"og:description\" content=\"You&#8217;ve probably noticed that some TeamDesk applications expose buttons to update records, for example Lead Management application allows to change lead owner or status for multiple records. This was done through Custom Actions interface we&#8217;ve developed long ago. The tool was powerful but a bit complex to use and we never released its setup interface [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/\" \/>\n<meta property=\"og:site_name\" content=\"TeamDesk Blog\" \/>\n<meta property=\"article:published_time\" content=\"2010-06-14T12:30:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-26T19:21:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/551.gif\" \/>\n<meta name=\"author\" content=\"Kirill Bondar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirill Bondar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/\"},\"author\":{\"name\":\"Kirill Bondar\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/22c4c05bd657513c8b00122fa364c8d2\"},\"headline\":\"Custom buttons\",\"datePublished\":\"2010-06-14T12:30:15+00:00\",\"dateModified\":\"2015-10-26T19:21:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/\"},\"wordCount\":371,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/551.gif\",\"articleSection\":[\"What's New\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/\",\"name\":\"Custom buttons - TeamDesk Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/551.gif\",\"datePublished\":\"2010-06-14T12:30:15+00:00\",\"dateModified\":\"2015-10-26T19:21:51+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/22c4c05bd657513c8b00122fa364c8d2\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/551.gif\",\"contentUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/551.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/whats-new\\\/custom-buttons\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom buttons\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\",\"name\":\"TeamDesk Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/22c4c05bd657513c8b00122fa364c8d2\",\"name\":\"Kirill Bondar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g\",\"caption\":\"Kirill Bondar\"},\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/author\\\/kirill-bondar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom buttons - TeamDesk Blog","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.teamdesk.net\/blog\/whats-new\/custom-buttons\/","og_locale":"en_US","og_type":"article","og_title":"Custom buttons - TeamDesk Blog","og_description":"You&#8217;ve probably noticed that some TeamDesk applications expose buttons to update records, for example Lead Management application allows to change lead owner or status for multiple records. This was done through Custom Actions interface we&#8217;ve developed long ago. The tool was powerful but a bit complex to use and we never released its setup interface [&hellip;]","og_url":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/","og_site_name":"TeamDesk Blog","article_published_time":"2010-06-14T12:30:15+00:00","article_modified_time":"2015-10-26T19:21:51+00:00","og_image":[{"url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/551.gif","type":"","width":"","height":""}],"author":"Kirill Bondar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirill Bondar","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/#article","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/"},"author":{"name":"Kirill Bondar","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/22c4c05bd657513c8b00122fa364c8d2"},"headline":"Custom buttons","datePublished":"2010-06-14T12:30:15+00:00","dateModified":"2015-10-26T19:21:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/"},"wordCount":371,"commentCount":0,"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/551.gif","articleSection":["What's New"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/","url":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/","name":"Custom buttons - TeamDesk Blog","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/#primaryimage"},"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/551.gif","datePublished":"2010-06-14T12:30:15+00:00","dateModified":"2015-10-26T19:21:51+00:00","author":{"@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/22c4c05bd657513c8b00122fa364c8d2"},"breadcrumb":{"@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/#primaryimage","url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/551.gif","contentUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2010\/06\/551.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.teamdesk.net\/blog\/whats-new\/custom-buttons\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.teamdesk.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Custom buttons"}]},{"@type":"WebSite","@id":"https:\/\/www.teamdesk.net\/blog\/#website","url":"https:\/\/www.teamdesk.net\/blog\/","name":"TeamDesk Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.teamdesk.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/22c4c05bd657513c8b00122fa364c8d2","name":"Kirill Bondar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dc5bc844095b5753ccc73c589c028bf16615674f289668146bbd59205a08a52d?s=96&d=mm&r=g","caption":"Kirill Bondar"},"url":"https:\/\/www.teamdesk.net\/blog\/author\/kirill-bondar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/comments?post=90"}],"version-history":[{"count":1,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/90\/revisions"}],"predecessor-version":[{"id":482,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/90\/revisions\/482"}],"wp:attachment":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/media?parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/categories?post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/tags?post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}