{"id":1574,"date":"2016-01-04T11:51:11","date_gmt":"2016-01-04T11:51:11","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/salesforce\/?p=1574"},"modified":"2025-06-24T09:39:29","modified_gmt":"2025-06-24T09:39:29","slug":"custom-settings-in-salesforce-part-2","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/01\/04\/custom-settings-in-salesforce-part-2\/","title":{"rendered":"Custom Settings in Salesforce &#8211; Part 2"},"content":{"rendered":"\n<p>In one of our previous blogs, we discussed regarding <a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/12\/30\/custom-settings-in-salesforce-part-1\/\" target=\"_blank\" rel=\"noopener noreferrer\">Custom Settings in Salesforce<\/a>. This blog describes the implementation of custom settings. Let&#8217;s take a simple example for Custom Setting &#8211;<\/p>\n\n\n\n<p><strong><strong><strong style=\"color: #000000;\"><span style=\"color: #800000;\"><a style=\"color: #225e9b;\" href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\" target=\"_blank\" rel=\"noopener noreferrer\">Real-time, bi-directional, multi-company \u2013 Sage ERP Integration with Salesforce<\/a><\/span><\/strong><\/strong><\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_1.jpg\"><img decoding=\"async\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_1.jpg\" alt=\"CS_2_1\" class=\"wp-image-1575\"\/><\/a><\/figure><\/div>\n\n\n<p><strong>Create simple VF page for Custom Setting :<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_2.jpg\"><img decoding=\"async\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_2.jpg\" alt=\"CS_2_2\" class=\"wp-image-1576\"\/><\/a><\/figure><\/div>\n\n\n<p><strong>Now see in Force.com :<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_3.jpg\"><img decoding=\"async\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_3.jpg\" alt=\"CS_2_3\" class=\"wp-image-1577\"\/><\/a><\/figure><\/div>\n\n\n<p><strong>&nbsp;Insert records in Custom Setting :&nbsp;<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_4.jpg\"><img decoding=\"async\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_4.jpg\" alt=\"CS_2_4\" class=\"wp-image-1578\"\/><\/a><\/figure><\/div>\n\n\n<p><strong>Details of Records:<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_5.png\"><img decoding=\"async\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_5.png\" alt=\"CS_2_5\" class=\"wp-image-1583\"\/><\/a><\/figure><\/div>\n\n\n<p><strong>Let&#8217;s take an example of record type for custom Setting :<\/strong><br>You need to create record type<\/p>\n\n\n\n<p><strong>Once you create record type find its id, which is present in the url as shown below &#8211;&nbsp;<a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_6.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1584\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_6.jpg\" alt=\"CS_2_6\" width=\"990\" height=\"25\"><\/a><\/strong><\/p>\n\n\n\n<p><strong>Now you need to Create Custom Setting Object &#8211;<a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_8.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-1586\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_8.png\" alt=\"CS_2_8\" width=\"951\" height=\"382\"><\/a><\/strong><\/p>\n\n\n\n<p><strong>Set Record type Id &#8211;<a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_9.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1587\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_9.jpg\" alt=\"CS_2_9\" width=\"849\" height=\"190\"><\/a><\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_10.png\"><img decoding=\"async\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_10.png\" alt=\"CS_2_10\" class=\"wp-image-1588\"\/><\/a><\/figure><\/div>\n\n\n<p><strong>With the help of Record type, you will create records in the Custom object:<\/strong><\/p>\n\n\n\n<p><strong>Created Records :<\/strong><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1589\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_11.jpg\" alt=\"CS_2_11\" width=\"1099\" height=\"140\"><\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_12.jpg\"><img decoding=\"async\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2016\/01\/CS_2_12.jpg\" alt=\"CS_2_12\" class=\"wp-image-1590\"\/><\/a><\/figure><\/div>\n\n\n<p><strong>With the help of below code, it is possible to easily create records &#8211;&nbsp;<\/strong><br><span style=\"font-size: Medium;\"><strong>About Us<\/strong><\/span><br><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>&nbsp;as a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners across the globe. We offers Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that requires apex code incorporation into the Salesforce platform.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>&nbsp;has some unique solutions for Cloud CRM such as Salesforce integration with&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\">Sage Enterprise Management (Sage X3<\/a>),&nbsp;Sage Intacct, <a href=\"https:\/\/www.greytrix.com\/product\/sage-100-erp\/gumu-100-salesforce-integration\">Sage 100&nbsp;<\/a>and&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-300-erp\/gumu-300-salesforce-integration\">Sage 300 (Sage Accpac)<\/a>. We also offer best-in-class Cloud CRM&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/crm-development\/salesforce-com\">Salesforce customization and development services<\/a> along with services such as Salesforce <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/data-migration-services\">Data Migration<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/integrated-application-development\">Integrated App development<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/custom-development\">Custom App development<\/a> and <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/maintenance-support\">Technical Support<\/a> to business partners and end users.<\/p>\n\n\n\n<p>Greytrix GUMU&#x2122; integration for Sage ERP \u2013 Salesforce is a 5-star app listed on <a href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<\/p>\n\n\n\n<p>For more information, please contact us at&nbsp;<a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n\n\n\n<p><strong><span style=\"font-size: Medium;\">Related Posts<\/span><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/12\/30\/deploying-metadata-using-salesforce-package-part-ii-deploying-package\/\" target=\"_blank\" rel=\"noopener noreferrer\">Deploying Metadata using Salesforce Package Part II- Deploying Package<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/12\/30\/deploying-metadata-using-salesforce-package-part-i-creating-package\/\" target=\"_blank\" rel=\"noopener noreferrer\">Deploying Metadata using Salesforce Package Part I &#8211; Creating Package<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/12\/30\/custom-settings-in-salesforce-part-1\/\" target=\"_blank\" rel=\"noopener noreferrer\">Custom Settings in Salesforce \u2013 Part 1<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/12\/29\/standard-controller-and-custom-class-name-conflict\/\" target=\"_blank\" rel=\"noopener noreferrer\">Standard Controller and Custom Class Name Conflict<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/12\/02\/salesforcea-mobile-app-for-administrators\/\" target=\"_blank\" rel=\"noopener noreferrer\">SalesforceA &#8211; Mobile App for Administrators<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In one of our previous blogs, we discussed regarding Custom Settings in Salesforce. This blog describes the implementation of custom settings. Let&#8217;s take a simple example for Custom Setting &#8211; Real-time, bi-directional, multi-company \u2013 Sage ERP Integration with Salesforce Create simple VF page for Custom Setting : Now see in Force.com : &nbsp;Insert records in\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2016\/01\/04\/custom-settings-in-salesforce-part-2\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[70,640],"class_list":["post-1574","post","type-post","status-publish","format-standard","hentry","category-gumu-salesforce","tag-custom-settings","tag-custom-settings-in-salesforce"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/1574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/comments?post=1574"}],"version-history":[{"count":5,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/1574\/revisions"}],"predecessor-version":[{"id":11063,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/1574\/revisions\/11063"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media?parent=1574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/categories?post=1574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/tags?post=1574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}