Hello,
I try to integrate the form of the SPS search engine currently located
in a web section, inside the top of my Intranet site (corresponding to
the title area).
The only visible items of my form are a textfield and a button to
submit the request.
My script is developed in a javascript which is called into the
dbview_ie.xsl file.
I wish launch the search after push the submit button and see the
results due to the SPS search engine.
I successed to give my parameter (in the javascript) to the SPS search
engine but it seems no result was found.
Therefore when I launch the search with SPS search engine, results are
found.
Has somebody an idea about the reason why my search doesn't work after
my first push in the first form ?
Thanks
Vincent.
NB : You could found the code which implements the form with
javascript (inspired by SPS search engine) below.
// Globalized strings for the java script in the search box part.
var L_strInternalPropErr_TEXT = "Erreur interne dans les champs de
propriété. Essayez d'exécuter une autre interrogation.";
var L_strContainsNumericErr_TEXT = "Impossible d'utiliser
l'opérateur Contient pour des propriétés numériques";
var L_strDigitsNumericErr_TEXT = "Vous devez utiliser des nombres
de 0 à 9 pour des propriétés numériques.";
var L_strContainsDateErr_TEXT = "Impossible d'utiliser l'opérateur
Contient pour les propriétés de type date";
var L_strSearchForSomethingErr_TEXT = "Vous devez spécifier un
élément de recherche.";
document.write("<div id=\"WebPartWPQ5\">");
document.write("<form
action=\"http://dattes/Portail-CCCA/Portal/Search\" method=\"post\"
name=\"publishing_SearchForm\" onSubmit=\"return
generateAndSaveSearchQueries();\" target=\"WebPartWPQ1\">");
document.write(" <input type=hidden name=\"publishing_q_SearchScope\"
value = \"This site\" >");
document.write(" <input type=hidden name=\"publishing_qp_value\"
value = \"no_profile\" >");
document.write(" <input type=hidden
name=\"publishing_q_ShowAdvanced\" value = \"false\" >");
document.write(" <input type=hidden name=\"publishing_q_WasAdvanced\"
value = \"false\" >");
document.write(" <input type=hidden
name=\"publishing_q_StartResultRow\" value = \"1\" >");
document.write(" <input type=hidden
name=\"publishing_q_CarriedBestBetCount\" value = \"\" >");
document.write(" <input type=hidden name=\"publishing_qs_clause\"
value = \"\" >");
document.write(" <input type=hidden name=\"publishing_q_categories\"
value = \"\">");
document.write(" <input type=hidden name=\"publishing_q_documents\"
value = \"\" >");
document.write(" <input type=hidden
name=\"publishing_q_DateSearchUsed\" value = \"\"> ");
document.write(" <input type=hidden
name=\"publishing_q_PrevCategoryKeywordConstraints\" value = \"\"
>");
document.write(" <input type=hidden
name=\"publishing_q_PrevDocumentKeywordConstraints\" value = \"\"
>");
document.write(" <input type=hidden
name=\"publishing_q_PrevPropertyConstraints\" value = \"
("urn:schemas.microsoft.com:fulltextqueryinfo:sourcegroup" =
\'\') AND \" >");
document.write(" <input type=hidden
name=\"publishing_q_SubscriptionQuery\" value = \"\" >");
document.write(" <input type=hidden name=\"SubscribedSearch\"
value = \"\" >");
document.write(" <input type=hidden
name=\"publishing_q_AutoCatEnabled\" value = \"false\" >");
document.write(" <input type=hidden
name=\"publishing_q_HiddenKeyword\" value = \"\" >");
document.write(" <table border=0 cellpadding=0 cellspacing=0>");
document.write(" <td><img
src=./Sources_Specif/Graph_Bandeau/img_rechercher.gif width=66
height=41/></td>");
document.write(" <td><input type=text
name=publishing_q_SearchKeyword size=25 maxlength=4096></td>");
document.write(" <td><input type=image
src=./Sources_Specif/Graph_Bandeau/img_okay.gif width=53
height=41></td>");
document.write(" </table>");
document.write("</form>");
document.write("</div>");
var varPartWPQ5 = RegisterDDSCPart("WPQ5",
"http://dattes/Portail-CCCA/Portal/Search/Search.vbs",
document.all.item('WebPartWPQ5'));
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Christophe Metral
Hi,
Your post is certainly very interresting, but you're in the french newsgroup !! :-)
But ...
I had this problem long time ago. I remember it comes from a parameter that is missing in the first form. You should compare html sources to find it out. Good luck, it is not easy to find and work around, as I remember ...
:-))
Christophe
Vincent wrote:
Hello, I try to integrate the form of the SPS search engine currently located in a web section, inside the top of my Intranet site (corresponding to the title area). The only visible items of my form are a textfield and a button to submit the request. My script is developed in a javascript which is called into the dbview_ie.xsl file. I wish launch the search after push the submit button and see the results due to the SPS search engine. I successed to give my parameter (in the javascript) to the SPS search engine but it seems no result was found. Therefore when I launch the search with SPS search engine, results are found.
Has somebody an idea about the reason why my search doesn't work after my first push in the first form ?
Thanks Vincent.
NB : You could found the code which implements the form with javascript (inspired by SPS search engine) below.
// Globalized strings for the java script in the search box part.
var L_strInternalPropErr_TEXT = "Erreur interne dans les champs de propriété. Essayez d'exécuter une autre interrogation."; var L_strContainsNumericErr_TEXT = "Impossible d'utiliser l'opérateur Contient pour des propriétés numériques"; var L_strDigitsNumericErr_TEXT = "Vous devez utiliser des nombres de 0 à 9 pour des propriétés numériques."; var L_strContainsDateErr_TEXT = "Impossible d'utiliser l'opérateur Contient pour les propriétés de type date"; var L_strSearchForSomethingErr_TEXT = "Vous devez spécifier un élément de recherche.";
document.write("<div id="WebPartWPQ5">"); document.write("<form action="http://dattes/Portail-CCCA/Portal/Search" method="post" name="publishing_SearchForm" onSubmit="return generateAndSaveSearchQueries();" target="WebPartWPQ1">"); document.write(" <input type=hidden name="publishing_q_SearchScope" value = "This site" >"); document.write(" <input type=hidden name="publishing_qp_value" value = "no_profile" >"); document.write(" <input type=hidden name="publishing_q_ShowAdvanced" value = "false" >"); document.write(" <input type=hidden name="publishing_q_WasAdvanced" value = "false" >"); document.write(" <input type=hidden name="publishing_q_StartResultRow" value = "1" >"); document.write(" <input type=hidden name="publishing_q_CarriedBestBetCount" value = "" >"); document.write(" <input type=hidden name="publishing_qs_clause" value = "" >"); document.write(" <input type=hidden name="publishing_q_categories" value = "">"); document.write(" <input type=hidden name="publishing_q_documents" value = "" >"); document.write(" <input type=hidden name="publishing_q_DateSearchUsed" value = ""> "); document.write(" <input type=hidden name="publishing_q_PrevCategoryKeywordConstraints" value = ""
");
document.write(" <input type=hidden name="publishing_q_PrevDocumentKeywordConstraints" value = ""
var varPartWPQ5 = RegisterDDSCPart("WPQ5", "http://dattes/Portail-CCCA/Portal/Search/Search.vbs", document.all.item('WebPartWPQ5'));
Hi,
Your post is certainly very interresting, but you're in the french
newsgroup !! :-)
But ...
I had this problem long time ago. I remember it comes from a parameter
that is missing in the first form. You should compare html sources to
find it out. Good luck, it is not easy to find and work around, as I
remember ...
:-))
Christophe
Vincent wrote:
Hello,
I try to integrate the form of the SPS search engine currently located
in a web section, inside the top of my Intranet site (corresponding to
the title area).
The only visible items of my form are a textfield and a button to
submit the request.
My script is developed in a javascript which is called into the
dbview_ie.xsl file.
I wish launch the search after push the submit button and see the
results due to the SPS search engine.
I successed to give my parameter (in the javascript) to the SPS search
engine but it seems no result was found.
Therefore when I launch the search with SPS search engine, results are
found.
Has somebody an idea about the reason why my search doesn't work after
my first push in the first form ?
Thanks
Vincent.
NB : You could found the code which implements the form with
javascript (inspired by SPS search engine) below.
// Globalized strings for the java script in the search box part.
var L_strInternalPropErr_TEXT = "Erreur interne dans les champs de
propriété. Essayez d'exécuter une autre interrogation.";
var L_strContainsNumericErr_TEXT = "Impossible d'utiliser
l'opérateur Contient pour des propriétés numériques";
var L_strDigitsNumericErr_TEXT = "Vous devez utiliser des nombres
de 0 à 9 pour des propriétés numériques.";
var L_strContainsDateErr_TEXT = "Impossible d'utiliser l'opérateur
Contient pour les propriétés de type date";
var L_strSearchForSomethingErr_TEXT = "Vous devez spécifier un
élément de recherche.";
document.write("<div id="WebPartWPQ5">");
document.write("<form
action="http://dattes/Portail-CCCA/Portal/Search" method="post"
name="publishing_SearchForm" onSubmit="return
generateAndSaveSearchQueries();" target="WebPartWPQ1">");
document.write(" <input type=hidden name="publishing_q_SearchScope"
value = "This site" >");
document.write(" <input type=hidden name="publishing_qp_value"
value = "no_profile" >");
document.write(" <input type=hidden
name="publishing_q_ShowAdvanced" value = "false" >");
document.write(" <input type=hidden name="publishing_q_WasAdvanced"
value = "false" >");
document.write(" <input type=hidden
name="publishing_q_StartResultRow" value = "1" >");
document.write(" <input type=hidden
name="publishing_q_CarriedBestBetCount" value = "" >");
document.write(" <input type=hidden name="publishing_qs_clause"
value = "" >");
document.write(" <input type=hidden name="publishing_q_categories"
value = "">");
document.write(" <input type=hidden name="publishing_q_documents"
value = "" >");
document.write(" <input type=hidden
name="publishing_q_DateSearchUsed" value = ""> ");
document.write(" <input type=hidden
name="publishing_q_PrevCategoryKeywordConstraints" value = ""
");
document.write(" <input type=hidden
name="publishing_q_PrevDocumentKeywordConstraints" value = ""
Your post is certainly very interresting, but you're in the french newsgroup !! :-)
But ...
I had this problem long time ago. I remember it comes from a parameter that is missing in the first form. You should compare html sources to find it out. Good luck, it is not easy to find and work around, as I remember ...
:-))
Christophe
Vincent wrote:
Hello, I try to integrate the form of the SPS search engine currently located in a web section, inside the top of my Intranet site (corresponding to the title area). The only visible items of my form are a textfield and a button to submit the request. My script is developed in a javascript which is called into the dbview_ie.xsl file. I wish launch the search after push the submit button and see the results due to the SPS search engine. I successed to give my parameter (in the javascript) to the SPS search engine but it seems no result was found. Therefore when I launch the search with SPS search engine, results are found.
Has somebody an idea about the reason why my search doesn't work after my first push in the first form ?
Thanks Vincent.
NB : You could found the code which implements the form with javascript (inspired by SPS search engine) below.
// Globalized strings for the java script in the search box part.
var L_strInternalPropErr_TEXT = "Erreur interne dans les champs de propriété. Essayez d'exécuter une autre interrogation."; var L_strContainsNumericErr_TEXT = "Impossible d'utiliser l'opérateur Contient pour des propriétés numériques"; var L_strDigitsNumericErr_TEXT = "Vous devez utiliser des nombres de 0 à 9 pour des propriétés numériques."; var L_strContainsDateErr_TEXT = "Impossible d'utiliser l'opérateur Contient pour les propriétés de type date"; var L_strSearchForSomethingErr_TEXT = "Vous devez spécifier un élément de recherche.";
document.write("<div id="WebPartWPQ5">"); document.write("<form action="http://dattes/Portail-CCCA/Portal/Search" method="post" name="publishing_SearchForm" onSubmit="return generateAndSaveSearchQueries();" target="WebPartWPQ1">"); document.write(" <input type=hidden name="publishing_q_SearchScope" value = "This site" >"); document.write(" <input type=hidden name="publishing_qp_value" value = "no_profile" >"); document.write(" <input type=hidden name="publishing_q_ShowAdvanced" value = "false" >"); document.write(" <input type=hidden name="publishing_q_WasAdvanced" value = "false" >"); document.write(" <input type=hidden name="publishing_q_StartResultRow" value = "1" >"); document.write(" <input type=hidden name="publishing_q_CarriedBestBetCount" value = "" >"); document.write(" <input type=hidden name="publishing_qs_clause" value = "" >"); document.write(" <input type=hidden name="publishing_q_categories" value = "">"); document.write(" <input type=hidden name="publishing_q_documents" value = "" >"); document.write(" <input type=hidden name="publishing_q_DateSearchUsed" value = ""> "); document.write(" <input type=hidden name="publishing_q_PrevCategoryKeywordConstraints" value = ""
");
document.write(" <input type=hidden name="publishing_q_PrevDocumentKeywordConstraints" value = ""