cancel
Showing results for 
Search instead for 
Did you mean: 

how to delete a location in oms

Former Member
0 Kudos

hi,all i want delete a location in oms,please tell me how i can do it.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Simon,

To delete locations in OMS, we have to do two things.
  1. we should stop the csv files to import when ever we do system update. for this we have to exclude the OOTB csv file which tries to insert the locations. Assume i have created project-data-ProjectName-location-import.csv in my custom extension. So i have to include the below property in the oms related properties file which we put in the lib folder. This property is responsible to import pattern matched files only. kernel.projectDataPath=/META-INF/project-data-ProjectName* if you have multiple files, give all those patterns with comma(,) saperated values.

  2. If you already initialized the OMS system, then you have to run manual DB quaries to delete the unwanted locations. No need worry for the next time. The above property will take care of not to import the locations.

    Let me know if you find any difficulty.

    Thanks, Kiran