bump.
bump
I want to know if there is a way to modify the search widget type for an attribute. In our case, we made a new class for all enum values, and using an AttributeExternalKey and the filter tag, we are able to return only the relevant enum fields for a given class. The issue comes with the search widget type, it will behaves as the normal ExternalKey one, and return all EnumValues. We want to modify it so for these "custom" enum externalkeys, it would return the filter set on the field, over a simple...
I was able to make it work through: "OnCheckToWrite" by implementing iApplicationObjectExtension, so I can confirm my logic works, but I just couldn't see a way to have it on getInitialStateAttributeFlags as I want it to.
Hi! I have made a PHP function that I can use and run on every class through the getInitialStateAttributeFlags method, but I would like to have it so it runs on every class, (which wouldn't require me to call the method and add the specific function line on all the classes).
I figured it out. By using an AttributeDashboard, I can make it so I filter out what I need. <field id="functionalci_list" xsi:type="AttributeDashboard" _delta="define"> <is_user_editable>true</is_user_editable> <definition> <layout>DashboardLayoutOneCol</layout> <title>OSFamily:Dashboard:functionalci_list</title> <auto_reload> <enabled>false</enabled> <interval>300</interval> </auto_reload> <cells> <cell id="0"> <rank>0</rank> <dashlets> <dashlet id="1" xsi:type="DashletObjectList"> <rank>1</rank>...
We have an OS Family, OS Version and OS Edition. This could be for example: Linux Ubuntu 16.04. We saved this information on the FunctionalCI, using externalkey fields pointing to each class. To reduce redundant data, we changed the OS Family and OS Version to be external fields, using the OS Edition id to get their id, essentially only saving the OS Edition on the CI, but still display the Family and Version. Now, on their own class, we had an AttributeLinkedSet to display a list of FunctionalCI...
Solved: We can use dictionary values for this. Example: <title>Menu:GeneralInformation</title>