• problem in search

    By paolo bragagni 2 decades ago

    perhaps i didn't understand something in configuration…



    i've set up domgle with some databases, but with some DB there is some problem.

    When i clich search domgle list me result without the link to the document.



    es:

    —————-

    93% -

    database : customers - author : - - creation date :17/11/2000 16:00:53

    —————



    after "93% -" should be the link, but with it is not there …



    thank for your answer,

    Paolo

    • By Julien Bottemanne 2 decades ago

      this field ("Title" by default) might be empty in this document.

      • By paolo bragagni 2 decades ago

        thanks for the answer!!!



        but,…



        when i search in that db every document have this field empty because



        each result doesn't have the link ….



        what can i do?

        • no more help??

          By paolo bragagni 2 decades ago

          :(

          • yes there is

            By Julien Bottemanne 2 decades ago

            you'll have the same problem with all the search tool. You need a unique field to identified your document in all your db. If they are named differently you can easely make an agent to created it.



            An other precision : In the parameter document, you can change the link position.

            • thanks but..

              By paolo bragagni 2 decades ago

              thanks for the help, but perhaps i have to study a little bit deeper domino designer….. :((

              • code modified....

                By paolo bragagni 2 decades ago

                I don't know if i understand the whole process of your project, but for my problem i've modified the code in

                ajaxsearch.js



                I don't know if this is good code, but at least seems to bypass my problem….





                ——————————-

                in

                function ShowLines( ){



                delete

                string.push(eval(macro));



                and put



                macro1=eval(macro);

                if (macro1=="") string.push('result');

                else string.push(macro1);