I have created a custom component for asset share commons. In the code base, asset share commons is present via embedding. So it gets installed with deployment.
How can I add my custom component to the asset share commons apps path so that after deployment, my component also get installed?
Solved! Go to Solution.
Views
Replies
Total Likes
@Shaheena_Sheikh You can update the component group and update the type where it is used. So that next time when you deploy it will pick and install. If you want your asset to be in same group. Similar to below screenshot.
If not you can keep your custom component in your project and update the references where it is used. So that when you deploy the project your component and asset share commons both get installed.
Reference links:
Thanks!!
Hi
You have 2 options:
1. You create your own asset share commons project which contains the original code from acs and then deploy everything manually (including your custom code). You can check this repo as an example of what I am talking about: https://github.com/godanny86/wknd-asset-share/tree/main/ui.apps/src/main/content/jcr_root/apps/wknd-... And here is the reference about how to do it: https://opensource.adobe.com/asset-share-commons/pages/getting-started/new-project/
2. You can simply create your new component outside the "/apps/asset-share-commons" folder, and assign the same component group. This is ok as mentioned in the section under "Extend Components" under the official documentation; https://opensource.adobe.com/asset-share-commons/pages/development/1-x/guide/
Hope this helps.
@Shaheena_Sheikh You can update the component group and update the type where it is used. So that next time when you deploy it will pick and install. If you want your asset to be in same group. Similar to below screenshot.
If not you can keep your custom component in your project and update the references where it is used. So that when you deploy the project your component and asset share commons both get installed.
Reference links:
Thanks!!
Views
Likes
Replies