Add a table to the semantic data layer
Add more tables to the Query Generation semantic layer so that users can use Now Assist in Platform Analytics applications to ask questions about the data in those tables.
Before you begin
Semantic table configuration supports regular tables, database views, and Workflow Data Fabric tables.
Role required: admin, now_assist_explorer_admin, sn_query_gen.admin
Procedure
Result
Your table is added to the list. If you enabled semantic generation, records for the table and its child tables, if included, are generated in the Entities [sn_query_gen_entities] table. Records for the table columns are generated in the Dimensions [sn_query_gen_dimensions] table.
Adding the Contract table hierarchy to the semantic layer
If you have users who need to explore and discuss data relating to asset contracts, you need to add the Contract [ast_contract] table to the semantic layer. This table hierarchy is not supported by default.
- First, you open the Semantic Table Configuration list [sn_query_gen_table_config_list] and press the New button.
- Now you are in the form for creating a new Semantic Table Configuration record. You search for the Contract [ast_contract] table and select it.
- You want to enable semantic generation on the entire Contract table hierarchy, so you leave the Enable Semantic Generation and Include Child Hierarchy checkboxes selected
and press Submit.
- You see that the Contract [ast_contract] table has been added to the Semantic Table Configurations table, and that semantic generation is enabled on its hierarchy.
- When you open the Entities list [sn_query_gen_entity_list], you see that the Contract table and all its children are represented by Entity records, and all the records are active.
- Looking in the Dimensions list [sn_query_gen_dimension_list], you see that many columns of the Contract table are represented, and you are confident that you have successfully added the table hierarchy to the
semantic layer.
Add a batch of tables to the semantic layer
Instead of adding individual tables or database views to the semantic layer, you can select multiple ones from a list and enable Query Generation for them together.
Before you begin
Role required: admin, now_assist_explorer_admin, sn_query_gen.admin