How to use Geocortex Workflow 5 to populate the Attribute Table in Web AppBuilder for ArcGIS [Geocortex Tech Tip] - Geocortex

How to use Geocortex Workflow 5 to populate the Attribute Table in Web AppBuilder for ArcGIS [Geocortex Tech Tip]

Patrick Fingler
Patrick Fingler
Technical Marketing Specialist
December 14, 2018

How to use Geocortex Workflow 5 to populate the Attribute Table in Web AppBuilder for ArcGIS [Geocortex Tech Tip]

One of the things we set out to accomplish with Geocortex Workflow 5 was to dramatically boost efficiency and reduce complexities, ultimately increasing the value of your GIS applications.

In today’s Geocortex Tech Tip, we take a look at how Geocortex Workflow 5 can interact with the Attribute Table widget inside Web AppBuilder for ArcGIS. Using fire hydrant data as an example, you’ll discover how Geocortex Workflow 5 can be used to populate this Attribute Table, simplifying the experience of viewing and comparing your layer data.

Watch on YouTube.

Video Transcript

“Hi everyone, my name is Patrick Fingler. 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 AppBuilder using Geocortex Workflow 5.

Let’s take a look!

Okay so in this Tech Tip video, I’m going to going to show you how you can populate the Attribute Table within Web AppBuilder using Geocortex Workflow 5. Here you can see I’ve got a web map displaying within Web AppBuilder that’s got some hydrants, it has some service requests, a couple of tax parcels, and often you’ll want to have a workflow that presents the user with a form that allows them to search for a layer on the map and then send that information to the attribute table within Web AppBuilder.

In this example I’ve already built a workflow to accomplish this. 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 a fire hydrant. They’ve got two options; they can search for a hydrant by just entering the ID of that particular hydrant, or they can search for hydrants on the map.

