Written by

Question Alex Bear · Dec 12, 2023

Get OriginalFilename in a BPL

I have created a BPL to process a file and create a lookup table. I am looking to add logic to use the original filename so that I can use a single BPL to create multiple tables. How can I access the original filename within a BPL?

Product version: IRIS 2021.1
$ZV: InterSystems Studio Client 2021.1.2 Build 338 Server IRIS for UNIX (Red Hat Enterprise Linux for x86-64) 2021.1.2 (Build 338U)

Comments

Eduard Lebedyuk · Dec 12, 2023

Are you getting Ens.StreamContainer?

It would be OriginalFilename property in that case.

0
Alex Bear · Dec 12, 2023

As I was trying to use this in a lookup, I did not realize that what I used worked and the lookup was failing. Adding alerts allowed me to find the issue. request.OriginalFilename works.

0