cancel
Showing results for 
Search instead for 
Did you mean: 

Signature property sends corrupt data when field stays empty

Former Member
0 Kudos

Hi guys,

We have a problem with the signature field in our Agentry app.

When the Signature field is signed, the property sends the signature to the back-end like it should.

But when the Signature field is left empty, it sends corrupt data to the back-end.

Anybody got an idea of what the problem could be?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Adam,

it happens because while uploading the signature property we convert it into different format based on the SAP database needs. while converting if the data is blank as in your case the converted data might append zeros. which will make the file corrupted. So, while uploading you have to handle this appending zeros case.

Here is my question if your signature property is blank why do you want to send the data to database? you shouldn't.

This is an exceptional scenario which you have to handle either in Agentry or in Java.

Hope this makes you clear.

Thanks

Ajitesh

Former Member
0 Kudos

Hi Ajitesh,

Thanks for your answer, it's very helpful.

So I would have to stop the transaction from sending the signature to the backend?

I'm very new to agentry so I'll try to find out how to accomplish this.

Answers (0)