So in this example, 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 (well, 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 5 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, and this example again panning to that hydrant and displaying the attributes.

So let’s see how this works in the back end within workflow designer. This is the workflow that I’ve developed that’s being run within Web AppBuilder, and I’ve deployed to Web AppBuilder and here you can see we’ve got our initial form here that’s just presenting the user with the two options to either search by ID, or search by selection. Then within here, I’m saying if the user clicked submit within that form, we’re then going to query for those hydrants.

We’ll then switch depending on if the user is selecting them via the geometry, or if they’re selecting them by the ID. In this example what I’ve done is actually dynamically generated the hydrant layer URL and I’ll show you how to do that. Then I’m running a query based on the geometry that we selected. Then I’m saying if we got some results – if there’s more than one hydrant that we’ve selected – we’re then going to show those results within Web AppBuilder’s Attribute Table. 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 within Web AppBuilder, 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 I’ll show you how to do that – it’s really useful if you’re building workflows within Web AppBuilder.

Last but not least, I’m then getting the extent of those features, I’m using this activity, and then I’m setting the map extent to the extent of those features and then I’m expanding it by three. It’s zooming out a little bit, and then we’re just displaying our final form asking if they want to return to the start, generate a report or exit.

Now I mentioned being able to get the hydrant layer so you can dynamically get the URL, the ID, and the layer name. In order to do this you can use the ‘Get Layer’ activity within workflow 5 and it accepts a layer ID.

For Web App Builder, this layer ID is the name of 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 name of that. So I’ve selected that in here.

Once I do that, you’ll see I’m getting the layer and these are all of the properties for the layer, so I’m able to retrieve the layer ID. 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 we can see here.

That’s essentially how you can populate the Attribute Table!

Now I also was clearing the Attribute Table as well. 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 I’ve selected them. If I click ‘Return to Start,’ I’m then clearing my selection, and if I wanted to generate that final report we can do that by searching for a facility ID and running a report on that. So again that’s how you use these show results activity within Workflow 5 to populate the Attribute Table within Web AppBuilder.

Thanks for watching!”

Curious to try Geocortex Workflow 5? Check out our Discovery Center and see everything it has to offer!

Discover Geocortex Workflow 5


Categories:
Archive
Open: 2019
2019
June 14, 2019

Customer Spotlight: Geocortex Workflow

May 17, 2019

Important Notice - Outage Issues & New Support Cases

May 17, 2019

How to build a summary report with aggregations of feature data [Geocortex Tech Tip]

May 16, 2019

Technology Q&A: Geocortex Mobile

May 10, 2019

How to create print templates for Web AppBuilder for ArcGIS®[Geocortex Tech Tip]

May 8, 2019

Dive into Geocortex Printing [Webinar]

May 3, 2019

Using Geocortex Workflow and Geocortex Reporting to produce a multi-layer report [Geocortex Tech Tip]

May 1, 2019

Market-Leading GIS Software and Services Companies Join to Form VertiGIS

May 1, 2019

Introducing VertiGIS

April 18, 2019

Integrating Workflows into Geocortex Mobile [Geocortex Tech Tip]

April 17, 2019

Customer Spotlight: Geocortex Reporting

April 12, 2019

Using Geocortex Go to preview app configurations [Geocortex Tech Tip]

April 10, 2019

How to Address Complex Form Navigation Using Geocortex Workflow

April 5, 2019

Building native, offline IOS, Android and Windows apps with Geocortex Mobile Viewer [Geocortex Tech Tip]

April 3, 2019

Streamlining mobile operations with Geocortex Mobile Viewer [Webinar]

March 29, 2019

A better way to run geoprocessing tasks in Web AppBuilder for ArcGIS [Geocortex Tech Tip]

March 28, 2019

Extend the reach and capabilities of your applications with integrations [eBook]

March 22, 2019

Displaying data from SQL Database when you select features [Geocortex Tech Tip]

March 20, 2019

How Geocortex users are enriching the communities they serve

March 15, 2019

How to Configure a Geocortex Essentials layer report with Geocortex Reporting 5 [Geocortex Tech Tip]

March 14, 2019

Region of Waterloo: How GIS & Geocortex technology helped meet local Source Protection Plan requirements

March 6, 2019

Integrating Business Intelligence and Data Sources with Geocortex Essentials [Webinar]

March 1, 2019

How to quickly add attachments to new features when editing [Geocortex Tech Tip]

February 22, 2019

Generating a report with sub reports from external data sources [Geocortex Tech Tip]

February 20, 2019

Geocortex Essentials 4.11: Saving Time & Increasing Efficiency

February 15, 2019

Accessing Samples and Building your First Workflow [Geocortex Tech Tip]

February 12, 2019

Open Beta of Geocortex Printing 5 Has Begun

February 8, 2019

Different Ways of Creating Selections of Features in Geocortex Viewer for HTML 5 [Geocortex Tech Tip]

February 6, 2019

4 Best Practices to Follow When Using Geocortex Workflow 5

February 1, 2019

Creating a Report that Displays a Screenshot of the Map [Geocortex Tech Tip]

January 28, 2019

Diving Into Geocortex Reporting 5 [Geocortex Tech Tip]

January 24, 2019

How Geocortex is Advancing Water Management Solutions

January 16, 2019

Creating Custom User Experiences with Geocortex Workflow 5 [Webinar]

January 11, 2019

Showing the search results using the item picker in Geocortex Workflow 5 [Geocortex Tech Tip]

January 9, 2019

City of Troy: Using GIS and asset management technologies to manage legislative requirements

January 4, 2019

Using scripting to put attachments in reports in Geocortex Reporting 5 [Geocortex Tech Tip]

Open: 2018
2018
December 21, 2018

Integrating Pictometry, Bing and other 3rd party maps within your Geocortex applications

December 19, 2018

Recapping the Texas Geocortex Regional User Group

December 14, 2018

How to use Geocortex Workflow 5 to populate the Attribute Table in Web AppBuilder for ArcGIS [Geocortex Tech Tip]

December 12, 2018

Finding yourself: Using geolocation in mobile and web applications [Webinar]

December 7, 2018

Enabling real-time user-to-user map collaboration within Geocortex Essentials

December 5, 2018

Reflecting on 2018

November 30, 2018

Creating mailing labels with reports with Geocortex Reporting 5 [Geocortex Tech Tip]

November 29, 2018

Alberta Energy Regulator: Supporting safe and responsible energy resource operations

November 26, 2018

Important update for ArcGIS and Transport Layer Security (TLS) Protocol Support!

November 23, 2018

Using fine-grained security to control access to layers, features, attributes and application functionality [Geocortex Tech Tip]

November 21, 2018

Enhancing Web AppBuilder for ArcGIS® with Geocortex Reporting [Webinar]

November 16, 2018

Using Geocortex Workflow 5 to automatically display a form for editing layer attributes [Geocortex Tech Tip]

November 15, 2018

Geocortex Achieves Esri’s “Release Ready Specialty” Designation

November 14, 2018

Celebrating GIS Day with York Regional Police: How GIS Data Has Mitigated Risk & Increased Efficiency in Crime Prevention

November 9, 2018

How to access a SQL database from a workflow using Geocortex Workflow 5 [Geocortex Tech Tip]

November 2, 2018

How to send an email from a workflow using Geocortex Workflow 5 [Geocortex Tech Tip]

October 26, 2018

How to add and configure charts inside reports with Geocortex Reporting 5 [Geocortex Tech Tip]

October 24, 2018

Geocortex Water Webinar Series

October 19, 2018

Integrating Geocortex Essentials with ArcGIS Online and ArcGIS Enterprise portal [Geocortex Tech Tip]

October 17, 2018

Cross-Platform Development with Xamarin [Webinar]

October 12, 2018

City of Fort Collins: Dynamic flood maps for public awareness, and flood insurance rate saving

October 2, 2018

Technology Q&A: Geocortex Workflow 5 “Behind the Firewall”

June 27, 2018

Geocortex Essentials 4.10 is here!

June 12, 2018

Geocortex and the GDPR

June 6, 2018

Geocortex at the 2018 Esri User Conference

May 15, 2018

Technology Q&A: The evolution of Geocortex and Web AppBuilder for ArcGIS

April 25, 2018

How to manage data collected from Geocortex Workflow 5 forms [Geocortex Tech Tip]

April 18, 2018

Delivering accessible mapping applications for everyone [Geocortex Tech Tip]

April 11, 2018

How to search for data in a non-spatial database [Geocortex Tech Tip]

April 5, 2018

Configuring Geocortex Analytics to monitor a new Portal for ArcGIS instance [Geocortex Tech Tip]

March 27, 2018

Getting started with forms in Geocortex Workflow 5 [Geocortex Tech Tip]

March 21, 2018

Using Geocortex Workflow with Web AppBuilder for ArcGIS [Geocortex Tech Tip]

March 15, 2018

Understanding tool usage in your GIS applications [Geocortex Tech Tip]

March 7, 2018

Running Geocortex Essentials workflows from an identify operation [Geocortex Tech Tip]

March 2, 2018

GIS Health Assessment: A new way to think about your system

February 28, 2018

Using the in-app help system in Geocortex Workflow 5 [Geocortex Tech Tip]

February 21, 2018

How to configure a personalized dashboard in Geocortex Analytics [Geocortex Tech Tip]

January 25, 2018

GIS is shifting to SaaS, and it’s a win for everyone


Categories

Popular Tags
Accessibility Active Operating Picture ArcGIS ArcGIS Online Customer Story Data Models Energy Esri Geocortex Geocortex 5-Series Geocortex Analytics Geocortex Essentials geocortex integrations geocortex mobile Geocortex Mobile Viewer geocortex printing Geocortex Printing 5 Geocortex Reporting Geocortex Reporting 5 geocortex tech tip Geocortex Tech Tips Geocortex Viewer for HTML5 Geocortex Web Viewer Geocortex Workflow Geocortex Workflow 5 GIS GIS Day GIS Health gis integrations Integrations mobile gis Oil & Gas Pipelines Portal for ArcGIS press release SaaS Tech Tip Tech Tips Transportation vertigis Water Industry Web AppBuilder Web GIS Xamarin

Contributors