We are on Clarity v15.2 on-premise. When we upgrade from 13.3 to 15.2, the filestore is moved from application server to database. Now, the filestore is embedded into database. Our GEL scripts were reading the file contents from the application servers previously and are not working now. I tried some other ways to get the data directly from database, but could not succeed. The files are stored as BLOB in database.
I checked few questions on the community, but they just said when the filestore is in database, we cannot read the contents directly. I found no solution on this.
Anyone has succeeded in reading the file from database directly using GEL script? If yes, can you please help me in this regard?
You are able to read contents by using xog.
If you do xogout documents from filestore, they will be placed in server directory.
After that, you will be able to access them by GEL.
There is thread about document xog. It maybe helpful for you.
Is it possible to send an attachment field via Web Services
Thank you so much for the solution, Shoichi.
I can read the file contents now.