logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Kristian
    • Posted on Sat 22 Nov 2008

    Hi.

    When sending an e-mail with an SearchView&Query URL-link to an Outlook user. The script works fine as long as the URL doesn't contains a "=[fieldname]". If the URL-link contains "=[" it will break into 2 pieces/lines (se bellow).

    Unfortunately I need to use that syntax when making field queries like in the following example, where I need to select documents where the field "Status" equals "3".

    1) Call richText.AppendText("http://server/dir/db.nsf/webSearchAll.us?SearchView&Query=[Status]=3&lan=us")

    2) Call richText.AppendText("http://server/dir/db.nsf/webSearchAll.us?SearchView&Query="+Chr(91)+"Status]=3&lan=us")

    3) Call richText.AppendText("http://server/dir/db.nsf/webSearchAll.us?SearchView&Query=%5bStatus%5d=3&lan=us")

    Common for the 3 examples are that the mail received in Outlook has a link that is broken into the following 2 lines:

    http://server/dir/db.nsf/webSearchAll.us?SearchView&Query

    =[Status]=3&lan=de

    I have used the property "PassThruHTML=True" but it didn't help. The only thing that helped was removing the "[]" but that doesn't help on my search.

    Any suggestions or help would be appreciated.

    Thanks in advance,

    Kristian

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: