Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We need to create Windows script to perform action on Qlik Replicate from AEM in batch, instead of web-console. One example is the export of task with the option "without-endpoint" (not available using Replicate command repctl). Where can I find a complete description/usage of aemctl command syntax ?
i believe that you are looking for the AEM API information :
@Steve_Nguyen I find API requires programming skillsets, more complex than VB script on Windows. Would you have a sample script with how-to execute it on Windows ? I need to export tasks (without endpoints) from non-prod QRS, apply some environmental conversion to naming standards using Powershell (already) written, and import into Prod QRS. Repctl export json include endpoints which override the target server endpoints definitions hence invalidate them !
Hello,
Here is a curl example for exporting task
CURL.EXE -i -k --header "EnterpriseManager.APISessionID: wCo0_KvjEUFROvfHF5KGrw" https://computer.network.net/attunityenterprisemanager/api/v1/servers/ myrepsrv1/tasks/SalesDBBackup?action=export
Thanks
Lyka
here is another forum similar to your question:
@lyka Can you give me a sample .bat file that can be launched from Windows command shell to call QEM API to export a task without endpoint and store the json file in a specific Windows folder ?
Thank you
i am not a script expert but your .bat file would be something like
---
clear
where the curl command location ~> CURL.EXE -i -k --header "EnterpriseManager.APISessionID: wCo0_KvjEUFROvfHF5KGrw" https://computer.network.net/attunityenterprisemanager/api/v1/servers/ myrepsrv1/tasks/SalesDBBackup?action=export > c:\temp\anyname.json.
exit 0