function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kiyana DunlockKiyana Dunlock 

I want to store a list of key value pairs in salesforce and check these values in a formula field

I have two fields on the Account -
Account Name and Account Alias

I have a list of Account names and their Aliases that I would like to be able to store in salesforce somewhere to reference.

I want a formula field check box that checks these values against the list.

I want the formula to find the Account Name Field in the Account Name keys from the list and check if the value = the Alias field and if so return true.
PriyaPriya (Salesforce Developers) 

Hi Kiyana,

This is not possible using the formula field. You need to create the checbox field of checkbox type. ans store your key value in custom metadata. Then develop a trigger with your required kogc and then update the checkbox.

Kindly mark it as the best answer if it works for you.

 

Thanks & Regards,

Priya Ranjan


 
Originate WebOriginate Web
Add full width banner images to all pages of my store
Full width banner images (https://originateweb.com/full-width-banner-to-all-pages-shopify/) increase your brand appearance with impressive full-width banners. Customize the banners by adding advertisements or any graphic text along with a call to action button. The banners can be added to any page of your site for promotional purposes.
 
unde rmiskounde rmisko

Kroger ESchedule or Kroger ESS Schedule is the work schedule, Regular working hours, and holiday hours information portal started for the registered associates and employees working for one of the largest supermarket chains all around the world, Kroger.Visit here: feed Kroger login

 
Aemond McGregorAemond McGregor
Yes, it is possible to store a list of key-value pairs in Salesforce and check these values in a formula field. One way to do this is by using a custom object to store the key-value pairs, and then creating a formula field that references the custom object to check the values. https://retrobowl.pro/
meta sahumeta sahu
Thanks for sharing such inoformation with us. I always use this method on  ((game news (game news (https://newstoday360.com/)) )) website.
PellePelle JacketPellePelle Jacket
Introducing our premium collection of Letterman Jackets (https://lettermanjacket.co.uk/), tailored to capture the essence of timeless collegiate style for both men and women. Our Men's Varsity Letterman Jacket embodies the classic American athletic spirit, combining high-quality wool and genuine leather accents to create a distinguished yet sporty look that reflects the proud tradition of varsity sports. With its iconic chenille patches and tailored fit, our men's letterman jacket (https://lettermanjacket.co.uk/category/mens-letterman-jacket/) exudes a sense of accomplishment and team spirit, making it the perfect choice for those seeking a touch of vintage charm combined with contemporary flair.