Question

Passing parameters to extension via dimension link

  • 14 January 2022
  • 0 replies
  • 29 views

In my manifest.lkml file, I have following extension:
 

application: resend_email {
label: "Resend Email"
file: "resend.js"
entitlements: {
use_embeds: yes
use_form_submit: yes
core_api_methods: ["all_user_attributes","me","run_query","user_attribute_user_values"]
external_api_urls: ["https://enterprise-api.com/*"]
scoped_user_attributes: ["mb_client_id", "mb_client_secret"]
}
}

And in my mb.view I have following dimension:
 

  dimension: resend_to_customer {
sql: ${email_reference_id} ;;
html: <a target="_blank" href="https://looker.autodesk.com/extensions/transactional_messaging_system::resend_email?id={{value}}" >Resend to Customer</a> ;;
}

 

Does anyone know how I can pass this id parameter to my resend.js ?


This topic has been closed for comments