These docs are for v3.2. Click to read the latest docs for v5.0.

Discussions

Ask a Question
Back to All

Getting json from another OC module to display in template

We are currently using a Select2 in "OC module A" to get data from "OC module B" (which is a list of items on another tab) and store the id.

At the moment all we can do in the handlebars template for "OC module A" is display this id.

Is it possible to get the json from "OC module B" using an api call (bearing in mind this is for the display template so needs to be anonymous)