Signature Pad
Comments
-
Hello,
1) I have a form with a few text boxes and one "Signature Pad". I would like to capture and store all the information into a database(including the signature), when a user submits the form.
Also I would like to show the same form with pre populated data (get values from database) including the signature pad field, in another step, when the user wants to edit the form.
Please let me know how to store/fetch the signature pad information in the database.
2) I tried to write the signature into pdf (already created pdf template) using "Set PDF Form Fields" and "Add Image To PDF" steps, but I couldnt convert "SignaturePadInfo" object to Image or other formats.Could you suggest whats the best approach to show/populate this signaturepadinfo in a PDF?
[i]edited by ruby on 8/8/2019[/i]
[i]edited by ruby on 8/8/2019[/i] -
Hi Ruby,
I have attached a Project which demonstrates how to achieve your first request. Please refer our Documentation on [url=https://documentation.decisions.com/docs/exporting-and-importing-overview]Importing[/url] for information on how to import the Project.
In this project, I have created a [url=https://documentation.decisions.com/docs/understanding-difference-between-defined-data-structures]data structure[/url] which would store the users information. You can find this structure in the Data folder.
In the CreateUserInformation folder, I have defined the process which would allow you to create a new user. The form takes in the users information and passes them into a Create step for the data structure we created earlier.
In the EditUserInformation folder, I have defined the process which would allow you to view or edit a users information. This process first displays a [url=https://documentation.decisions.com/docs/create-drop-list]drop-down[/url] containing all the users. This will allow you to select which users information youd like to review. We then use the selected users ID to get his information and display it on a Form. A user can update their information if theyd like to. This Form is then passed into a SelectiveUpdate step. The SelectiveUpdate step allows us to update a particular users info in the structure.
Please try this and let me know if you have any questions.
-
A SignaturePadInfo object can be used as an Image.
On your Image input, select the mapping as Build Data. This will generate additional inputs for the Image input and allow you to pass the Byte array from the SignaturePadInfo object into the Image Content.
[img]https://i.imgur.com/ps3s3UA.png[/img]
This will allow you to add the users signature in the PDF file.
-
Hello kshitij,
Thank you so much for the clarification with an example. Its worked and I can write the Image on the pdf .
I have another question, the "Add Image To PDF" creates a pdf file in the decision installed directory(C:Program FilesDecisionsDecisions Web HostHUI empFiles). I would like to show the pdf file(using Document Viewer or any other way) to the end user to download or print the pdf, once they submitted the application. So I created another form with Document Viewer, but its not worked. I am getting 500-Internal server error. I have attached the screenshots below. Please let me know how to fix this.
Also I am facing problem while importing the example. seems its a version compatibility(5.12 to 5.11) issue.
[i]edited by ruby on 8/9/2019[/i] -
Hello again,
Given the nature of your exact problem, I think it would be best if we handled this as a support ticket. Ive sent you a related email.
Bests,
Watson
-
Hi Ruby,
Glad to know it helped!
For the import issue, select one of the issues and click the Resolve button → choose the Ignore issue and import option → Click the Apply to similar button. The versions are close enough and you should be able to work the Project without any issues.
I see Watson helped you out with displaying the PDF. Let us know if we can assist you further.
[i]edited by kshitij@decisions.com on 8/12/2019[/i]
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions