What is the use of 'callback.html': 'textarea' param in content while adding shapefile?

643
1
05-30-2017 06:44 AM
SumitZ
by
New Contributor III

We came across an issue where shape file cannot be uploaded for the first time if the user is logged in to the portal.

In console we can see an error "Cannot read property 'name' of undefined"

We are able to reproduce the issue with sample, when updated the code to login in to portal.

Attached is the sample code to reproduce the issue.

While analyzing the issue we found that if "callback.html" = 'textarea' parameter is not passed in the content then this issue is not reproducible.

So I would like to know the importance of this parameter and what will happen if we don't pass it.

0 Kudos
1 Reply
SumitZ
by
New Contributor III

Kelly Hutchins‌ any idea about this?

0 Kudos