Is it possible to incorporate Cytoscape.js into OutSystems App?
Application Type
Traditional Web

I'd appreciate it if you would give me your expertise.

I'm trying to make an app that kind of displays diagram of Data Entity on a screen as the below image.


I'm guessing I might be able to take advantage of Cytoscape.js, but I wonder if you can incorporate External Javascript into an Outsystems app. I'm not sure how to do it and I'm stuck.

Do you have any ideas on that? 

I hope I can make a quick app to display Entity diagram of data.

I look forward to your ideas.

Best,

Champion
Solution

Hi,


If you using mobile or reactive, download the js, put it on the script in interface, then onReady event, use RequiredScript client action from system dependency to load it (or load it on the screen/block)

Hello Tsubasa 

Yes, you can call the External JS in OutSystems using HTTPRequestExtension. Please follow below steps - 

1. Manage Dependency 

2. HTTPRequestHandler

3. Add JavaScriptTag


Hope this will help.

Champion
Solution

Hi,


If you using mobile or reactive, download the js, put it on the script in interface, then onReady event, use RequiredScript client action from system dependency to load it (or load it on the screen/block)

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