Change Product Type String from plate to PLT

Hello,

I’ve had a quick glance at the suggested existing topics, and couldn’t see anything jump out - apologies if this has already been asked.

Product Type is used in naming, and I’m attempting to configure AYON to have a naming convention which has been dictated to me by others and am seeing how flexible it all is.

I’ve worked out how to configure the product name template so that it’s {product[type]}_{variant} with an underscore separator rather than without (Studio settings → Core → Tools → Creator → Product name profiles → Template)

But is there a way to change the string for product types? i.e. change plate to PLT?

So that instead of the out-of-the-box plateMain I can get e.g. PLT_LA01?

Great to hear. Please, let me know if you expected to find it somewhere on docs but didn’t.

I think this should be fixed by product aliases. Product aliases - AYON

Thank you!

I have seemed to manage it by configuring: tray publisher → simple creator plugins → changing product type plate to PLT

In the tray publisher for “Plate” the product name then comes up prefixed with PLT_

Is that the wrong way to do this?

It’s not wrong to change product type but you need to reuse product types that exist in the AYON pipeline. Currently, other parts of the pipeline doesn’t expect plate to be renamed to plate.

I would say that “you can do that”, but you effectivelly disabled any option to load that as plate. At this moment product type is used in pipeline to identify content of the product, so load plugins are using it for filtering. If you use PLT instead of plate none of the load plugins would show up.

There is no correct way how to achieve that at this moment. Right now we are in progress of adding product type aliases but it is big amount of work that will take few iterations of addon releases for full feature support, until then there is no good way how to do it.

If it’s only about product name, then you can use product name template with hardcoded string in the template, instead of {product[type}_{variant} use PLT_{variant}. You can set up this template only for plate product type.

1 Like