Hiding the field in customer schema Navtree | Community
Skip to main content
Level 2
December 9, 2024
Solved

Hiding the field in customer schema Navtree

  • December 9, 2024
  • 2 replies
  • 715 views

Hi Team,
There is a requirement to hide the attribute.

I have provided accessibleIf  to the customer table. It hides the fields in the database structure level.
but in the nav tree, it's displaying the attribute with 0 if it's an integer attribute and null if it's a string attribute.
also in the form I have provided, visible if so, it's hidden in the form.

but still showing in navtree 
FYI: I have added those attributes in the customer schema navtree. 

Can anyone have the solution for it.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Krishnanunni

@vanivi1 You may need to revise the navigation hierarchy. You need to remove (or commentout) the columns that you don't want to show in the navigation tree.

https://experienceleague.adobe.com/en/docs/campaign-classic/using/configuring-campaign-classic/navigation-hierarchy/configuration

2 replies

DavidKangni
Community Advisor
Community Advisor
December 9, 2024

Hi,

 

visibleIf : hides the fields from the metadata, hence they cannot be accessed within a schema view, or column selection, or an expression builder. But this does not hide any data, if the field name is manually entered in an expression the value will show up.
Example,
<attribute name="firstName" visibleIf="hasNamedRight('admin')"/>
In the above definition of visibleif, the non-admins cannot see firstName in Configure list. But if the operator enters @firstName, then the operator can see the firstName data.

 

accessibleIf : hides the data (replacing it with empty values) from resulting query. If visibleIf is empty, then it gets the same expression as accessibleIf .
Example,
<attribute name="firstName"  accessibleIf="hasNamedRight('admin')"/>
In the above definition of accessibleIf, the non-admins cannot see email in Configure list and also if the operator enters @firstName, then the operator CANNOT see the firstName data, It will be empty.

 

https://experienceleague.adobe.com/en/docs/campaign-classic/using/configuring-campaign-classic/editing-schemas/restricting-pii-view

 

Thanks,

David

David Kangni
VaniVi1Author
Level 2
December 10, 2024

Hi 
FYI: I have already provided accessibleIf   in the data schema but its displaying a value with 0 for all the records 

But  the requirement is to should not visible the hidden attribute in the Navtree .
the attribute itself should not show 

Eg:<attribute name="firstName"  accessibleIf="hasNamedRight('admin')"/>
The first name should not visible for other operators 

Krishnanunni
KrishnanunniAccepted solution
Level 4
December 11, 2024

@vanivi1 You may need to revise the navigation hierarchy. You need to remove (or commentout) the columns that you don't want to show in the navigation tree.

https://experienceleague.adobe.com/en/docs/campaign-classic/using/configuring-campaign-classic/navigation-hierarchy/configuration