Skip to main content
Solved

Metadata not showing all columns


Forum|alt.badge.img+17

I was under the impression that metadata would show all visible columns that are applied to the role. What am I missing here? Why are the invisible columns supplier_id and supplier_lookup shown but not all the visibile columns? 

 

 

Best answer by Erwin Ekkel

The problem was the cookies in insomnia. Once we removed these it worked. 

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+4

Hello Erwin,

First of all, this is not a metadata request, this is a data request, you’re retrieving the data of the supplier subject. Columns can be missing in the response for two reasons:

  • They are unauthorized
  • Their value is null. Indicium only returns null values if you add an Accept header with the value include_null_values=true.

I hope this clarifies things.


Forum|alt.badge.img+17
  • Author
  • Moderator
  • 761 replies
  • October 19, 2022

@Vincent Doppenberg I understand the rules regarding authorization and null values. But what condition is there regarding hidden columns? The customer is also seeing hidden columns. When I test this the hidden columns are not showing up in postman. 


Forum|alt.badge.img+4

Hello Erwin,

Hidden columns are returned because the GUI depends on them in some way. For instance, if the Universal GUI has to apply a conditional layout based on the value of a hidden column, then it is necessary to know the value of this column. This is precisely the difference between Hidden and Unauthorized. Every column that is marked as Hidden in the SF will automatically be set to Unauthorized, unless the GUI has some need for them.

You can see why a Hidden column was not made Unauthorized by going to Roles → Tables → Columns in the SF and running the question mark task on the column.
 

Also, please refer to the following documentation on this topic.
https://docs.thinkwisesoftware.com/docs/sf/roles#hidden-read-only-full-rights-or-unauthorized


Forum|alt.badge.img+17
  • Author
  • Moderator
  • 761 replies
  • Answer
  • October 20, 2022

The problem was the cookies in insomnia. Once we removed these it worked. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings