How to use Geocortex Workflow to populate the Attribute Table in Web AppBuilder for ArcGIS

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hi everyone my name is Patrick Tingler I work in our technical marketing department and in this video I'm going to show you how you can populate the attribute table within web app builder using geo cortex workflow 5 let's take a look [Music] okay so in this tech tip video I'm going to going to show you how you can populate the attribute table within web app builder using geo cortex workflow 5 so here you can see I've got a web app displaying within web app builder that's got some hydrants it has some service request tax parcels and often you know you'll want to have a workflow that presents the user with a form that allows them to search for you know a layer on the map and then send that information to the attribute table within web app builder so here's what I built this attribute table and in this example I've already built a workflow to accomplish this so it's a pretty simple workflow and essentially what it's doing is it's presenting the user with a form that is asking them to search for fire hydrants so they've got two options they can search for a hydrant by just entering in the ID of that particular hydrant or they can search for hydrants on the map so in this example I might want to be interested or I might be interested in these three particular hydrants and if I click next what we're doing is we're first selecting those hydrants what we're actually performing a query on those hydrants then we're sending the results of that query to the attribute table using the show results activity within workflow five and then we're actually panning the map to the extent of these features if I wanted to I could also search by a single facility ID three and this example I'm again panning to that hydrant and displaying the the attributes so let's see how this works in the backend with in workflow designer so this is the workflow that I've developed that's being run within web app builder and I've deployed two web app builder and you can see we've got our initial form here that's just presenting the user with the the two options to either search by ID or search by selection and then within here I'm saying if the user click to submit within that form we're then going to query for those hydrants so we'll then switch depending on if the user is selecting them via the geometry or if they're selecting them by the ID we'll perform two different queries so in this example when I've done is actually dynamically generated the hydrant layer URL and I'll show you how to do that and then I'm running a query just based on the geometry that we selected then I'm saying if we got some results if there's more than one hydrogen that we've selected we're then going to show those results within web app builders attribute table so this is the show results activity that you're going to want to use and here I'm passing in the features from my query now in order to actually get them to show up and be highlighted within the attribute table to within web app builder you have to pass in a layer ID as well as a layer name now again I'm dynamically getting these values from this hydrant layer and all I'll show you how to do that it's really useful if you're building workflows within web app builder last but not least I'm then getting the extent of those features using this activity and then I'm setting the map extent to the extent of those features and then I'm expanding it by 3 so it's zooming out a little bit and then we're just displaying your final form asking if they want to return to the start generate a report or exit now I mentioned being able to get the hydrent layer so you can dynamically get the URL the ID and the layer name now in order to do this you can use the get layer or activity within workflow five and it accepts a layer ID now for web app builder this layer ID is the name of the the layer within the web map itself so here I can see this is the web map that I'm using and this is the the name of that so I've selected that in here once I do that what it allows me to do is if I actually rerun this workflow in the console you'll see I'm getting the layer and these are all of the properties for the the the layer so I'm able to retrieve the layer ID so that would be layered layer ID well I can even get the layer name as well as the layer URL and if you're using the secured services you can also retrieve the token as well using this process so it's a really useful activity and that's essentially how you dynamically pass that those values into the show results activity as as we can see here now yeah that's that's essentially how you can populate the attribute table now I also was clearing the attribute table as well so in this example I'm still using the layer ID and layer name but I'm just passing in blank features so if we rerun this workflow and search by selection so let's select a couple of these and click Next we can see that selected them if I click return to start and then clearing my selection and if I wanted to generate that final report you can do that by searching for a facility ID and running a report on that so again that's how you use the show results activity within workflow 5 to populate the attribute table within web app builder ya thanks for watching [Music]
Info
Channel: Geocortex
Views: 827
Rating: 5 out of 5
Keywords: Geocortex, Geocortex Workflow 5, GIS, ArcGIS, Web Mapping
Id: aFdnnY4-OCk
Channel Id: undefined
Length: 6min 57sec (417 seconds)
Published: Fri Dec 14 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.