Results 1 to 2 of 2

Thread: Send username & password + Do a Search

  1. #1
    Aspec is offline Junior Member
    Join Date
    Jul 2009
    Posts
    1

    Default Send username & password + Do a Search

    We have Sugar Community installed on our local network, no outside access is permitted. Trying to find a way to send the user name, password, and then a search string all in 1 http command.

    Our phone system will do a screen pop based on the incoming caller ID name so I am trying to pass the following from the phone system software to Sugar

    Code:
    http://localhost/sugarcrm/index.php?action=Authenticate&module=Users&return_module=Users&return_action=Login&user_name=joeblow&user_password=12345&login_theme=Sugar&login_language=en_us&module=Home&action=UnifiedSearch&query_string=companyname
    Doing the above lands the user on the logon page. No search is completd.

    However, If I only send this:

    Code:
    http://localhost/sugarcrm/index.php?action=Authenticate&module=Users&return_module=Users&return_action=Login&user_name=joeblow&user_password=12345&login_theme=Sugar&login_language=en_us

    The user gets logged in fine, but then has to manually search.



    Am I missing something or is this just not possible? The phone system software is unique to each user so I can set each users username and password on there client but I can't find a way to login and search in 1 http string to save my life.

    Any suggestions would be much appreciated.

    Thank you

  2. #2
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    939

    Default Re: Send username & password + Do a Search

    Depending on your phone system, you might find this http://www.sugarforge.org/projects/yaai/ useful and maybe just pdate the lgger piece of it to accomodate your telephony system. The rest wil be done for you ... and it will for sure be the more professional way than what you are trying.

    christian.

    Quote Originally Posted by Aspec View Post
    We have Sugar Community installed on our local network, no outside access is permitted. Trying to find a way to send the user name, password, and then a search string all in 1 http command.

    Our phone system will do a screen pop based on the incoming caller ID name so I am trying to pass the following from the phone system software to Sugar

    Code:
    http://localhost/sugarcrm/index.php?action=Authenticate&module=Users&return_module=Users&return_action=Login&user_name=joeblow&user_password=12345&login_theme=Sugar&login_language=en_us&module=Home&action=UnifiedSearch&query_string=companyname
    Doing the above lands the user on the logon page. No search is completd.

    However, If I only send this:

    Code:
    http://localhost/sugarcrm/index.php?action=Authenticate&module=Users&return_module=Users&return_action=Login&user_name=joeblow&user_password=12345&login_theme=Sugar&login_language=en_us

    The user gets logged in fine, but then has to manually search.



    Am I missing something or is this just not possible? The phone system software is unique to each user so I can set each users username and password on there client but I can't find a way to login and search in 1 http string to save my life.

    Any suggestions would be much appreciated.

    Thank you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. You must specify a valid username and password.
    By jvilla in forum General Discussion
    Replies: 4
    Last Post: 2009-01-24, 09:34 AM
  2. valid username and password.
    By alealsa in forum Espaņol
    Replies: 1
    Last Post: 2008-04-14, 09:23 PM
  3. Replies: 0
    Last Post: 2007-02-09, 07:24 AM
  4. What is the www.sugarforage.com username and password?
    By ramji123 in forum Customer Support
    Replies: 2
    Last Post: 2006-12-21, 04:52 AM
  5. Replies: 2
    Last Post: 2006-01-30, 10:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •