내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

How to run a shell script placed in server through Javascript?

Avatar

Level 2

As a part of requirement, i need to run a shell script in Adobe campaign v7. Is it possible to call a shell script placed in server from javascript?? Or please provide any other alternatives.

The main function of this shell script is to transpose certain rows of file into column and then pass it to Adobe campaign. So without using Shell script, is there any other way to do transpose of row to column in Adobe campaign??

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi,

For operators with the createProcess right, it's execCommand() in workflow js.

Script should be executable by the neolane user.

You can also read the file in js with loadFile() or similar, then it's just iterating and setting fileT[col][row] = file[row][col];

Thanks,

-Jon

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi,

For operators with the createProcess right, it's execCommand() in workflow js.

Script should be executable by the neolane user.

You can also read the file in js with loadFile() or similar, then it's just iterating and setting fileT[col][row] = file[row][col];

Thanks,

-Jon