cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How to delete existing OIR from loadFrom File

NP_9998831
5-Regular Member

How to delete existing OIR from loadFrom File

Need to delete the existing specific oir from the system using load from file instead doing it manually from UI.

Any Inputs to achieve this?

4 REPLIES 4

Hi @NP_9998831 

Unfortunately if the Windchill\loadFiles\csvmapfile.txt does not contains the OIR delete definition you can not use load from file to delete OIR rule because function does not exists. 

 

PetrH

rhart
14-Alexandrite
(To:HelesicPetr)

Maybe it's possible to load new xml into the existing OIR, an empty xml file which does nothing

Hello

 

@HelesicPetr is right, PTC  doesn't provide tool to delete OIR. Personnally, i delete them manually because i don't have so much.

I had similar situation with Task Form Templates and too much manual delete to do. So, i created a Java program to delete them from a list in a text file. I think it is feasible for OIR,  Java class of OIR is wt.rule.TypeBasedRule.

 

Regards,

Pascal

 

 

 

NP_9998831
5-Regular Member
(To:Pascal_Brunet)

Thanks for the reply,
Can you please share the program for task form templates..

Top Tags