Skip to Content
1
Jun 16, 2022 at 09:57 AM

Multitenancy Extend needs restart of app

337 Views

Hi,

I ran the extend example described in Philip MUGGLESTONE 's video on Youtube. Everything's working fine but when I activate the extensions I can't see/use them as long as I didn't restart the app at the server.

After the activation I see the extensions in the $metadata but when run

https://<mytenant>-dev-app.cfapps.<region>.hana.ondemand.com/catalog//Z_Custom
I get a 404 error
'Z_Custom' is not an entity set, a singleton, an action import, or a function import

I also don't see the custom fields `Z_custom1` and `Z_custom2` in the Sales entity set.

After restarting the app with `cf restart app-srv` everything works as expected.

Any ideas?
Helmut