Who is using WAB for Developers v2.2 to Edit Related Records?

1732
15
Jump to solution
11-09-2016 01:58 PM
RyanNosek
Occasional Contributor II

Is anyone successfully using WAB for developers to edit related records? If so, please respond to this post!

The reason I ask - I just went through my WAB 2.2 updates from 2.1, and not only will the Edit widget not work with my related tables ( 1 to many, etc.), but my app's don't even recognize any relationships that are set up (as in not even for viewing related records). 

To make sure I'm not crazy (which, a day after the election i might be..), I tested both of these same web maps with the hosted version of Web AppBuilder via ArcGIS Online - and editing related records worked flawlessly (which goes without saying that it recognized my relationship classes/tables as well). 

Really hoping i'm making a silly, minor mistake.  

Thanks in advance for your responses.

wab 2.2‌ webapp builder developer edition‌

Web AppBuilder for ArcGIS

Edited to include graphic.

missing edit relate functionality in WAB2.2 for dev

0 Kudos
15 Replies
DerekLaw
Esri Esteemed Contributor

Hi Ryan,

There are no special considerations to get this functionality working in Web AppBuilder Developer Edition as far as I know. And there have not been any technical issues reported on this functionality by other users.

Please open an incident with Esri Tech Support so they can investigate further and possibly get some repro steps.

Hope this helps,

0 Kudos
RyanNosek
Occasional Contributor II

Thanks for the response Derek. 

I think I've come across my issue - it seems to be related to the https connection that my WAB for Developers site is opening on by default.  

For any exported apps (and apps still within the WAB for dev site prior to exporting), if it trys to connect on https, related tables and editing related tables do not work. If it connects on http, everything works as expected. 

I haven't looked into it extensively yet, but is there a way to force WAB for Dev site to connect over http instead of https? 

Regardless, could this be a proxy related fix like Robert mentioned, even though the site works as expected over http?

Thanks for the help everyone!

-Ryan

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Ryan,

   WAB Dev forces https if you used an https url for your portal when you first started WAB Dev and it asked for your portal url. To fix this you delete the signininfo.json file from the server folder and restart WAB dev and when it asks for you portal url you give it a http address this time.

RyanNosek
Occasional Contributor II

Brilliant! That did it with the signin.json. Indeed my site was initially connecting https. Many thanks Robert for posting your suggested fix

0 Kudos
MichaelRobb
Occasional Contributor III

What is the relationship?  is this a 1:M (Feature to table) ?

Does the browser F12 show any errors when you open the edit window?

0 Kudos
RyanNosek
Occasional Contributor II

See my earlier reply to Robert about messages in the console - no errors are returned, just warnings.

It is a feature class to table, 1 to many relationship. 

0 Kudos