Skip to main content
avillanueva
23-Emerald II
July 19, 2023
Solved

Where is the JSP page that builds the Windchill homepage?

I am looking to insert something that interacts with the lightbox (yellow banner) only on the homepage invocation. Normally, I can figure out where that is generated but does anyone know the main JSP for the user homepage?

jbailey
jbaileyAnswer
18-Opal
July 19, 2023

Maybe try here?

Copy  home customization action model from <Windchill>\codebase\config\actions\navigation-actinModels.xml to custom-actionModels.xml, and add the customization action defined in step 1 

(ref https://www.ptc.com/en/support/article/CS210123?source=search)

 

I decided it was easier to create my own banners and jsp behavior... (although I would be interested in adding interactive notices in my banners as well) 

 

jbailey_0-1689779424436.png

Guidance basically came from here : https://www.w3schools.com/howto/howto_js_alert.asp

 

The banner info is stored in banner.txt 

jbailey_1-1689779547701.png

Then I include a jsp file to control behavior (file in the same location as banner... begin_custom.jspf)

 

6 replies

jbailey
jbailey18-OpalAnswer
18-Opal
July 19, 2023

Maybe try here?

Copy  home customization action model from <Windchill>\codebase\config\actions\navigation-actinModels.xml to custom-actionModels.xml, and add the customization action defined in step 1 

(ref https://www.ptc.com/en/support/article/CS210123?source=search)

 

I decided it was easier to create my own banners and jsp behavior... (although I would be interested in adding interactive notices in my banners as well) 

 

jbailey_0-1689779424436.png

Guidance basically came from here : https://www.w3schools.com/howto/howto_js_alert.asp

 

The banner info is stored in banner.txt 

jbailey_1-1689779547701.png

Then I include a jsp file to control behavior (file in the same location as banner... begin_custom.jspf)

 

Translate
avillanueva
23-Emerald II
July 20, 2023

Found the solution to the lightbox here:

Windchill/app/#netmarkets/jsp/componentCatalog/inlineMessageComponent.jsp 

 

Translate
jbailey
18-Opal
July 20, 2023

Something you may want to consider before you go too far down this path... PTC is changing the banner functionality in WC 13. Pg 464ish describes some of the new methodology

 

https://www.ptc.com/support/-/media/support/refdocs/Windchill_PDMLink/13,-d-,0/WindchillCustomizationGuide_13_0_0_0.pdf?sc_lang=en&source=search

Translate