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.
Solved! Go to Solution.
@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:
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/
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.
@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:
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.