Questions tagged [compound-fields]

Compound fields are read-only and group together multiple elements of primitive data types, such as numbers or strings, to represent complex data types, e.g. an address or a location. Compound fields are an abstraction that can simplify application code that handles the values, leading to more concise, understandable code.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

Standard text field throw error on inputting and not after save button is clicked

Billing Country is a standard compound field where on typing value , is there a possibility to throw an message rather than on save throws like validation rules.
2
votes
0answers
138 views

How to display errors on compound fields in Lightning Record Edit Form

My lightning:recordEditForm contains compound and regular (non-compound) fields. The regular fields display errors (field validation error, required field error, etc.) on the field. But, the compound ...
0
votes
1answer
79 views

Account sobject, Name field, compoundFieldName property

I'm new to SalesForce, and there's something I don't understand: in the Account object, for the Name field, why is the compoundFieldName property defined to ... Name (the field is referring to itself ...
1
vote
1answer
2k views

Account Object BillingAddress

I am creating an Account object and am having trouble associating an Address record to the Billing Address. This is working for creating an address of billing type: sc_address = sf_client.create!('...
6
votes
1answer
1k views

Runtime error on a validation rule?

I encountered the strangest error today, and I wanted to make sure that this is a real thing and not just a silly mistake of mine. I had a validation rule on Lead: And( isblank(Address), $...
0
votes
1answer
455 views

Invalid field Address for SObject User

So, I'm trying to access the Address field on the User object in an after update Trigger but I keep getting the error when I try to update a User record. Invalid field Address for SObject User I ...
22
votes
4answers
1k views

How to know if a field is part of a compound address field and thus is not permissionable

I am working on a class that dynamically created FieldPermissions records for a permission set. This is working fine, except when it comes to standard compound address fields. When you attempt to ...