Roberts Custom WAB Widgets

295561
475
12-31-2014 11:28 AM
RobertScheitlin__GISP
MVP Emeritus
475 Replies
RobertScheitlin__GISP
MVP Emeritus

Rudie,

   When you went about the step of registering the WAB Dev app with your org account did you use https one of the redirects? If so this is the issue you need to remove that https redirect.

0 Kudos
RudieWatzig
Regular Contributor

I did not register my server as an https, only http.

Like I said, a fresh application downloaded from AGOL can be downloaded and deployed.  IT's just if I modify it with a custom widget, then it does this...  I'm sure I am doing something horribly wrong, and it's very nice of you to read my issues and reply to a noob on a Friday afternoon.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Rudie,

   I have help a couple of people with this https redirect issue. I am not sure if you are understanding what and where I am talking about.

The one time process of setting up WAB dev version with am App Id is detailed in the

Provide App ID for Web AppBuilder

section of this url Get started—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers

Step 4

In the Register dialog, for Redirect URI, add http://[yourmachinename]and  https://[yourmachinename] as redirect URIs. Be aware that URIs with HTTP and HTTPS protocols are distinguished as two different URIs. It is strongly recommended adding both of them to the URI list to avoid potential redirect issues.

If you follow those instruction and register the https redirect then you will find the issue you are talking about. So in the past when users had this issue the fix was to go back to the app registration in their AGOL org account and remove the https redirect.

0 Kudos
RudieWatzig
Regular Contributor

Hi Robert,

I understand this. My web app does not have an https redirect defined in the app registration.

0 Kudos
DanNorman
Deactivated User

Hi Robert, looks like you are a great asset to the community!

The simple question:

Is it possible to utilize your widgets without using WAB Developer Edition (WABDE) in my locally hosted application template? (such as downloaded JavaScript template park and recreation finder from arcgis.com)

The background and longer question:

I am hosting an application using Arcgis Server and IIS and I want to add your widgets. That being said I am hesitant to install and use WABDE because I understand that even though you are hosting map services locally, and hosting your template locally, you are required to create maps in AGOL which reference your map services,  and then you have to get WABDE to reference the AGOL maps!? Seems like an extra step to have to create the map in AGOL for WABDE to point to.

Thanks!

Don

0 Kudos
BarnabyRockwell
Deactivated User

Hello Donald,

You are NOT required to create maps in AGOL to host layers from your local ArcGIS Server in a WAB Dev app.  Use this widget,

LocalLayerWidget and AccessifizrWidget

which was developed in part by....guess who? 

Cheers,

Barnaby

0 Kudos
DanNorman
Deactivated User

Hi Barnaby,

Well, Wow! Thanks you very much for sharing that and keep up the good work developing! I will let you know how it goes.

Thanks so much,

Don

0 Kudos
BarnabyRockwell
Deactivated User

No problem.  By "guess who" I didn't mean me.    I meant Robert.  The King of widgets.

GeorgeKatsambas
Frequent Contributor

I can not get Google street view to work on my phone or ipad. It says its a pop up blocker even though I allowed pop ups, then I get an error 500 code internal server error, request rejected by http filter, contact the server administrator 12217. what needs to be changed on my server?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

George,

   I have noticed that the street view widget is not usable on mobile as well I am not sure I can fix this though as street view (the way I am implementing it) is just not mobile friendly.