SG create folders only for "Primary" storage


I have some trobule with my templates. Recently I have added additional storage to my config i named it “cache”, I cohave configured everything like it was said in this article:

But it dosent work how I expect. “Create folders” create only folders for “primary”, storage so I cannot get context as fields for templates which are using "cache " local storage. Any ideas?

This is because you need to edit your schema to now match that you have multiple storage locations.
Otherwise its not aware what kind of contextual data lives in a path on your cache.

1 Like

I have edited scheme like in article, separate folders for “cache”, and “project” (This one use ‘primary’ storage). All filters are set to match scheme for example, asset.yml from ‘cache’ schema:

name: "code"

entity_type: "Asset"

    - { "path": "project", "relation": "is", "values": [ "$cache" ] }
    - { "path": "sg_asset_type", "relation": "is", "values": [ "$asset_type"] }

Ok nevermind, I unregister my folders and reload all configs and it’s start working. My bad.
But one question, “create folders” on SG site works withc primary config or it can work wit sandbox configs as well?

1 Like

If you use the context menu you have to scroll down where it will list the other configs as a submenu with the create folders command in there too.

1 Like

Thank you! :slight_smile:

1 Like