Announcement

Collapse
No announcement yet.

emailaddressData formula

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Maarten
    replied
    This works now, thanks!

    Leave a comment:


  • rabii
    commented on 's reply
    it is released this morning https://github.com/espocrm/espocrm/releases/tag/7.3.0

  • Maarten
    replied
    yuri thanks. Any idea when 7.3 will be released?
    Last edited by Maarten; 01-09-2023, 10:11 AM.

    Leave a comment:


  • yuri
    replied
    I added the ability to fetch emailAddressData the way you tried. In v7.3.

    Leave a comment:


  • yuri
    replied
    I'll consider adding a separate function fetching all email addresses in the future version. For now, consider finding some workaround if "emailAddressData" is not accessible from the place you run the formula.

    If it's accessible, then use object\ functions to fetch properties of email address data items.

    Leave a comment:


  • yuri
    replied
    Hi,

    emailAddressData is a special field that is loaded separately on API calls. When it's used from formula sandbox it's not loaded.

    Leave a comment:


  • Maarten
    started a topic emailaddressData formula

    emailaddressData formula

    Hi,

    I'm trying to loop through the emailaddressData to see if one of the email addresses of the target entity has a specific domain name.

    When I use the API call for this target entity I see the emailaddressData is returns as an array of json 2 objects.

    However, when I go into the formula sandbox and run this on the same target entity:

    Code:
    output\printLine(array\length(emailAddressData));
    it returns 0

    Whereas If I do it on another attribute, it does return a count of 1

    Code:
    output\printLine(array\length(teamsIds));
    Does anyone know why this behavior is different on the emailAddressData, and moreover, how to parse it?
Working...
X