Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a Python program from an Archer custom object?

XiangZhu
Collaborator III

Can anyone shed some lights on how to call a Python program from the javascript code in an Archer custom object? We can  put the Python program files in any folder on web or service server if needed. We played around with ajax call and keep getting 403 forbidden error. 

Thanks.

4 REPLIES 4

DavidPetty
Archer Employee
Archer Employee

@XiangZhu, you'd have to put the python files in the company files folder\instance number and access the files via ajax.

 Advisory Consultant

Hi David,

We placed a test Python file under Company_File and we still got 403 error.

XiangZhu_0-1635264130968.png

Any idea how to resolve the problem? 

Thanks.

It's possible that IIS (not Archer) is blocking that filetype.

 Advisory Consultant

Ilya_Khen
Champion III

I would first recommend to test if you can access python script placed on a web server as a servlet outside of Archer frame at all. E.g. via fiddler or some custom JS.