Hi,
I am using Custom search functionality for searching the Views. But after creating a new document, If i search it says zero results found. I directly serched in view then also it is not picking up. Even after refreshing the view the result is same. but the doument is in view. But after 1/2 an hour or one it is picking the same. on putting ctrl + F it is finding the correct one. I am really puzzled over this. Following is my code
-----------------------------------------------------start-------------
sView := “/Search+View”;
“[/” + @ReplaceSubstring(@Subset(@DbName; -1); “\”; “/”) + sView + “/?SearchView&Query=”+Query+“&SearchOrder=”+@Text(Sort)+“&SearchMax=”+@Text(MaxResults)+“&SearchWV=TRUE”+“&SearchThesaurus=FALSE”+“&SearchFuzzy=FALSE]”
-----------------------------------------------------------end--------
I have hard coded the value in the form.
Also tried hardcoding @SetHTTPHeader(“Expires”;“0”) in HTML Body Content in all the $$ViewTemplates but nothing seems to search a new document which is created.
I dont know where it is wrong. Could you please help me on this. Urgent Please