Entity Not In Workflow - How can I add

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dodom2
    Senior Member
    • Jan 2020
    • 198

    Entity Not In Workflow - How can I add

    Im trying to setup a workflow to update my shopping cart for product categories. The issue is the product catagories are not visible in the "Target Entity" drop down. See here https://prnt.sc/scoxfd

    How can I add this?
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hi,
    for Product Category do:
    1. Create the file /custom/Espo/Custom/Resources/metadata/scopes/ProductCategory.json with code:
    Code:
    {"tab": true}
    2. Administration -> Clear Cache.
    3. Refresh a web page.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      I'd recommend trying {"object": true} instead of "tab". It's more relevant way.
      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

      • vistavoijb
        Junior Member
        • May 2020
        • 1

        #4
        Originally posted by Maximus
        Hi,
        for Product Category do:
        1. Create the file /custom/Espo/Custom/Resources/metadata/scopes/ProductCategory.json with code:
        Code:
        {"tab": true}
        2. Administration -> Clear Cache.
        3. Refresh a web page.
        Thank you for posting something like this

        Comment

        Working...