Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

johnp45247251
Level 1
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.

AEM AEM 6.2 indesign server
1 Accepted Solution
markus_bulla_adobe
Correct answer by
Employee
Employee

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
markus_bulla_adobe
Correct answer by
Employee
Employee

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