Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Maintain Same THEME ID across all envirnoments
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.
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.
Why do you need the same id?
Can you explain, what problem you want to solve?
Can you explain, what problem you want to solve?
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 ?
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™