2022.2

Table Of Contents
2. ClickNextandentertheinformationforthesourcetable.
l
Connection string:Displaysthefullpathtothedatabase.
Note: Bydefault,theconnectionisattemptedwithencryptionenabled.Toinstruct
thedrivertonotuseencryption,addthe";encrypt=false"parametertothecon-
nectionstring.
l
Table:Usethedrop-downtoselecttheappropriatetableorstoredquerytoretrievethe
appropriatedataset.
l
Encoding:Usethedrop-downtoselecttheencodingwithwhichtoreadthedatainthe
table.
l
Sort on:Selectafieldonwhichtosortthedata,inascending(A-Z)ordescending
(Z-A)order.Notethatsortingisalwaystextual.Eveniftheselectedcolumnhasnum-
bers,itwillbesortedasatext.
3. ClickFinishtoopenthedatabase.
Afteraddingdatafromadatabase,theData Modelpaneattherighthandbottomshowsthedatafields
thatoccurinthedata.
TheValuecolumndisplaysdatafromthefirstrecordinthedatafile.UsetheFirst,Previous,Nextand
Lastbuttonstobrowsethroughtherecords.
AddingJSONsampledata
JSONdatacaneitherbeadded to,orreplacetheDataModelinatemplate.
ImportingJSONdataintotheDataModelmakesiteasiertotesttemplatesthataremeanttobemerged
withJSONdatainaWorkflowconfiguration.
Workflow'sOLConnectCreateContenttaskscanuseJSONastheirdatasource;seeCreate
EmailContent,CreatePrintContent,andCreateWebContent.)
ToaddJSONsampledatatotheDataModel:
1. SelectFile > Add Data > JSON sample data,fromthemenu.Alternatively,clicktheJSON
Sample DatatoolbarbuttonontheDataModelpane.
2. Eitherbrowsetothelocationofthefileandselectit,orpasteorwritetheJSONdirectlyinthebox
belowthefilename.
Tip: IfadatafieldcontainsJSONdatayoucouldusethatdataassampledata:right-click
thefield,selectCopytocopytheJSONdatatotheclipboard;thenopentheJSONSample
Datadialogandpastethedatathere.
Page 720