Encryption and getdocumentbykey

I haven’t used encryption for quite some time and I don’t recall ever using it on a key that I use in a view.

My question is:

If I open a flat file and read in (until EOF) how can I use part of that field to getdocument by key, if my view’s key is now encrypted?

Do I need to encrypt the field before I call the getdocumentby key? OR will it understand and allow me to pass the “plain text” key into the getdocumentbykey call?

Subject: encryption and getdocumentbykey

It’s impossible for a view’s key column to be encrypted. Encrypted fields can’t be used in views at all.

Subject: encryption and getdocumentbykey

If you could do this then there would be no point in encryption.

Try another unique field or combination of fields to locate the document.