Forum Discussion

programmerjp's avatar
programmerjp
Ideator I
5 years ago
Solved

Only alow to select Part "Assembly" instead of all Parts like "Component", "Assembly", "Material",...

Hello everyone, i am new to Aras Innovator (I am using Version 12.0 SP9 Build: 24090). I have created several Parts (Components and Assemblys) and a new ItemType "Test". I have modified the "View...
  • programmerjp's avatar
    5 years ago

    I will answer my Question by myself. Yes it is possible. Thanks to this article: https://community.aras.com/b/english/posts/applying-a-filter-to-a-search-dialog

    Just a few more details and pictures, because it is easier to understand. Create a new Property "filtered_property" in your ItemType and open it like this Rightclick on "filtered_property" -> Properties -> Open:

    Type in something like this:

    Rigthclick on the Method "Filter" -> Open -> Editor open

    var Filter = {};
    Filter["classification"] = { filterValue: "Assembly", isFilterFixed: true};
    Filter["is_alias"] = { filterValue: "1", isFilterFixed: true };

    return Filter;

    and it done. Good luck!