Displaying rows based on an element's parameter table.
Main Shape
Children - Row
ChildrenSource - DataTable/200
Options - NoSelectionFilters
Child Shape
ChildType - Row
Options - NoAlarmColorFill
Data inside of Child Shape - (issue)
* wildcard
Element: [Param:[This card objectID],208,[ParentDisplayTableIndex]]
Options: AllowInheritance=False
Info: Name
And this doesn't display anything at all
But I can confirm that [ParentDisplayTableIndex], [This card objectID], and parameter 208 separately display the correct things
What am I missing here? I would be grateful for any help! 🙂
Hi Amber,
Based on your extra input where you indicate the information is on a different element (or view in my case), I will share the extra configuration you will need to make.
As you are using [this element], the placeholder by default links to your card, but in our case the card is not the right element to look for when fetching data. Therefore, you have extra options to define where your placeholder should get its reference (i.e. its parent as we had linked the shape to the right element).
More information here: ForcePropertyFromParent Shape
This is a difficult but important topic, and therefore there is a dedicated session available in our Visual Overview Course: Grouping - DataMiner Dojo
Kind Regards,
Jarno
Hi Amber, this is getting challenging ;). I think the issue now is with the seperator of the regexreplace. The parsing is possibly messed up because the seperator (',') is being used by both RegexReplace and RegexMatch. I suggest to change the separator, i.e. [RegexReplace:[Sep:,#]x#y#z]
Perfect! This all works now! Thank you so much! I've marked this as solved!
Hi Jarno!
I tested it out today and what you did worked with the Element Shape Data which is amazing! Thank you so much! Do I apply the same logic if I want to show parameter data on the 3rd shape down?
For example:
Text: [Param:16612/1110,1004,[RegexReplace:/,[RegexMatch:^(.*?)-1/, [DisplayTableIndex]],]]
Options: AllowInheritance=False|ForcePropertyFromParent
If the [Param:] is referring to a different Element then the dynamic table and the [DisplayTableIndex] is referring to the parameter table linked to the dynamic table row.
Will I need any more shape options to display the correct parameter? As I've tried this but it doesn't seem to work, although
[Param:16612/1110,1004,xxx] – works if I hard-code the value that the regex displays.
[RegexReplace:/,[RegexMatch:^(.*?)-1/, [DisplayTableIndex]],] – works by itself
Can you not combine them? If that makes sense?