RE: Maintain Same THEME ID across all envirnoments

sree p, modified 5 Years ago. Junior Member Posts: 91 Join Date: 10/3/19 Recent Posts
Hello, I have developed a custom theme on Liferay 7.2 CE on my local machine and want to deploy that on DEV server (which is also Liferay 7.2 CE) with same theme ID , can you please let me know the proper steps for this.
thumbnail
David H Nebinger, modified 5 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts
You can not and should never depend upon maintaining the same primary key values of any entity when going between environments.  It is simply not possible to guarantee the same id would be assigned.
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
Why do you need the same id?
Can you explain, what problem you want to solve?
sree p, modified 5 Years ago. Junior Member Posts: 91 Join Date: 10/3/19 Recent Posts
I created pages and assigned custom theme on local machine, so if we I move my stuff to another environment then do I need to maintain same theme ID to avoid Import errors ?