Hi
I need to remove existing placeholder i.e "Search files,people,sites" from search box of faceted search.
Can you please help.
Thank you in advance.
Hi,
Use Module Deployment approach and override property using share-header.get.js file.
Create xxx.xml file within /site-data/extension folder and write code for module extension.
<extension> <modules> <module> <id>Share Search Header</id> <version>1.0</version> <auto-deploy>true</auto-deploy> <customizations> <customization> <targetPackageRoot>org.alfresco.share.header</targetPackageRoot> <sourcePackageRoot>com.alfresco.share.header.extension</sourcePackageRoot> // This package could be your package </customization> </customizations> </module> </modules> </extension>
Create share-header.get.js file within sourcePackage and write below code.
var searchBox = widgetUtils.findObject(model.jsonModel.widgets, "id", "HEADER_SEARCH"); searchBox.config.placeholder= "";
Hi Sanjay,
Thank you for replying.
I have tried this way already but it is not working on faceted-search Search Box.
Is there any other way to do thus.?
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.