Integrate javascript code in Web application using Genexus

Asked

Viewed 1,168 times

0

In the application I will do using Genexus I will need to draw diagrams and also take the data in the BD and generate diagrams. I have already developed the diagram design tool in javascript and now I needed to know how to integrate this javascript code in a web application developed in Genexus. How can I do it? Where can I find the information needed to be able to do this kind of integration?

I have already watched the videos online in genexus training but is not referred in these videos as doing what I intend to do.

2 answers

0

Although the recommended way is to use User Controls, another way is to embed the js font in the page header. Behold Javascriptsrc Property

  • Hello! Welcome to Stack Overflow in English. Can you translate your answer to English? Which is the official language of the site.

  • Okay sounds good. Can you tell me why I edit Jscript Runtime Render and why the code is never updated? I edit xls Render Design and can see the update according to the modifications made, but in the case of Jscript Runtime Render as much as Edit can’t see the updated modifications in the web panel where I use User Control.

0


The best way to integrate your Javascript code into Genexus is by creating a user control (User Control).

Another possibility is to add the built-in Javascript code to a Textblock, but the User Control approach is more flexible and keeps your Genexus code cleaner.

CSS can be customized by modifying the theme (Theme Object).

  • That’s right. Thank you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.