Skip to main content
12-Amethyst
December 29, 2022
Question

How to delete existing OIR from loadFrom File

  • December 29, 2022
  • 4 replies
  • 1341 views

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

HelesicPetr
22-Sapphire II
January 4, 2023

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

16-Pearl
January 4, 2023

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

14-Alexandrite
January 20, 2023

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

 

 

 

12-Amethyst
January 30, 2023

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