External JavaScript Integration

0
0

Hi,

I’m trying to integrate external JavaScript components as SyncFusion BarCode for a simple exemple by following this post.
I redefined a custom Widget and add it from the toolbox to my page. I can see the square of my component, there is no error in compilation or even in the console but it doesn’t work.

Do you have any idea what is wrong ?

I joined my solution to this message.

Thanks

Romaric

Attachment
  • You must to post comments
0
0

Hi Romaric,

enhancement request WJ-8454 as mentioned in my first reply is included in the latest Wisej release (1.4.32).

Now Wisej widgets use an autogenerated id if no id is set explicitly.

Best regards
Frank

  • You must to post comments
0
0

Hi Romaric,

thanks for your confirmation. Please let us know if you encounter any problems with integrating other components.
I´m also curious to hear what components are integrated as I think we all can benefit from such use cases and experiences.

Best regards
Frank

  • You must to post comments
0
0

Hi,

Thanks Frank for your quick response, it works successfully now 🙂
The BarCode is just a simple exemple and test to start defining new widgets from external librairies, actually I think I’ll not used it in my app.

Regards

Romaric

  • You must to post comments
0
0

Hi Romaric.

you are pretty close, there is just one thing missing:
Several components of SyncFusion need to have an ID to operate in a proper way.

So to make your sample work, please add the highlighted line:

initscript

We will add an auto Id to have Wisej assign an automatic ID without any init code. Logged as enhancement WJ-8454.

Please also note that we have a quite powerful Barcode extension available as a free extension download:

https://wisej.com/extensions/

Best regards
Frank

 

Attachment
  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.