Hi,
I wanted to write python script in Script Activity.
As mention in document the interpreter must be installed on Server.
Since the option Python listed in script activity, does that mean python interpreter installed on server ?
And After Installing the interpreter can someone elaborate the steps how to use python scripts with data in transition.
Or any use case how to use Python Scripts in Adobe Campaign.
Thank you
Solved! Go to Solution.
Ketansing Pardeshi wrote...
Hi Florent,
Thanks for the information. We wish to use some python libraries. This will not access the database but will check the incoming data to script component, do some validation, derive some values using Python Libraries and add a new field to transition data.
How do we achieve this ? Can you refer to any documentation ?
Thank you,
Ketan
Hi Ketan,
If you are planning to have this implementation done on an Adobe hosted system, the request to install your libraries on the server will be rejected. Due to security concerns, as rightly pointed out by Florent, Adobe's operational team doesn't allow hosting of external libraries.
If the instance is on-premise then you can give it a try.
The addition of attributes to transition at runtime using python, is not documented anywhere.
Regards,
Vipul
Views
Replies
Total Likes
Hi,
Yes. Interpreter must be installed on the server and its path must be referenced in the corresponding option in Adobe Campaign.
That being said, I'm not sure you can access database data with Python.
Besides, the Script activity will soon be deprecated for security reasons so I'd recommend using JavaScript, which has less limitations.
Hope this helps,
Florent.
Hi Florent,
Thanks for the information. We wish to use some python libraries. This will not access the database but will check the incoming data to script component, do some validation, derive some values using Python Libraries and add a new field to transition data.
How do we achieve this ? Can you refer to any documentation ?
Thank you,
Ketan
Views
Replies
Total Likes
Ketansing Pardeshi wrote...
Hi Florent,
Thanks for the information. We wish to use some python libraries. This will not access the database but will check the incoming data to script component, do some validation, derive some values using Python Libraries and add a new field to transition data.
How do we achieve this ? Can you refer to any documentation ?
Thank you,
Ketan
Hi Ketan,
If you are planning to have this implementation done on an Adobe hosted system, the request to install your libraries on the server will be rejected. Due to security concerns, as rightly pointed out by Florent, Adobe's operational team doesn't allow hosting of external libraries.
If the instance is on-premise then you can give it a try.
The addition of attributes to transition at runtime using python, is not documented anywhere.
Regards,
Vipul
Views
Replies
Total Likes