• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Still not able to read Blob img or pdf
#3
I did use the Manager to produce the following code by clicking with the right button and getting the following code from the sub menu  to copy to my card code


local tRecordIDs, tOutputA
put "7b93ab2c-cbb0-4b48-8a99-efc2f315e182" into tRecordIDs
replace comma with lf in tRecordIDs
put cdb_read("cdbBlobs",tRecordIDs,"local") into tOutputA.

"7b93ab2c-cbb0-4b48-8a99-efc2f315e182" is what is copied in tOutputA, this  is the recordID of the image blob,
not a path as you indicated in your previous email.

I ran this test in local mode, after using code to sync cloud and local and verifying that I had data in the local canelaDB/database folder.

I still dont see what I am doing wrong.
You did not answer me about if you ran the same test on your side and got an image or pdf to display in a card, did you get a working result ?.

I have another question:
When I first created the table I use a screen in Manager, and when I created the key StepPDF,  I was able to choose Blob as type of key.
Then when I uploaded a pdf file in the cmbBlobs I was able to see it in a windows in Manager when I double click the StepPDF field and choose view in the sub menu.

I then added another key StepIMG to be able to save an image to go with the pdf, I was not able to Identify this key as being a link to a blob.
I their a way to do this presently in the manager ?

Merci
Jean
  Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)