Skip to main content
Kofax

HTML attribute in form not showing in DS tree

Article # 3045872 - Page views: 23

Issue

HTML attribute in form not showing in DS tree

 

Cause

 

The root cause of the form data displaying issue is the JavaScript asyncronous interface, which is not supported by WebKit browser. 

 

Solution

We managed to retrieve form data with following workaround JavaScript replacements:

1\ From 'async function ' to 'function ' -- please note space character after function keyword

2\ From 'return await fetch(dataUri).then(res => res.blob());' to 'return fetch(dataUri).then(function(res) { res.blob() });'

3\ From 'var imageBlob = await dataUriToBlob(dataUri);' to 'var imageBlob = dataUriToBlob(dataUri);'

You can create this replacements from Configure Robot -> Basic -> Default Options: Configure...-> JavaScript Execution -> JavaScript changes -> + -> Text Formatting -> Replace Text.

Each replace must be done separately (+ -> Text Formatting -> Replace Text).

 

Level of Complexity 

Moderate

 

Applies to  

Product Version Build Environment Hardware
Robotic Process Automation 11.2 and other      

References

Add any references to other internal or external articles

 

 

Article # 3045872
  • Was this article helpful?