cancel
Showing results for 
Search instead for 
Did you mean: 

Creating AMP to extend Simple and Live Search

ErikDW1
Champ in-the-making
Champ in-the-making

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.

1 ACCEPTED ANSWER

abhinavmishra14
World-Class Innovator
World-Class Innovator

@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:

https://github.com/abhinavmishra14/search-extension-demo/releases/download/demo-v1/search-extension-...

https://github.com/abhinavmishra14/search-extension-demo/releases/download/demo-v1/search-extension-...

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View answer in original post

3 REPLIES 3

abhinavmishra14
World-Class Innovator
World-Class Innovator

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

https://github.com/abhinavmishra14/search-extension-demo/tree/master/search-extension-demo-platform/...

To test, you can download the above project and update your changes to below file and test it locally:

https://github.com/abhinavmishra14/search-extension-demo/blob/master/search-extension-demo-platform/...

https://github.com/abhinavmishra14/search-extension-demo/blob/master/search-extension-demo-platform/...

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/

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

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.

abhinavmishra14
World-Class Innovator
World-Class Innovator

@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:

https://github.com/abhinavmishra14/search-extension-demo/releases/download/demo-v1/search-extension-...

https://github.com/abhinavmishra14/search-extension-demo/releases/download/demo-v1/search-extension-...

~Abhinav
(ACSCE, AWS SAA, Azure Admin)