Attachments import

hi, I know I can't import attachments from an Excel file (even if the links are in a column - too much!!), but I believed i could import them via lotuscript into a RichText field, but, LEAP doesn't create Richtext for attachment objects, in fact, there's A TEXT LIST fiel endeed:

Field Name: F_DocActoAdm
Data Type: Text List
Data Length: 85 bytes
Seq Num: 6
Dup Item ID: 0
Field Flags: SUMMARY
"23d433e6-18ed-4bea-b8b6-fc40de29cfb9"
"IAFv3.pdf"
"54C21632BE552D9F03258BE300360977"
i can't find IAFv3,pdf file into the document, don't know where is it stored into, is there a way to import files into LEAP documents vía lotusscript? another way?
thanks

The only way to programmatically insert attachments is using our REST API, https://opensource.hcltechsw.com/leap-doc/9.3.7/ref_data_rest_api_create_attachment.html

The procedure loosely follows these steps:

1. Upload the attachment, getting the uid.

2. Create a form record, using the REST API. Inserting the UID from the attachment aupload

3. Repeat for as many records as you want to load into Leap.