Creating an indexed (rather than imported) PDF record

The GUI allows us to choose between importing a PDF and simply indexing it in situ.

What is the idiom for scripting the creation of an indexed record, leaving the PDF unimported ?

I can write:

set oNewRec to create record with {type:PDF, name:strName, path:strFileLink} in oLocn

but the result is not synchronized.

Just use the indicate command, e.g.

set oNewRec to indicate strFileLink to oLocn