Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to call InDesign Server using .sh script in AEM?

Avatar

Level 1

Hi Everyone,

 

I need to call indesign server using .sh script.

 

And also, I need to change the port dynamically InDesign file upload if the port is busy.

 

Could anyone knows the answer please help me.

 

Thanks.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @johnp45247251!

I'm not an expert when it comes to InDesign server but are you aware of the existing integration [1] between AEM and InDesign server?

Sounds like this could be a more sophisticated integration approach compared to shell scripts.

 

If you really need to call a command line script from within AEM, this is usually handled best through a workflow step.

You may want to look at the out-of-the-box DAM Update Asset that comes with similar steps, e. g. to call ImageMagick on the command line in the "EPS thumbnails" step.

Please keep in mind that this requires solid error handling on both ends: the workflow step and the shell script. If you are working with shell scripts from within AEM, you want that to be properly tested and "bullet proof".

 

Hope that helps!

 

[1] https://experienceleague.adobe.com/docs/experience-manager-65/assets/administer/indesign.html

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi @johnp45247251!

I'm not an expert when it comes to InDesign server but are you aware of the existing integration [1] between AEM and InDesign server?

Sounds like this could be a more sophisticated integration approach compared to shell scripts.

 

If you really need to call a command line script from within AEM, this is usually handled best through a workflow step.

You may want to look at the out-of-the-box DAM Update Asset that comes with similar steps, e. g. to call ImageMagick on the command line in the "EPS thumbnails" step.

Please keep in mind that this requires solid error handling on both ends: the workflow step and the shell script. If you are working with shell scripts from within AEM, you want that to be properly tested and "bullet proof".

 

Hope that helps!

 

[1] https://experienceleague.adobe.com/docs/experience-manager-65/assets/administer/indesign.html