Is it possible to override the publishpath of a structure group?
I am using an AddBinary
method by specifying a SG to publish to a location. Tridion publishes my binary under "Publication Path\SG path". But I want to override the publication path to something else.
In other words, I want to publish binaries / images to a particular publication path, which is different from the path mentioned in Publication's 'Publication Path' property.
Following is the exact scenario
1) I have a content publication C020 for desktop content and site publication S070 for Desktop pages. The publication path is \xyz 2) I have a mobile content publication C050 for mobile content and mobile site publication S072 for mobile pages. The publication path in S072 is \xyz\mobile
My requirement is whenever a binary is published from S070 & S072 my binaries always should go to a path \xyz.
If i used AddBinary with SG as parameter, i can not achieve the above. Because all my binaries published from S072 will always go to \xyz\mobile. Is there a way to publish the binaries to \xyz ?