Capturing the actual Metastorm form
I'm sure this is simple but have been unable to track down a sensible method of actually capturing, im my case creating a file for later up-load to a Document Management Solution, the form actually completed by a metastorm user.
I have created various documents using mail merge etc. but there is a specific audit requirement to capture what an end-user has actually completed.
Any clues would be gratefully accepted.
Comments
-
Do you need a graphical representation? Perhaps you could store the business object state when the form is submitted?
0 -
Yes, we do need the graphical representation.
In effect it is evidence potentially required in court. Our customer needs to produce what some-one actually filled in, i.e. the form in this instance, rather than a report, which capturing the state of the business object would be, of the effect the input had on the businesss object.0 -
You could try scraping the html off the form with javascript on form submission and storing it in a process memo field.
setField('memScrapedHTML','',document.getElementsByTagName('html')[0].innerHTML);
memScrapedHTML is the name of a memo field on the form bound to a process variable off to the side where you can't see it. You'd probably want to scrub the javascript tags out of the scraped HTML before saving it to the database so your browser doesn't yell at you when you try to open it. There are libraries like HTMLAgilityPack that are great for this or you could do something as simple as replacing the start and end tags with tags instead.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 152 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories