0

How can I generate bar codes from my ninox database ?

Hello,

My company is using Ninox. We have a database which contains all our references. I'd like to know how can I generate a bar code for each reference and how can I scan it ? The best could be to generate one bar code for each line and that we could scan it to find it in ninox.

Thanks

19 replies

null
    • Direction
    • 5 yrs ago
    • Reported - view

    Hi,

    I think is not possible directly with ninox. It was a good idea to implement this in the future... I need it also.

    • blackie
    • 5 yrs ago
    • Reported - view

    A barcode is just a set of characters. I have Ninox create a unique barcode string for each of my products. Then I use the http() function to send the product label to a printer to create the label with a barcode.

     

    ninox can use a iPhone/iPad camera to scan barcodes. A string is returned after the barcode is scanned. 

    • blackie
    • 5 yrs ago
    • Reported - view

    There is a REST API to create barcodes at the link below .  You could use the http() function to create the barcode image and import it into Ninox.

     

    http://www.barcodes4.me/apidocumentation

    • Direction
    • 5 yrs ago
    • Reported - view

    Ummh !! Very good ! Thanks :-)

    • blackie
    • 5 yrs ago
    • Reported - view

    I forgot that the http() function wants  a json response, so you can’t directly import the file.

     

    From the manual

    Return Value

    A json object containing either an error or a result property.

     

    I ended up doing a workaround to import fillable pdf forms.

    https://ninoxdb.de/en/forum/technical-help-5ab8fe445fe2b42b7dd39ee7/fillable-pdfs-5bd8812e7218b263ad4b3235?post=5bd9b59f7218b263ad4b328f&page=1

    • blackie
    • 5 yrs ago
    • Reported - view

    I am overcomplicating this.

    You can use importFile() to create the barcode. No need to use the http().

    importFile(Id, "http://www.barcodes4.me/barcode/c39/"+ barcode +".png", "barcode.png")

    • blackie
    • 5 yrs ago
    • Reported - view

    To import the barcode as an image in the record instead of an attachement, you can do this:

     

    Image := importFile(Id, "http://www.barcodes4.me/barcode/c39/"+ barcode +".png", "barcode.png")

    • Direction
    • 5 yrs ago
    • Reported - view

    Thank you Blackie, I have using tomorow your tip about barcode.  

    • PTS ltd.
    • Adrian_Hickman
    • 4 yrs ago
    • Reported - view

    blackie,
    Monk (184)

    Friday, November 16, 2018 9:23 AM:-

    "I have Ninox create a unique barcode string for each of my products".

    How did you do this? Could the details be provided please?

    Thanks.

    • PTS ltd.
    • Adrian_Hickman
    • 4 yrs ago
    • Reported - view

    Oops! I have sussed it.

    This is excellent. Many thanks.

    • CentralGamer
    • 3 yrs ago
    • Reported - view

    This don`t work anymore, anyone knows a alternative?

    • Alain.1
    • 3 yrs ago
    • Reported - view

    Hello il you can find a program in the EN 2020 webinar folder,in the ninox app. this is the SVG BARCODE GS1 program. I would have taken a screenshot but it doesn't work. You have to be connected to internet to use it. 

    • CentralGamer
    • 3 yrs ago
    • Reported - view

    Hello Alain, thank you for the answer. do you know how can a found this folder? 

    • Alain.1
    • 3 yrs ago
    • Reported - view

    the screenshot still does not work 🙁 

    of memory you must contact the service support@ninox.com.  then in the Ninox application there will be the Webinar EN 2020 tab with examples of programs

    • SMoore
    • 3 yrs ago
    • Reported - view

    Hello,

     

    It appears that barcodes4.me has sunset. Does anyone know of any other HTTP calls that can do exactly this?

     

    Image := importFile(Id, "http://www.barcodes4.me/barcode/c39/"+ barcode +".png", "barcode.png")

    • Ppc
    • titanium_fish
    • 3 yrs ago
    • Reported - view

    anyone have a idea on this?

    • Direction
    • 3 yrs ago
    • Reported - view

    Hi MG ,

    I have found another website service for barcode :

    importFile(nouveauJob.ID, "https://www.cognex.com/api/Sitecore/Barcode/Get?data=" + nouveauJob.Code + "&code=BCL_CODE128&width=300&imageType=JPG&foreColor=%23000000&backColor=%23FFFFFF&rotation=RotateNoneFlipNone", "barcode1.jpg"));

    • Ppc
    • titanium_fish
    • 3 yrs ago
    • Reported - view

    Great! Thanks A million

    • Kemal_Yildirim
    • 2 yrs ago
    • Reported - view

    Hi everyone,

    my solved is here, 

    # This is a global function

    function createQRCODE(number : number) do
    let qrcodeImage := importFile(Id, "https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=" + number + ".png", "barcode.png");
    qrcodeImage
    end;

     

    # you can call it from everywhere 
    Image := createQRCODE(123456789) 

     

     

Content aside

  • 2 yrs agoLast active
  • 19Replies
  • 7361Views