You need to sign in to do that
Don't have an account?
Update Multi-Picklist on updating custom object
I have custom object KeywordAccountAssociation__c. This object has three fields
- Account__c - Master-Detail(Account)
- Keyword__c - Master-Detail(Keyword)
- Compositecp__c - Text(255) (External ID) (Unique Case Sensitive)
I have a custom field in Account
- DD_Segment__c - multi-picklist
Now I want to update (Insert is fine too) values of DD_Segment__c wheneverKeywordAccountAssociation__c is updated. I could write trigger for this but I don't know how? I am new to Salesforce Development and my background is ruby (so getting accustomed to apex is bit difficult for me).
KeywordAccountAssociation__c has multiple rows of Account__c which has same account_id and those account_id are related to a record of custom object Keyword__c. I want to get all keywords related to one account and update in its (account's) multi-picklist. How can I achieve this? If you have doubts about this please do ask. Thanks!