95
Views
10
Comments
Solved
Error using Bar Code Generator
Question

Hi Guys,

I'm currently using Bar Code Generator from the forge and I encountered the below error when I try to run the application :


An exception occurred in the client script. Error: JsBarcode is not defined

Do you have any idea on how can solve the problem above ?

Attached is the OML of the project that I'm curretly working.

Thanks in advance in any suggestion or ideas.

Regards,

Ariel

RunCardTool.oml
UserImage.jpg
Ariel Balasta
Solution

Hi Guys,

Thank you for your all reply. I just solve it by including javascript minified version of JSBarcode.


Thank for your all suggestion.

2018-05-16 11-16-36
João Heleno
 
MVP

Is the plugin you're using this one? 

https://www.outsystems.com/forge/Component_Details.aspx?ProjectId=3617

There are several in the Forge... just to be sure.

UserImage.jpg
Ariel Balasta

Hi Joao,

Thank you for your reply. Below is the link that I'm currently using Bar Code Generator :

https://www.outsystems.com/forge/component/3376/barcode-generator/?Unfollow=False 

Thanks,

Ariel

2018-05-16 11-16-36
João Heleno
 
MVP

Can you open "Developer Tools" (in Chrome or Internet Explorer) while opening the page and tell us if there are errors?


UserImage.jpg
Ariel Balasta

Here is the screen shot from chrome developer tool :

2025-01-07 17-06-54
Paulo Cação
Champion

Hi Ariel,

Check all dependencies and refresh all.

UserImage.jpg
Ariel Balasta

Hi Paulo,

I already refesh all the defendencies required. Please see the screen shot below :



Regards,

Ariel

2025-01-07 17-06-54
Paulo Cação
Champion

Hi Ariel,

I try in my OSMDb, and it works:

I think, your BarcodeValue is empty. You have a variable "LotNumber", and she is not filled:

Regards

2018-05-16 11-16-36
João Heleno
 
MVP

@Paulo

I did a test with empty value and no exception was raised. Also did a test myself with some random text and all was ok.

@Ariel

Must be something else... are you still facing this problem?

UserImage.jpg
Ariel Balasta
Solution

Hi Guys,

Thank you for your all reply. I just solve it by including javascript minified version of JSBarcode.


Thank for your all suggestion.

UserImage.jpg
Ayeesha Bibi Shaik

Hi Guys,

  May I know how to include JSBarcode  in outsystems.

 Thanks in advance.


  

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.