Announcement

As of April 17, 2018, this site is now in read-only mode. To start new Blackbaud Developer’s discussions, you will find Developer Discussions in the Blackbaud CRM Community.

To post or respond to Blackbaud Community discussions, you will have to login using a www.blackbaud.com login. Learn how to login here. If you have questions or need assistance, please email community@blackbaud.com.

1.7k questions

3.2k answers

401 users

Categories

1.7k questions

3.2k answers

401 users

I have a WinForms app from which I need to allow users to click a link and open an eCRM 3.0 Constituent screen. I have created a new form with a Browser control, and clicking a link launches this form and navigates the browser control to the following URL:

http://<myserver>/bbec3.0/webui/webshellpage.aspx?databasename=BBInfinity#pageType=p&pageId=88159265-2b7e-4c7b-82a2-119d01ecd40f&recordId=4a5ea010-be96-474f-9790-9a63110abdf7

This works, but the user gets prompted for credentials to see the page. I have the credentials stored in my application's User Settings table, so I'd like to pass in the credentials and "pre-authenticate" the browser control's session.

So instead of sending the browser control directly to the BBEC page, I've created an HTML page as a resource in my WinForms app and pointed the browser there. This HTML page contains an onLoad() JavaScript function to execute the "SessionStartRequest" SOAP function in the BBAppFx library and then redirect the browser to the URL above, but the SessionStartRequest gives me a 403 forbidden. How can I pass in the credentials via JavaScript?

Or, is there a better way to do this?

Thanks,
Jeff A.

asked by jarmstrongfusionlabs-net (102 points)

Please log in or register to answer this question.

...