HI All,

Could any one please summarize how to configure a URL PX in Agile PLM especially from the project side in Eclipse/IntelliJ. How does the project connect to Agile PLM app ?

What I would like to know is how the project knows which link to hit and which page to open when triggered from let’s say an actions menu?

Thanks for your inputs in advance!

Agile User Asked on May 17, 2023 in Product Collaboration.
Add Comment
1 Answer(s)


You would have to still manually connect to an IAgileSession as you would with any other SDK program.  However, you can do this by coding your credentials, or by having the URL use the HttpServletRequest to fetch the user who is logged in and launched the PX.

For configuring the PX, You specify the page of your web app in the “Process Extension” node of the Java Admin Client.  When launched form ACtions menu, Agile will suffix thje URL configured with object information so the web app can determine what object the URL PX was launched from.



Only part of URL specified in Admin Client is http://[HOST]/MyWebApp/RunThisServlet but Agile will throw on the rest.

Then in your web app:

private String getResponse(HttpServletRequest request) throws Exception {
     String response = new String();
     URL = "http://" + host + ":7001/Agile";
     HashMap<Integer, HttpServletRequest> params = new HashMap<Integer, HttpServletRequest>();
     params.put(AgileSessionFactory.PX_REQUEST, request);
     AgileSessionFactory factory = AgileSessionFactory.getInstance(URL);
     IAgileSession s = factory.createSession(params);     
     String user = request.getParameter("agile.userName");
     String num = request.getParameter("agile.1047");
     IChange ichg = (IChange) s.getObject(IChange.OBJECT_TYPE, num);
    //Do Something
      return response;


Hope this helps!

Agile Talent Answered on May 17, 2023.


Thanks a lot for this information. Just wanted to ask one more information-

What does AgileSessionFactory.PX_REQUEST return ?

Also we can specify which servlet to call when application connect to http://[HOST]/MyWebApp/RunThisServlet? based on the xml configuration right ?




on May 22, 2023.

Take a look at section 3.6 in the Oracle Documentation.  It discusses most of your questions.


I would specify the servlet you are looking to ping right from the Process Extension config in the Java Client.  That way you can have one Web Applicaiton with different entry points for different reports/PXs



on May 24, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.