There used to be a CapsuleCRM::CustomFields.create method. Looking at some old code here, it appears that it worked as follows (It would be very old code):
cfs = [{label: 'MyField', text: 'Some field contents'}, {label: 'MyOtherField', text: 'Some other field contents'}]
cfs.each do |cf|
CapsuleCRM::CustomFields.create({party: myParty}.merge(cf)
end
What is the current way to create custom fields? Cheers.
There used to be a CapsuleCRM::CustomFields.create method. Looking at some old code here, it appears that it worked as follows (It would be very old code):
What is the current way to create custom fields? Cheers.