09-07-2021 12:06 PM
We just deployed a dockerized environment of ACS 7.0 Community and need help in creating an AMP file to extend simple and live search to our custom properties fields.
We already created the search.get.config.xml and live-search-docs.get.config.xml files but have no idea on how to create and AMP file to deploy those into the share application.
Could anyone be so kind to create an example file for us that we can then edit?
Thanks a lot in advance.
09-07-2021 11:03 PM
@ErikDW1 wrote:
Thanks for sharing all this helpful resources!
May I just ask you if it's possible to have an example AMP file (from your project: https://github.com/abhinavmishra14/search-extension-demo) to make comparisons with the one we'll create?
This would definitely speed up our testing process since we are very very new to the Alfresco environment.Thank you so much in advance.
Sure if this helps, please find the demo packages:
09-07-2021 01:45 PM
These extensions are part of alfresco-share-services. Amp/jar needs to be deployed at repo layer not share.
You can learn about sdk here:
https://ecmarchitect.com/alfresco-developer-series-tutorials/maven-sdk/tutorial/tutorial.html
https://docs.alfresco.com/content-services/latest/develop/sdk/
https://github.com/Alfresco/alfresco-sdk/blob/master/docs/README.md
And try to build your custom extensions as amp or jar and you can test all locally.
Learn more on repo extensions from here:
https://docs.alfresco.com/content-services/latest/tutorial/platform/
Learn more on share extensions from here:
https://docs.alfresco.com/content-services/latest/develop/share-ext-points/
Here is a demo project on extending search and configs:
https://github.com/abhinavmishra14/search-extension-demo
To test, you can download the above project and update your changes to below file and test it locally:
You may also find this thread helpful: https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-add-custom-type-in-search-suggest...
Learn more on deploying the extensions: https://docs.alfresco.com/content-services/latest/develop/extension-packaging/
09-07-2021 05:54 PM
Thanks for sharing all this helpful resources!
May I just ask you if it's possible to have an example AMP file (from your project: https://github.com/abhinavmishra14/search-extension-demo) to make comparisons with the one we'll create?
This would definitely speed up our testing process since we are very very new to the Alfresco environment.
Thank you so much in advance.
09-07-2021 11:03 PM
@ErikDW1 wrote:
Thanks for sharing all this helpful resources!
May I just ask you if it's possible to have an example AMP file (from your project: https://github.com/abhinavmishra14/search-extension-demo) to make comparisons with the one we'll create?
This would definitely speed up our testing process since we are very very new to the Alfresco environment.Thank you so much in advance.
Sure if this helps, please find the demo packages:
Explore our Alfresco products with the links below. Use labels to filter content by product module.