Page 1 of 1

delete static asset from table

Posted: Fri Mar 15, 2013 5:16 am
by julia
Hello,

In asset management view, I would like to delete unnecessary static assets from table completely. I don't want obsolete static asset. I would like to know how should I do? Is there any problem to delete static assets?

Julia.

Re: delete static asset from table

Posted: Fri Apr 12, 2013 2:58 pm
by jefffischer
You would need to make your own custom persistence handler that performs the remove. Add an instance of DefaultCustomPersistenceHandlerFilter to the blCustomPersistenceHandlerFilters list in app context. Your instance of DefaultCustomerPersistenceHandlerFilter should reference BLC's StaticAssetCustomPersistenceHandler as the handler class to filter out. Then create your own extension of StaticAssetCustomPersistenceHandler and modify the remove method. Add your extension to the blCustomPersistenceHandlers list (not blCustomPersistenceHandlerFilters).