Dashboards & Visualizations

Drilldown help

ShaneNewman
Motivator

I am trying to drilldown to another view and pass 2 variables in the process. This is what it looks like in Advanced XML (Sideview Utils) and it works:

          <module name="Redirector">
            <param name="url">capsule_ad_floor_drill</param>
            <param name="arg.fact_facility_desc">$fact_facility_desc$</param>
            <param name="arg.patient_location_mnemonic">$click.value$</param>
          </module>

My interperation of it in Simple XML:

  <drilldown>
    <link>
      <![CDATA[
      /app/hca_capsule_web/capsule_adoption_unit?form.fact_facility_desc=$fact_facility_desc$&patient_location_mnemonic=$row.Nursing Unit$
      ]]>
    </link>
  </drilldown>

This seems to be working correctly, based on what I see in the next screen's URL:

app/hca_capsule_web/capsule_adoption_unit?form.fact_facility_desc=Alaska%20Regional%20Hospital&patient_location_mnemonic=L.ORT&earliest=-1d%40d&latest=%40d

So I assume the problem is with the target view... Below is the code. It populates a Facility, just not the location. Any ideas?

  <fieldset autoRun="true" submitButton="false">
    <input type="time" searchWhenChanged="true">
      <label>Select a Time Range:</label>
      <default>Yesterday</default>
    </input>
    <input type="dropdown" token="fact_facility_desc" searchWhenChanged="true">
      <label>Select a Facility</label>
      <populatingSearch fieldForValue="fact_facility_desc" fieldForLabel="Facility">
        <![CDATA[| `new_get_facility_list` | `capsule_eval_facility` | sort Facility ]]>
      </populatingSearch>
    </input>
    <input type="dropdown" token="patient_location_mnemonic" searchWhenChanged="true">
      <label>Select a Nursing Unit</label>
      <populatingSearch fieldForValue="patient_location_mnemonic" fieldForLabel="patient_location_mnemonic">
        <![CDATA[| `capsule_unit_include_inputlookup($fact_facility_desc$)` ]]>
      </populatingSearch>
    </input>
  </fieldset>
Tags (2)
1 Solution

nfilippi_splunk
Splunk Employee
Splunk Employee

Within the Simple XML drilldown configuration, try prefixing the token name with "form.".

Something like this:


<![CDATA[
/app/hca_capsule_web/capsule_adoption_unit?form.fact_facility_desc=$fact_facility_desc$&form.patient_location_mnemonic=$row.Nursing Unit$
]]>

View solution in original post

nfilippi_splunk
Splunk Employee
Splunk Employee

Within the Simple XML drilldown configuration, try prefixing the token name with "form.".

Something like this:


<![CDATA[
/app/hca_capsule_web/capsule_adoption_unit?form.fact_facility_desc=$fact_facility_desc$&form.patient_location_mnemonic=$row.Nursing Unit$
]]>

ShaneNewman
Motivator

That worked! Thanks!

0 Karma
Get Updates on the Splunk Community!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...