cancel
Showing results for 
Search instead for 
Did you mean: 

connect using connection string

George_Tarasi
Star Contributor
Star Contributor

We have created a connection string using the Unity API Project Configuration, Tools, Connection Strings.

How do we initiate the connection using the Unity API C#?  The goal is to use this for an external autofill keyword set.

7 REPLIES 7

Nate_Anderson1
Confirmed Champ
Confirmed Champ

Hi George-

Since IExternalAutofillKeysetScript is a server side script, it should not return nulls on the client since the server is the one actually executing the script.

George_Tarasi
Star Contributor
Star Contributor

Thanks Nate!  We were getting an error trying to access DBConnection conn = unityApplication.Configuration.getConnection until we added using System.Data.Common

Now that we figured that out, there isn't any documentation on how to use this connection with the autofill script.

Good Afternoon George,

What is the current status of this? Were you able to successfully use the connection string to get the data for the external autofill script?