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
how use a custom module in another custom module in another workspace?
hi
i work on liferay 7.3.7
in fact i want use a custom module classes, in liferay module source (for example in dynamic-data-mapping-form-web).
how can i config dependency for this perpose?
Hi mokhtar hatampoor,
To use a custom module from one workspace in another, install the module in the target workspace using a package manager like pip. Once installed, you can import the module into your code just like any other installed package.
I recommend the following blog with information about how to do it: https://www.surekhatech.com/blog/how-to-use-custom-module-one-workspace-to-another-in-liferay-7-4
Note: For this, you must have ownership of the module you are using in different workspaces. For example, in this case, SurekhaTech owns the common service module to use across various workspaces.
Powered by Liferay™