Issue
Signature properties pick the same signature despite the properties being different.
Symptoms and Impact
Signature controls display the same signature, despite having unique properties assigned to each of them.
Steps to reproduce
- Create a signature caption control ( For example, employee signature) in a section.
- Configure the same signature caption control in another section (the same employee signature).
- Create a new signature control (For example, manager signature) with a new property inside the same second section.
- Run the use case. Employee signature occupies the manager signature place as well.
Root Cause
The issue stemmed from both signature caption controls referencing the same empty properties as values on the clipboard. Since the properties are empty, both the signature fields receive the same signature.
Despite both the properties being different, their values display as empty. Therefore, the value is same for Employee and Manager properties.
Solution
Utilize the pyDefault data transform to address the issue. Save the data transform as pyDefault within your application rule set.
The steps in the data transform are as follows:
- Apply the data transform. Set the Target as pySetFieldDefaults.
- Set the value of the test1. to
- Set the value of the .manager property to test2.
By setting distinct default values for each property (For example, .employee and .manager), the data transform now successfully sets different values for each signature caption control. This resolves the issue by ensuring each signature field is populated with the correct signature.