Hi,
I have created one extra checkbox in Alfresco Advanced Search page apart of custom content types and their meta data form fields, so when I click on Search button at that time onSearchClick function is called in advsearch.js (client side js).
In that function there are 4 parameters are passed.
site: (this.options.siteId.length !== 0 ? ("site/" + this.options.siteId + "/") : ""),
terms: encodeURIComponent(Dom.get(this.id + "-search-text").value),
query: encodeURIComponent(YAHOO.lang.JSON.stringify(formData)),
scope: this.options.searchScope.toString()
I want to add one more argument in this function, so when I have 5th argument like fts : true, so I got that value in url.
But in back end search.lib.js and search.get.js, that argument value comes "null" in args object.
So can anyone have any idea how to pass that extra argument value in search url.
Thanks in advance,
The faceted search page only sends those parameters back to the search web scripts that it knows / expects. Adding a custom URL parameter to the page URL will not cause that parameter to be send to the web script without any modification of the client-side JavaScript components (i.e. Aikau SearchList).
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.