Forum Discussion
Issue with Executing JavaScript through Workday on Mobile Devices
This is a tricky one...
I created a course in Storyline where users respond to various reflection questions as they progress. At the conclusion of the course, they click on an image which has a trigger to execute JavaScript. This script gathers the text they entered into all of those variables, then adds that text over the top of a png image file of a nicely formatted response form, and then finally exports that form as a beautiful PDF. I use this functionality all the time when building courses in Storyline and it's always worked great.
This course is housed in Workday. The functionality has been tested and is working properly in Workday on laptop and desktop computers, and on mobile devices when using another LMS or a web-based systems, such as Articulate Review.
But when users access the course through Workday on a mobile device, and click the link in the course to export their PDF, the functionality is not working. It opens a blank page and no PDF is created. I can provide the full JavaScript if needed, but the command at issue is: var doc = new jsPDF({}).
Does anyone have experience or a work-around for getting JavaScript to function properly in Workday on a mobile device? Or a different but working way to achieve the same result- exporting user inputs onto a downloadable PDF?
1 Reply
- PhilMayorSuper Hero
What error are you getting in the console?