cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Translate the entire conversation x

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

avillanueva
22-Sapphire III

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

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. 

 

ACCEPTED SOLUTION

Accepted Solutions
avillanueva
22-Sapphire III
(To: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.

View solution in original post

3 REPLIES 3

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
22-Sapphire III
(To:joe_morton)

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
22-Sapphire III
(To: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.

Announcements

Top Tags