Discussions
Script functions in Dashboard Portlets
I'm trying to do dashboard portlet that will take a search criteria and execute a suitelet to do a highly custom search with many joins and return this list of results back to either the same or another portlet window on the dashboard and am running into a number of problems. Was hoping someone could help me understand what I can and can't do in this scenario.
1. When using an HTML portlet, can I not include script functions or call nlapi functions from within this html on the dashboard? I've tried (see example) and it returns an error "nlapiGetContext" is undefined and "mytestfunc" is undefined. However the alert works.