

- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Customize Column Headers in Database View Results
So maybe you had to create a database view or you had to generate some reporting from a database view that was created by someone else. Regardless of the situation, we all have been in a situation where perhaps the data being displayed could be better represented. Column headers are an important factor in understanding what you are looking at. If you have ever wanted to change and make a column header more descriptive, then this is the Blog for you. In this blog, we are going to show you how you can create Labels(column header), build Relationships to present a Related List on a form, and update a database view with better column headers in the results. | |
We have all seen something like this below and then a conversation like below, follows: "What is String value, why are there three of them? Could you change the column header to be more descriptive, easier to understand what we are looking at?" There are plenty of examples that we can think of where we needed to change the column header to something that either looked better or made more sense. | |
| |
How do you do it?
The secret to relabeling the fields in a database view is to take advantage of the Field Label functionality. We can create a Field Label directly against the Documentation [sys_documentation] table and we can create a relationship between the Database View [sys_db_view] table and the Field Label [sys_documentation] table, utilizing the Relationship functionality.
| |
Label creation on the Documentation Table | |
Follow the directions below to create a Label on the Documentation [sys_documentation] table, below is a video showing the steps. **Understand, you may not have the same database view set up, but these steps will work with your database view.** | |
| |
Field Label Relationship creation | |
Relationships let us add related lists even if the tables do not have a direct reference. Follow the steps below to create a Field Label Relationship, below is a video showing the steps. | |
| |
References: | |
Now that we have created a Documentation label and also created a Relationship that will give us a Related List on our database form, let's go to our database view and see what has happened.
Notice that we have a new tab called Field Labels. We should also see the Label that we created earlier directly on the Documentation table, already there. | |
Let's add a couple more Field Labels to our Database view. Follow the steps below and you can also see them in the video provided. | |
Go into your Database view and click on the Field Labels tab:
| |
Follow the above steps again and add one more Field Lable to the Database view:
| |
You can continue to add more columns to build the Database view results in a way that will best suit your Use Case. Remember to add Hints if you plan on condensing the Label. | |
If we click Try It, we will see the results of the Database view, however, we will not see the Field Labels that we just added. So, we need to Update Personalized List for the Database view and add in the columns that we need. You can add whatever columns are needed for your Use Case. The video below will show the steps to add the columns. | |
Now that you have the Database view the way you need it, you can begin to build Performance Analytics or Reporting off of it. | |
References: | |
Database Views: |
Documentation/Relationship/Related Lists: |
Conclusion: When using a Database view, utilize the tools within the Platform to enhance the user experience. Create column labels that drive understanding of what is being presented. Labels can clearly define the data that is being presented. |
- 6,844 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.