Hi
I’m writing a custom hook that will be used in the tk-multi-workfiles2 app.
The tk-multi-workfiles2 app has a setting : “saveas_default_name” which I want to attach my hook to. I want the default name to be the name of the current pipeline step.
If I store my hook file (saveas_default_name_tk-maya.py) in the \install\core\hooks\ and define it in the yaml file like;
settings.tk-multi-workfiles2.maya.asset_step:
saveas_default_name: hook:saveas_default_name_tk-maya
Then it will work
Of course, I would prefer to put my hook inside the configs hook folder. I tried a few things like;
saveas_default_name: hook:"{config}/tk-multi-workfiles2/saveas_default_name_tk-maya.py"
But that does not work; I get an error in maya; Shotgun tk-multi-workfiles2: File Model: Search 5 failed - Cannot execute hook ‘\VSERVER01\shotgun\devdo2021_P99999\install\core\hooks"{config}/tk-multi-workfiles2/saveas_default_name_tk-maya.py".py’ - this file does not exist on disk!
How should I specify the correct path for my hook ?
Regards