fgpv-vpgf / fgpa-apgf

Authoring tool for FGP viewer
Other
7 stars 14 forks source link

Download not working from preview #571

Closed jolevesq closed 3 years ago

jolevesq commented 3 years ago

rv-main.js:771 ReferenceError: RV is not defined at m.d.saveImage (rv-main.js:1051) at fn (eval at compile (rv-main.js:771), :4:171) at i (rv-main.js:771) at u.$eval (rv-main.js:771) at u.$apply (rv-main.js:771) at HTMLButtonElement. (rv-main.js:771) at HTMLButtonElement.dispatch (rv-main.js:202) at HTMLButtonElement.b.handle (rv-main.js:202)

Seems we miss a reference to the legacy api

jolevesq commented 3 years ago

Solve as part of #556. Needed to add reference to legacy api. Also add text to specify we need to remove ESRI print task from export url.

jolevesq commented 3 years ago

Works only once in a while. Tried from deploy on Git with the same result. Will deploy on our cloud before deciding what we are doing.

jolevesq commented 3 years ago

Try deploy on Cloud and works even with ESRI Print task. We still continue to put print url not read only so easier to modify from authoring tool.