Skip to main content
Jul 19, 2023 2:21 PM UTC
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?

jbaileyAnswer
Jul 19, 2023 3:22 PM UTC

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

jbaileyAnswer
Jul 19, 2023 3:22 PM UTC

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)

 

Jul 20, 2023 11:40 AM UTC

Found the solution to the lightbox here:

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

 

Jul 20, 2023 12:11 PM UTC

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