Dynamic Logic - file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peterberlin
    Active Community Member
    • Mar 2015
    • 1004

    Dynamic Logic - file

    Hi,

    Is it also planned to check the field of type File to check if a file was filed or not?

    (We must monitor whether our users in the entity "Opportunity" place an offer as a file.)
    Peter
  • yuri
    Member
    • Mar 2014
    • 8501

    #2
    Hi Peter,

    PHP Code:
    ifThen(
      fileFieldNameId !== null && entity\isAttributeChanged('fileFieldNameId'),
      here do something
    ) 
    
    Last edited by yuri; 02-20-2017, 03:39 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

    Working...