User criteria diagnostics says CanView but catalog item not visible on portal

Nisar2
Mega Guru

Using the diagnostics tool, I found that a particular user is able to access a catalog item

Nisar2_0-1692337978877.png

 

However, when I go the services category on the portal, that particular catalog item is not being listed.

Nisar2_1-1692338105648.png

 

Checked the service potal code and found the following line:

while (itemRecord.next()) {
     var catalogItemJS = new sn_sc.CatItem(itemRecord.getUniqueValue());
     if (!catalogItemJS.canView())
         continue;
.
.
.
}

 

Is there a way to know what canView() function is checking behind the scenes? It surely must be different than what the user criteria diagnostic tool is checking as the item becomes hidden on the portal because of the canView() check.

2 REPLIES 2

Nawal
Mega Guru

Hi 

I have the same issue 😞

any update please?

thank you 

Sorry, no.