Graphics

 View Only

How to use DashBoard parameter to change a Datalinq Key value on several Sequencer Take Items?

  • 1.  How to use DashBoard parameter to change a Datalinq Key value on several Sequencer Take Items?

    Posted 3 hours ago

    I have about 5 Sequencer items that are player bios and a few stat notes for the current batter. When a player is up to bat, currently I have to enter their jersey number (the DataLinq Key) multiple times to prepare each of the 5 possible gfx that the director may want for each batter. I'm trying to build a DashBoard panel that will let me type the jersey number once in a text entry field parameter (JerseyNumber) and then have that value update the 5 sequencer items that use the jersey number to populate names, headshots, stats, notes, etc. How do I get a "handle" on the DataLinq Key value in XPression that is a manual text entry field in the Template Data tab? 

    I tried this but it is not working:

    dim jerseyKey as xpDatalinqKey
    Self.GetKeyByName("JERSEY", jerseyKey)
    
    'test - attempting to hardcode a value to see if it works. it doesn't...
    jerseyKey.Value = 24
    
    ' I need something here to grab the Dashboard parameter
    ' value from the external .xml datasource
    'created/modified by the DashBoard panel
    
    'pseudocode: jerseyKey.Value = JerseyNum parameter value set by DashBoard text entry
    
    
    Self.RefreshDatalinqs


    ------------------------------
    Shane Finley
    Dallas - Fort Worth Area United States
    ------------------------------