Chris Dew performs some magic in Tech Tuesday: How to Open a File and Pass in Parameters from SmartConnect Tasks.
The eOne Dynamics GP and CRM Blog: Tech Tuesday: How to Open a File and Pass in Parameters from SmartConnect Tasks
Microsoft & the GP EcosystemDevelopment & IntegrationTips & Hidden Features
Archived post from 2014. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.