Quantcast
Channel: aras PLM community
Viewing all articles
Browse latest Browse all 1103

Open a new Item to add data from an Action

$
0
0

Hi,

I have created an Action at item level to add the selected item to another item. So, I added a method with the following code:

Innovator inn = this.getInnovator();
string item_id = this.getID();
Item eqe= inn.getItemById("EQE",item_id);
eqe = eqe.apply();
Item qua = inn.newItem("QUA","add");
   qua.setPropertyItem("eqe_id",eqe);
   qua = qua.apply(); 
return this;

This is adding a new 'QUA' item and also setting the value to the field without opening the item. But I was hoping to open the item immediately to fill in the other fields.

How to open a new item from an Action? 

Thank you-Erg


Viewing all articles
Browse latest Browse all 1103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>