How-to guide on adding selected parcel information to the Print Service for a WAB application. Thanks Robert
Solved! Go to Solution.
Robert, do you have it working with a popup (not a search result)?
I personally do not but one of the blog I linked to earlier does.
Jeff,
Did you end up finding how to point the lyr.name portion below to look for a popup instead of the search result? I got it to work based on Robert Scheitlin, GISP modifications to the Print.js but i am now looking to get it to work for a popup.
// See if there is a parcel search layer added to the map
var plyr;
array.some(this.map.graphicsLayerIds, lang.hitch(this, function (layerId) {
var lyr = this.map.getLayer(layerId);
if(lyr.name === "Search Results: Account #"){
plyr = lyr;
return true;
I finally found the post and portion of code that will do this. Here is the link for anyone else that is looking to do this as well.
While I did finally get this to work in 2.4 I am now having trouble getting it to work in 2.6 seems like there is much more code in the Print.js now. Have you deployed it to 2.6 yet?
Nope my main site is still on 2.4.
Hi,
I have ArcGIS 10.5 version of ArcGIS and 2.8 version of WAB.
I have followed all the steps below but still, I can't find my custom text element option in the advanced button of the print widget. This seems to be very annoying. Can you please help me with this.
Printing Popups from Web Application
Any help will be appreciated.
What version of ArcGIS Server are you using?
ArcGIS Server 10.5. Based on your comments on many threads, I could found out the main cause. It was because of some text in the custom text element which it was not able to read, I don't know why, but the moment I removed them it started working.
Thanks, Robert.