I've created a js module to pull in associated data from a custom object via an API call I created in DNN Sharp. For the life of me, I can't find the correct syntax. I'm not very proficient with js (so that may be the problem). I'm pasted the snippet from the Module as follows but getting a syntax error.
{% set COMMUNITY = {% module "module_16196267985552" path="../modules/AssociatedData", label="AssociatedData", DealID="{{DEAL.hs_object_id}}" } %}
After playing around a bit, I was able to get the data included on my custom quote by adding in the following script at the top. Although it works, I would really love to be able to set this up so that it allows me to treat the data as an Import or Direct link to not require the extra steps of parsing out the JSON.
Each location where I need to use the data is created with a <Text id="Blah"></Text> tag so is funcitonally equivalend to {{ COMMUNITY.propertyName}}