Hi,
That is quite a big requirement you have there!
I would:
1. Create an HTML/Javascript webresource using www.sparklexrm.com
2. Update an entity record with the desired parameters when the pdf is requested
3. Create a plugin that is registered to be called when the javascript changes the pdf request attributes
4. Create the pdf in the plugin and attach as an annotation/note
5. Provide a link to the note attachment via Html/Javascript
6. Use the Ribbon Workbench to add the Ribbon button that calls a custom javascript function.
hth,
Scott
Scott Durow
Blog www.develop1.net
Follow Me
Rockstar365
If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"