sivaprasad9394
Occasional Collector

How to change the Section Template Preview images in all the projects??

Jump to solution

Hello All,

I would like to change the preview image of the section template. The same section template is used in many projects.

How to change the preview image screen short in all the project which has same section template??

Is there any method to do it?

Thank you,

Regards,

Siva

0 Kudos
1 Solution

Accepted Solutions
bIT_sosswald
Returning Responder

Hi Siva,

there are multiple ways to do that, depending on your project structure.

Do you use CorporateContent and its template inheritance (and in the case of your Company also the so called TDS)?
Then you could just change the picture in the template of the master project and inherit it in the child projects.

Do you use (automated) ContentTransport feature to transport the templates between your Projects?
Then you could change the picture in your master project and transport it via the ContentTransport Feature to the other projects?

Do you use the external synchronization to manage the template development and distribution?
Then you could just change the picture in the CVS (SVN), merge the change in all branches where it is needed and import the changed templates with the external synchronization back into FirstSpirit.

Do you use nothing from the above?

Then you could write a little Java-Tool which does the job for you.
Configure a list of Projects, the template name and the path to the picture you want to use. Then just use a loop to connect to all projects, get the needed template and change the picture using this method setPreviewImage(byte[] imageBytes) .

You see, several possible options what fits best for you depends on your project structure and other circumstances.

Greetings

Sandro

View solution in original post

0 Kudos
2 Replies
bIT_sosswald
Returning Responder

Hi Siva,

there are multiple ways to do that, depending on your project structure.

Do you use CorporateContent and its template inheritance (and in the case of your Company also the so called TDS)?
Then you could just change the picture in the template of the master project and inherit it in the child projects.

Do you use (automated) ContentTransport feature to transport the templates between your Projects?
Then you could change the picture in your master project and transport it via the ContentTransport Feature to the other projects?

Do you use the external synchronization to manage the template development and distribution?
Then you could just change the picture in the CVS (SVN), merge the change in all branches where it is needed and import the changed templates with the external synchronization back into FirstSpirit.

Do you use nothing from the above?

Then you could write a little Java-Tool which does the job for you.
Configure a list of Projects, the template name and the path to the picture you want to use. Then just use a loop to connect to all projects, get the needed template and change the picture using this method setPreviewImage(byte[] imageBytes) .

You see, several possible options what fits best for you depends on your project structure and other circumstances.

Greetings

Sandro

0 Kudos

Hello Sosswald,

Thank you for your detailed explanation.

Regards,

Siva

0 Kudos