5 Replies Latest reply on Jun 19, 2018 12:47 PM by Bob Bailey

    In query builder....

    Bob Bailey

      In query builder, for any of the kinds I select, I see more attributes than are shown in the taxonomy.  Where are these attributes located if not in the taxonomy?

        • 1. Re: In query builder....
          Lisa Keeler

          Patterns add new attributes, and they add them to the GUI using model.addDisplayAttribute(), or by using the older method which is something like adding them to the tw_meta_data_attrs list.  Not sure that is the exact name of the list.

           

          It is preferable to not customize the taxonomy if you can avoid it.

           

          Sent from my iPhone

          • 2. Re: In query builder....
            Bob Anderson

            There is no need for addDisplayAttribute or adding via tw_meta_data_attrs to see the ad-hoc attributes in the query-builder.

             

            Simply adding an ad-hoc attribute to a node will add it to the list of things for the query-builder for that node

             

            If all references to a given ad-hoc attribute are removed, the ad-hoc attribute will remain in the query-builder list until a re-index of the datastore is done.

             

            HTH

             

            Bob

            1 of 1 people found this helpful
            • 3. Re: In query builder....
              Andrew Waters

              This list comes from all nodes of that kind which have ever existed and been given that attribute. The datastore remembers this information.

               

              Not all attributes appear in the taxonomy. That would require lots of changes to the taxonomy with little real benefit and mean that whenever users wrote patterns they would need to also update the taxonomy.

              2 of 2 people found this helpful
              • 4. Re: In query builder....
                Bob Bailey

                Thanks everyone for the replies!  My guess was that is was simply pulling attributes from database but I don't like giving out an answer unless I know for a fact that I'm right.  Now I know.  

                • 5. Re: In query builder....
                  Bob Bailey

                  Thanks Lisa. 

                  b