Pass object name in plain text to URL PX

I have an URL PX and want to know is there a way to pass the object name/ID as part of the http request.

Say I access the URL PX from an Item’s action menu and want to pass the Item Number as part of the http request.

Thanks,

Alex

A little late, but if you run URL_PX from the Action Menu, Agile PLM will include the following attributes in the GET parameters and set secure cookie with one-time-use  j_username, and j_password to log back into Agile PLM.

The attributes:

ContextName => the name tied to the object (usually the item name/number)
agile.classID => the internal class id
ContextType => the object type
agile.1014 => the revision of the object
agile.1001 => object number
agile.userName => the current user

You should ALWAYS log back into Agile PLM, using the j_username and j_password to verify that the agile.userName matches with the logged in user's id.

If not, anyone can create the valid get URL and access information in Agile PLM
on April 9, 2019.
Add Comment
4 Answer(s)

Generally in my doGet(HttpServletRequest request, HttpServletResponse response) method, i pass it as shown below:

String partNumber = request.getParameter(“agile.1001”);

Agile Angel Answered on March 9, 2018.
Add Comment
Agile Angel Answered on March 12, 2018.
Add Comment

Hi Alex,

You need not explicitly pass the Object Number. Request consists of object Number. You can get the object Number by below way.

String number=request.getParameter(“ContextName”);

Regards,
Karthik

Agile Talent Answered on March 19, 2018.
Add Comment

It’s work. Thank you!

Agile User Answered on March 23, 2018.

Glad it helped.

Regards,
Arif

on March 23, 2018.
Add Comment

Your Answer

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