Using action based PX

Using action based PX, we are creating an Item and returns the item id, is it possible to give a hyperlink on the item id? If any one has an idea please let us know

Agile Expert Asked on March 3, 2015 in Software Development Kit (API).
Add Comment
6 Answer(s)

You can create a url that follows the same syntax as the “Copy to Clipboard” Action menu selection:

http://bamburgh.plmdoctor.local/Agile/PCMServlet?fromPCClient=true&module=ItemHandler&requestUrl=module%3DItemHandler%26opcode%3DdisplayObject%26classid%3D10000%26objid%3D6022097%26tabid%3D0%26

Agile Expert Answered on March 3, 2015.

Do you mean to a URL PX which have response.forward?

on March 3, 2015.
Add Comment

You can add the item number to a dynamic list and the hyperlink will be created.

Agile Expert Answered on March 3, 2015.
Add Comment

It worked using<a href>

Agile Expert Answered on March 3, 2015.
Add Comment

You can use also http://yourserver/Agile/object/SubClassName/Number
In this way you can create easily links for Agile objects

Agile Expert Answered on March 3, 2015.
Add Comment

A href worked, though the back button have issues. Once you click on the hyperlink it opens the item page, and if you click on back button it gives you an error.

To remove the bread crump, I tried to use javascript:displayObjectFromLeftPane(), it worked but still back button gives error.

Any idea to fix this?

Agile Expert Answered on March 3, 2015.
Add Comment

There is one more option to construct hyperlink on the item id as shown below..(i.e. Smart URL Concept)

http://yourserver/agile/object/&itemtype/&Itemcode

where &itemtype is absolute value of object type and &Itemcode is absolute value of object number..

and even you can construct URL based on Item revision as well…

http://yourserver/agile/object/&itemtype/&Itemcode/Rev/&RevisionNo

Agile Expert Answered on March 3, 2015.

I tried this, but on clicking of the bread crumb, it’s giving error page

on March 3, 2015.
Add Comment

Your Answer

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