Skip to main content
1-Visitor
July 27, 2015
Question

Setting Container for Package in OIR

  • July 27, 2015
  • 1 reply
  • 1914 views

My requirement is to set a specific context for all packages created anywhere in Windchill. I have achieved the same using a Listener.

But my question is can I do it using an OIR?

P.S. Packages are not folder object OR does not have folder.id implied over it.

1 reply

2-Explorer
July 27, 2015

You are right, Prashant. I too tried once, you can't set folder for package as packages are not folder administered but domain administered. By default it cannot be created outside of the context.

Thanks

Binesh

Barry Wehmiller

psethia1-VisitorAuthor
1-Visitor
July 28, 2015

Binesh, you can set a different context at the time of creation itself using a listener on PRE_STORE event(I have applied the same). But to the same I want to know if it can be done using OIR? If possible, I think using OIR would be more efficient then having a continuous listener running.

1-Visitor
July 28, 2015

Instead of using listener to listen PRE_STORE  event, you could customize the FromProcessor of Package creation wizard to set the context of package.

Also you can customize the Package creation wizard to add new step to select context or dropdown/picker to select context for product.

Thanks

Shreyas