How to call InDesign Server using .sh script in AEM? | Community
Skip to main content
June 1, 2021
Solved

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

  • June 1, 2021
  • 1 reply
  • 1152 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by MarkusBullaAdobe

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

1 reply

MarkusBullaAdobe
Adobe Employee
MarkusBullaAdobeAdobe EmployeeAccepted solution
Adobe Employee
June 2, 2021

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