You need to sign in to do that
Don't have an account?
Marilyne P
Dynamic custom field CustomField__{YYYY}__c YYYY can be dynamic
Hello,
I have created a fields like below :
CustomField__2017__c
CustomField__2018__c
CustomField__2019__c
CustomField__2020__c
I want to store values in them but the field should be dynamic
CustomField__{YYYY}__c = 'XXX'
YYYY can be 2017 or 2020, how can i do it in Apex
Thank you for advise
I have created a fields like below :
CustomField__2017__c
CustomField__2018__c
CustomField__2019__c
CustomField__2020__c
I want to store values in them but the field should be dynamic
CustomField__{YYYY}__c = 'XXX'
YYYY can be 2017 or 2020, how can i do it in Apex
Thank you for advise
Please mark my answer was solved if it fixes your issue