How to customize TPX as a Generic Resource?