Hi All ,
I have CDT name CDT_Record Having elements Name , Date , ID , Address , Area .
I want to fetch the Name field Details into my interface filter using CDT . need's your help guys
Discussion posts and replies are publicly visible
We need more info - particularly, what have you already tried? What do you mean exactly when you say "interface filter using CDT"? As in, are you just trying to display the "Name" property of the CDT in an interface somehow, or is there some sort of filtering involved?
See CDT_Record Have a field Name , Date , ID , Address , Area you can consider as a column name .. i willing to get Name column having data xyz , cdf , nmo , .......
i have filter F1 in my interface ... i want F1 ( xyz , cdf , mno ... ) as a filter data
wapidd0001 said:i have filter F1
Can you clarify what this means?
i have created filter F1 in my interface where i can populate data into grid layout in same interface
I'm still not sure what you might mean by "filter F1" - is it just a text input field? Something else?
Could you share some code snippets (please use the Insert --> Code feature to maintain formatting and reader-friendliness), and/or some screenshots?
Hi wapidd0001
To what I understood from your post, you want to have a filter criteria on a particular field of the cdt.
Have a look at this
load( local!CDT_Record:{{name:"ABC",date:"01/04/1990",id:1,address: "Melbourne", area:"cbd" }, {name:"XYZ",date:"01/04/1990",id:1,address: "Mumbai", area:"Powai" }, {name:"PQR",date:"01/04/1990",id:1,address: "New York", area:"Brooklyn" }}, local!name, { a!sectionLayout( label:"Filter Criteria", contents: { a!dropdownField( label:"Name", choiceLabels: local!CDT_Record.name, choiceValues: local!CDT_Record.name, placeholderLabel: "Select", value:local!name, saveInto: local!name ) } ), if(isnull(local!name),{}, a!textField( label:"Filter Result", readOnly: true(), value: local!name ) ) } )