• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Still not able to read Blob img or pdf
#2
(05-17-2019, 02:29 AM)Jean2080 Wrote: Bonjour,
First I want to say a big Merci to Jamil Semaan for the great support of the last days. I emailed Jamil two bug that I am having with Blob read and every time he answered me the same day or the nest day with pertinent information.

So Jamil I followed your last information and I updated my CanelaDB folder and my initialization code to the latest version.

But when I use the generated code from the Manager to readBlob I am still getting in the tOutputA variable the recordID of the Blob not the path.

I use the Sync function tho create a copy of my tables  on the cloud to a local version. I can see that the data where copy inside the CanelaDB/Database folder.

I tested on the local database and got the same result, the recordID instead of the path.

As the correction been tested on your side that shows the path instead of the recordID of the Blob ?

Again Merci for your support Jamil

Jean

Good Morning Jean,

Thank you for your detailed feedback and questions. To answer this question and clarify, I do not believe there is a readBlob code snippet in the LCM code generator--there are only snippets for basic CRUD on standard records at the moment. To read the blob and get the file path in your code, once you have its recordID, call the function cdb_readBlob() using that recordID from the cdbBlobs table as the first parameter.
  Reply


Messages In This Thread
RE: Still not able to read Blob img or pdf - by Jamil Semaan - 05-17-2019, 03:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)