Create a block

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • yuri
    replied
    As the result, there will be such a field. Addresses are added as records.

    Click image for larger version

Name:	image.png
Views:	41
Size:	7.6 KB
ID:	127195

    Leave a comment:


  • yuri
    replied
    1. Entity Manager > Create Entity. Name it 'Address Entry'.

    2. Entity Manager > Address Entry > Fields > Add Field. Select 'Address'. Name it 'Address'.

    3. Entity Manager > Address Entry > Layouts > Detail. Drag and Drop the Address field to the layout. Optionally, remove the Name field from the layout. Do the same for Detail (small) layout.

    4. Entity Manager > Address Entry > Layouts > List. Drag and Drop the Address field to the layout. Optionally, remove the Name field from the layout.

    5. Entity Manager > {Entity Type} > Relationship > Create Link. Select One-to-Many type, select the Address Entry as a foreign entity. Check Link-Multiple.

    6. Entity Manager > {Entity Type} > Layouts > Detail. Drag and drop the 'Address Entries' field to the layout.

    7. Entity Manager > {Entity Type} > Fields > Address Entries. Check 'Create Button'.

    8. Entity Manager > Address Entry > Formula > Before Save Custom Script. Specify code:

    Code:
    name = string\concatenate(addressCity, ' ', addressCountry, ' ', addressStreet);
    ---

    {Entity Type} is your entity type in question.

    Leave a comment:


  • ferradeira
    replied
    can you please help me with the steps?

    Leave a comment:


  • yuri
    replied
    There's no such a feature.

    An alternative, is to create a custom entity type with an Address field there. Then, create related records, each one will have their address.

    Leave a comment:


  • ferradeira
    replied
    Is attached. I call it a block, but don't know if it is the correct name.
    Yes, address type.
    Than I want to add a + button to add more blocks if needed, like in email field for example.
    Attached Files

    Leave a comment:


  • victor
    replied
    Please describe your request in more detail. Preferably by adding screenshots.

    ​​​​​​Maybe you mean a field of Address type?
    Last edited by victor; 07-08-2026, 02:47 PM.

    Leave a comment:


  • ferradeira
    started a topic Create a block

    Create a block

    How can I create a block like the one in Accounts - Billing Address with Street, City, etc?
    thanks
Working...