Skip to main content
avillanueva
23-Emerald I
23-Emerald I
April 11, 2025
Solved

Multi-Level BOM with AML/AVL not appearing sometimes in Report list

  • April 11, 2025
  • 2 replies
  • 806 views

I found the article that explains why: 

https://www.ptc.com/en/support/article/CS242317?source=search

And sure enough, I have the "All Users" group in this context added as Guest. But I think this should be a bug or the "spec" is wrong. I am also a Product Manager in this area so the combined rights should allow me to see this report. What do you think? Force the issue with PTC or replace their filter to make the logic take into account a user being in both roles. 

avillanueva_0-1744396194541.png

Tell me I am wrong but I see no issue to make users Guest to allow all people to see content but then add them again as a member or other role to elevate their rights to allow create and update. 

 

Best answer by avillanueva

Ok, had some time to dive into this. I came across this article and had high hopes.

Users in Guest Roles unable to see AML/AVL Tab on Context in Windchill PDMLink 11.1 M010 

The roleaccessprefs.xml is where I expected to find this setting but alas, it does not work. Must be for something else. Looking at action details, I identified this validator as the source:  com.ptc.windchill.suma.jca.validator.PSBMultiLevelBOMActionValidator

Yep, this checks if the user is a guest and blocks it. 

wt.services/svc/default/com.ptc.core.ui.validation.UIComponentValidator/psbReportMultiLevelBOMWithAMLAVLGWT/null/0=com.ptc.windchill.suma.jca.validator.PSBMultiLevelBOMActionValidator/duplicate
wt.services/svc/default/com.ptc.core.ui.validation.UIComponentValidator/psbReportMultiLevelBOMWithAMLGWT/null/0=com.ptc.windchill.suma.jca.validator.PSBMultiLevelBOMActionValidator/duplicate

Easy enough to extend, override and replace. Actually, we should be able to change the Validator to the default in the service.properties and no code needed.

2 replies

joe_morton
18-Opal
18-Opal
April 14, 2025

When we first implemented Windchill, I didn't understand the Guest role, so we just didn't use it. Got to say, I don't regret that at all!

 

We have a separate "Read-Only" role that just gives basic read access without blocking anything. 

avillanueva
23-Emerald I
23-Emerald I
April 14, 2025

I am sure there is a setting to allow guests. I've run into things like this before. I will close out thread with that change when I get to it. 

avillanueva
23-Emerald I
avillanueva23-Emerald IAuthorAnswer
23-Emerald I
April 16, 2025

Ok, had some time to dive into this. I came across this article and had high hopes.

Users in Guest Roles unable to see AML/AVL Tab on Context in Windchill PDMLink 11.1 M010 

The roleaccessprefs.xml is where I expected to find this setting but alas, it does not work. Must be for something else. Looking at action details, I identified this validator as the source:  com.ptc.windchill.suma.jca.validator.PSBMultiLevelBOMActionValidator

Yep, this checks if the user is a guest and blocks it. 

wt.services/svc/default/com.ptc.core.ui.validation.UIComponentValidator/psbReportMultiLevelBOMWithAMLAVLGWT/null/0=com.ptc.windchill.suma.jca.validator.PSBMultiLevelBOMActionValidator/duplicate
wt.services/svc/default/com.ptc.core.ui.validation.UIComponentValidator/psbReportMultiLevelBOMWithAMLGWT/null/0=com.ptc.windchill.suma.jca.validator.PSBMultiLevelBOMActionValidator/duplicate

Easy enough to extend, override and replace. Actually, we should be able to change the Validator to the default in the service.properties and no code needed.