Create field and workflow of opportunityRole in a Case

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gmglaw1
    Junior Member
    • Dec 2016
    • 3

    Create field and workflow of opportunityRole in a Case

    I am not sure what steps to take to create a field similar to opportunityRole in a Case so that when a Contact is selected in a case, the Contact's Case Role field dropdown appears. I would greatly appreciate it if someone can walk me through what fields need to be created in which entities, which relationships, and dynamic logic (if any). I tried exploring everything I could related to the opportunityRole field but just can't figure out how it works.

    Thank you very much!
  • yuri
    Member
    • Mar 2014
    • 8442

    #2
    Hi,

    This can be created only manually by coding. The most is defined in metadata entityDefs of opportunity and contact. You can replicate that for cases.
    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

    • gmglaw1
      Junior Member
      • Dec 2016
      • 3

      #3
      Thanks for assistance.

      In addition to making changes in entityDefs, we had to make changes in client/modules/crm/src/views/case/fields/contacts.js

      Comment

      Working...