×
We value your feedback! Please click here to access our 2024 Client Survey.
The survey will remain open until November 1st. Your perspective will help guide our product/service planning and goals for the upcoming year and beyond!

Importing by alternate key via the python API

LabKey Support Forum
Importing by alternate key via the python API jack mason  2024-07-04 06:36
Status: Active
 

Hi there,

Am trying to import a load of data from CSV via the python API, but keep running into issues with primary key matching.
There is a way on the frontend to 'Import Lookup by Alternate Key' (see attached), I was wondering if there was some configurable option in the python API.

Thanks in advance,

Jack

 
 
jack mason responded:  2024-07-08 16:48

Hi Jack:

That option isn't supported in the APIs at present. To import lookups using alternate key, you'll need to use the UI as in the image you attached. Note that you can use that option uploading from file as well; copy/paste is not required to use it.

--Molly