How to trigger a peoplecode event from a HTML Object?
I need to create a link in a pagelet that allows users to run peoplecode from a record.field. The peoplecode behind this record.field is currently in the fieldChange event. The peoplecode uses XML Publisher to generate a pdf file displaying the file to the user at the end if run from a button or hyperlink in page created in People Tools 8.54.
One of my approaches was to create the link by using javascript the same way a hyperlink triggers peoplecode in page. As follow, but I think I am missing the javascript files containing the submitAction_win0 function in the homepage where the pagelet resides.