Original Message:
Sent: 03-10-2024 11:53
From: Avery Cook
Subject: Dashboard input fed into a DatalinqKey
I'm building on v11.5 for v6.?, when we first moved the package over we had to change the way we had things datalinq'd which used a lot of @macro@. We ended up just switching most stuff over to DataKeys so I am under the impression the version being ran there does not support that style of macro? It could be that something else didn't work and Keys were just the quicker fix in the moment. Haven't had the chance to be hands on with that system/version to test the @macro@ out for a few days so I am trying to work this out based solely on knowing for sure Keys are working.
------------------------------
Avery Cook
Freelancer
Omaha United States
Original Message:
Sent: 03-10-2024 06:54
From: Simon Redmile
Subject: Dashboard input fed into a DatalinqKey
Do you need to use a datalinq key?
You could use a text @macro@ instead?
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 03-09-2024 11:40
From: Avery Cook
Subject: Dashboard input fed into a DatalinqKey
Just tried that and it did not seem to work. Here is a screenshot of what I have currently, the green text is being driven from a text entry field in Dashboard and is working. Then that has scripting for OnSetText (trying) to apply that text to DataKey "#1" to use as the search function in a .txt to pull a name. The name's are not changing with the numbers changing which makes me think that the input text is not getting applied to the Key.
------------------------------
Avery Cook
Freelancer
Omaha United States
Original Message:
Sent: 03-09-2024 08:34
From: Simon Redmile
Subject: Dashboard input fed into a DatalinqKey
I'm not at a computer right now but my guess is text needs to he in quotes as it's a string.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 03-08-2024 15:29
From: Avery Cook
Subject: Dashboard input fed into a DatalinqKey
I found an old thread talking about trying to do something like this but have had some snags. In Dashboard I have text entry fields that are connected to preview only text fields in Xpression. I then have scripting on those for OnSetText that should be applying the text to a DatalinqKey. This is the script I have written
dim first as xpDatalinqKey
Scene.GetDatalinqKey(first)
first.GetKeyByName("#1", first)
first.AsString = text
Scene.RefreshDatalinqs
However, it's not applying the text to the Key. Any idea what I might be doing wrong or what I could try differently? I am working with an older versionso I cannot just use @TextObject@ otherwise this would be a lot easier.
------------------------------
Avery Cook
Freelancer
Omaha United States
------------------------------