Announcement

Collapse
No announcement yet.

Formula does not work for relationshipNames

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

  • Formula does not work for relationshipNames

    Hi,
    I am trying to access values for a linked entity called MyLink, linked with Many-to-Many.
    If I try the code
    Code:
    name=array\join(myLinkIds, ";");
    everything works fine.

    Yet, if I run
    Code:
    name=array\join(myLinkNames, ";");
    I always get an empty string.


  • #2
    This is not a bug, Names is not an array. See in the doc: https://docs.espocrm.com/administrat...ing/#attribute

    I will appreciate if you create topics for such issues not in the bug report section. Thanks.
    Last edited by yuri; 04-15-2021, 06:35 PM.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • #3
      Hi, sorry I hadn't realised that it should not give an array.
      I'll try to do my homework better, next time. Now I guess I need to find how to manipulate such "Object" using the formula.
      Thanks.
      Cheers,

      Comment

      Working...
      X