You need to sign in to do that
Don't have an account?
StephenYS10000
Dynamic picklist
Does anybody know how I can populate a picklist from a trigger
My client whats the picklist to be dynamic
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Does anybody know how I can populate a picklist from a trigger
My client whats the picklist to be dynamic
Working Code for you:
Here i am displaying the list of accounts as a picklist (that dynamically collect the data from the Account object) on contact.
So link your 'MunicipalityList__c' object to account. use this below code will work.
All Answers
Can you explain a little more about what populating a picklist means?
E.g. are you trying to populate a picklist field in an sObject from a trigger, change the available values in the picklist etc
A little more about how you want to use it would be useful too - why it needs to be done in a trigger, for example.
Hi
We have a custom object called 'MunicipalityList__c' that is populated from an external source using the Castiron sync software
The custom object will for example contain a new list of Municipalites for this companies list of customers
I want to create a compontent and VF page that I can add to the Account layout page. The Account object will have a custom field called Municipality__c. I want to conpontent to act as a picklist that dynamically collect the data from the 'MunicipalityList__c' custom object.
Thanks in advance
Stephen
Working Code for you:
Here i am displaying the list of accounts as a picklist (that dynamically collect the data from the Account object) on contact.
So link your 'MunicipalityList__c' object to account. use this below code will work.