Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
There are no screenshots attached to your message.
Try below on a test server before touching any prod :
@RBEntry("User is not a member of any valid license groups. Access is denied. You do not have a Windchill license assigned to your account. Contact your administrator for further assistance.")
@RBComment("Message stating that Failed to login because user is not member of any active license group")
public static final String INVALID_USER_LOGIN_FOR_ACTIVE_LICENSE_GROUP = "INVALID_USER_LOGIN_FOR_ACTIVE_LICENSE_GROUP";
That will change the error message you highlighted which seems very clear that you do not have a valid license. Are you also asking to change the rest of that page?
Yes. I am.
I want to remove all those details which are showing in the landing page.
My main request is that to change remove all the technical details and keep the page simple with only the content I need.
Hello Fedel,
Thanks a lot for the detailed message.
I want the page to display only the message stating that the user doesn't have a license and therefore cannot log in. All other details should be removed. Does the change you suggested help achieve that as well?
I have highlighted the contents that I need to hide from the error page.
Akhil
I believe the page is covered by <codebase>/wtcore/error.jsp
In the <codebase>/WEB-INF/web.xml there is a section for error pages based on the error code. 500 is not defined but all appear to use the same jsp page. I would tinker here but follow @Fadel recommendations.
I have updated as per Fedal's suggestion. It updated the message as I need.
But my requirement was to remove all other details and keep only the message.
Akhil
You have to customize codebase/wtcore/error.jsp
@Fadel I have updated the error.jsp to show the exception message as we need.
logic:
Result:
But my request is to understand if we have any possibility to show only the message to the users instead of all other results.
Can we customize the page itself only for the license exception errors?
in the jsp there is a html table keep only last rows :
Makes sense now.
And the changes we are making in this table will create issues with other error warning as well? or only for the license exception cases?
Because I notice this is a common template for all sorts of errors.
The jsp is unique but the error message depends on the context :
Hello @AS_10714952,
It looks like you have some responses from our community experts. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.
Thanks,
Vivek N.
Community Moderation Team.