80
Views
3
Comments
How can i put a entity outside the core module in the core module?
Service Studio Version
11.53.21 (Build 61476)

i want to add the selected room entity in HotelPillowTalk_Niraj2_core because of warnings and errors in the booking application itself.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Niraj,

It's not quite clear to me what you want to do. You cannot move an entity from one module to another. If you want the Room entity in the core module, just cut and paste it, and republish both modules. Note that the data will not be transferred, so you'll lose any data you already have. Also, depending on the delete rules set in Booking and RoomAmenity for the RoomId, you may get publishing errors, as Room does no longer contain the right data.

If the app is already in production, you'll need to take different measures, like duplicating the data from the old to the new entity, and fix any foreign key relations. But that's not trivial.

2020-09-14 18-57-48
Niraj Ghisai

The app is indeed already in production, i understand it's not quite clear what i want to do. but explaining is hard, showing it somehow would be better. I wil try till i get a working solution. Thx for the rapid response.  

Is it possible to use a Excelbootstrap outside the core module, so in the application itself? I tried it and it is not working for me.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Niraj,

You could also use the Refactor Forge asset, which allows you to move an entity from one module to another. However, it's not quite trivial, and needs careful consideration.

About an Excel bootstrap, apart from the question whether you can use that for this problem (I think not), this may work fine, but by default it calls the entity's Create action, which may not be available outside the core module (if the entities are set to Read Only, which they should!).

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.