With Geocortex Printing technology, your printing requirements no longer need to be a hassle. With a few simple steps you can be printing high-resolution, rich-quality data sets in either your Geocortex viewer framework or Esri’s Web AppBuilder for ArcGIS®.
Geocortex Printing makes it easy to configure titles, notes, logos, and other parameters in your print templates to meet your unique needs.
We’ll explore this further in today’s Geocortex Tech Tip, where we will examine how to add a parameter to a print template.
Video Transcript
“Hi, I’m Ken. Today I’m going to show you how to input parameters when printing using Geocortex Printing. Let’s get started!
Firstly, what we’re going to do is we’re going to choose a standard 8.5×11” template. Here, we can see that there’s actually already a couple of parameters to find on the print template. You can see that we’ve got “Title” and “Notes” here. At the top here, you can see ‘Parameters.Title’ in this caption, and down here (it may be hard to see) ‘Parameters.Notes’ down there. These are ones where you can see that the parameters are linked to values in the user interface.
I’ll just quickly show you how that works before we add another one.
So, I’ve saved my print template. Now, I will open Geocortex Web. I’m going to add my print template to this map, and use ‘Demo Print.’ When I choose ‘Print’ over here, we can see ‘Demo Print.’ So, we have Title and Notes. I can change this to ‘Test Map Title’ and ‘Some important notes.’ Now the print is finished, and I can click here to download the PDF. You can see there’s our ‘Test Map Title’, and down here ‘Some important notes’. So, that’s the standard parameters that you get right off the bat with your free templates.
Let’s take a look at how we would add a different one to that. If I go back in here, I can choose the print and under ‘Data,’ we have ‘Parameters,’ and here, we have ‘Parameter1.’ I’m just going to leave the default name to ‘parameter1’ and its type ‘String’. If you want to, you can put in a default value here – I’m just going to leave it blank. I’m now going to go up the Field List, I can add ‘parameter1’ into the map, but first I’m going to add a label to show that on it.
I’m just going to put this down here. I’ll drag ‘parameter1’ onto that label. You’ll see now that I’ve got this icon and it says ‘Parameters.parameter1’. I’ll make it a bit bigger so you can see that. I’m going to style this slightly – I’m going to get rid of the border and I want to set the foreground color to red to make it nice and obvious.
‘Parameter1’ has now been added. I will save this, and I’ll jump back over to Web here. I can launch the development app now that I’ve saved it. So now that the map is loaded, I can click ‘Print’ – there is ‘Demo Print’ that I’ve added here, and you can see that there is ‘parameter1.’
I added a value for ‘parameter1’ and run the print. Now that the print is finished, I can click here to take a look. There we have our wonderful ‘Hello World’ in the footer of our report.
There we go. That’s how we add a parameter to a print template. Hope that’s been useful.
Thank you for your time!”
Want to learn more about Geocortex Printing or see it in action? Click the button below!