DojoRequest in Web app builder

1934
17
Jump to solution
12-11-2017 02:11 PM
VenkataSrikanth_Dasari
Occasional Contributor

I am requesting an image in the Dojo Request and it is appending ?wab_dv=2.6 in the url and failed to query in the custom widget..

Tags (1)
0 Kudos
17 Replies
RobertScheitlin__GISP
MVP Emeritus

Srikanth,

  You just need to educate the client that running WAB Dev is good for development purposes but when development is done the app needs to downloaded and deployed to web server for production and then proxy.js is no longer an issue and the proxy.ashx will be used just like you have.

0 Kudos
VenkataSrikanth_Dasari
Occasional Contributor

Robert,

Client Environment is up and running... we can't change in the current situation...End users are using the application..

Any workaround for the above query...

Cheers,

Srikanth Dasari

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

I don’t know of a way to resolve the access issue then. What is boils down to is the client is not using the environment as it is intended and you as the consultant/developer need to make them understand.

0 Kudos
JunshanLiu
Occasional Contributor III

There is http proxy config in app config, have you tried this?

https://developers.arcgis.com/web-appbuilder/api-reference/app-configuration.htm

Thanks,

Junshan Liu

Esri R&D Center Beijing

19th Floor, Phoenix Place Office Tower A, 5A Shuguang Xili

Chaoyang District | Beijing 100028 | China

T (86 10) 57302700

junshan_liu@esri.com<mailto:junshan_liu@esri.com> | esri.com

The Science of Where

Thriving in China, Empowering the World

发件人: srikanth dasari venkata

发送时间: Thursday, December 14, 2017 5:47 AM

收件人: Junshan Liu <junshan_liu@esri.com>

主题: Re: - Re: DojoRequest in Web app builder

GeoNet <https://community.esri.com/?et=watches.email.thread>

Re: DojoRequest in Web app builder

reply from srikanth dasari venkata<https://community.esri.com/people/sri_kanth0526?et=watches.email.thread> in Web AppBuilder for ArcGIS - View the full discussion<https://community.esri.com/message/736015-re-dojorequest-in-web-app-builder?commentID=736015&et=watches.email.thread#comment-736015>

0 Kudos
VenkataSrikanth_Dasari
Occasional Contributor

I will try and let you know and it seems it will work..

Hope for the best...

Thanks Robert and Junshan Liu for the help.

0 Kudos
JunshanLiu
Occasional Contributor III

I agree with you Robert. How about set the deployVersion = “” if your widget wants to disable this feature?

Thanks,

Junshan Liu

Esri R&D Center Beijing

19th Floor, Phoenix Place Office Tower A, 5A Shuguang Xili

Chaoyang District | Beijing 100028 | China

T (86 10) 57302700

junshan_liu@esri.com<mailto:junshan_liu@esri.com> | esri.com

The Science of Where

Thriving in China, Empowering the World

发件人: Robert Scheitlin, GISP

发送时间: Tuesday, December 12, 2017 7:53 PM

收件人: Junshan Liu <junshan_liu@esri.com>

主题: Re: - Re: DojoRequest in Web app builder

GeoNet <https://community.esri.com/?et=watches.email.thread>

Re: DojoRequest in Web app builder

reply from Robert Scheitlin, GISP<https://community.esri.com/people/rscheitlin?et=watches.email.thread> in Web AppBuilder for ArcGIS - View the full discussion<https://community.esri.com/message/735630-re-dojorequest-in-web-app-builder?commentID=735630&et=watches.email.thread#comment-735630>

0 Kudos
JunshanLiu
Occasional Contributor III

Can you modify this function appendDeployVersion in env.js?

0 Kudos
VenkataSrikanth_Dasari
Occasional Contributor

I am not in the client location since beginning and someone else setup the environment...

Cheers,

Srikanth Dasari

0 Kudos