Hi all,
Using ArcGIS Pro 2.9.5, I'm trying to create a dynamic text box that displays an attribute from a selected feature. For instance, in a feature layer called "parcels", I would like for the text box to display a parcel ID number for that single selected feature. If I make a new selection, that text box would update to the newly selected feature. So far, I can only arrange the dynamic text by visible records, which returns the selected one as well as surrounding parcel ID numbers, which is not ideal for my goal. I've tried different SQL queries to no avail. Any insight will be greatly appreciated. Thanks.
-Danny
Would a custom pop-up achieve what you're looking for? I'm wondering why the value needs to be displayed in a dynamic text box. If you are exporting a set of maps and want to show the attribute for a specific parcel in each map I would suggest looking into map series and using dynamic text in that context.
Thank you for the response. I'm trying to create a custom print template to use in a Portal Web App. The print template will ideally use the parcel ID or IDs that are selected in an attribute table as the map Title. This title would change dynamically as search results or users click on a new parcel. Being we have thousands of parcels, a map series would not be efficient unless there is a workaround.
Hi Danny,
Did you ever find a solution to this? I've been wanting to set up something similar in a Web App as well, but have had no luck so far.
Thank you!
Hi @Ferreira , I did not resolve this. I attempted dynamic expressions, attribute rules, and even Definition queries from the Map Properties. Outside of a Map Series, I cannot think of a solution. If you are able to resolve, please let me know.
Thanks, Danny
Hi Danny,
I've been banging my head for a while on how to achieve this, but no luck so far. I believe we're likely trying to achieve the exact same thing here. Possibly even with the same kind of data. Just out of curiosity, would you ever have more than one parcel selected at once?
I may have found a potential solution. Although, I haven't tested it yet and I'm not fully sure if this would be easy to achieve if you're having various parcels selected at once.
This would bring us back to using the content of a pop-up, as previously suggested, instead of struggling with dynamic text. Here's the example: Solved: Printing Popup Contents - Esri Community
The pop-up would work as the box itself, and the dynamic text would be the pop-up content. It'd change automatically as you either manually select a feature or select it by querying it through a search. As far as the title of your exported map being populated by the ID from a selected parcel, I'm not fully sure. Though there must be a way!
Like I said, I haven't tested it yet, but the discussion in the topic apparently lines up with what I'd like to achieve. I am not versed in PY at all unfortunately. Therefore, I'll likely have a learning curve to overcome here.
Let me know if this is what you're looking for, or if I can help with anything. It's always great to share ideas/findings.
@Ferreira Interesting approach. One downfall is selecting multiple parcels...but there could be a way around this. I'll take a look and be sure to respond with any success. Thanks again.
Good afternoon all,
Has there been any success in solving this mystery? I have created a layout for my analysts to use to print before and after maps of parcel adjustments and I was trying to find a way to display the Parcel ID or a portion of on the layout based on selecting the parcel be mapped (sometimes there are multiple parcels). I am running on ArcGIS Pro 3.3.2 and I have not had any success in making this happen. I have thought about a map series but with over 300K parcels, a map series does not seem very efficient. I have try to make adjustments to the dynamic text/table, but no luck. Like @Ferreira Python is not my strong suit.
Thanks in advance for any help or suggestions anyone has to offer.
Dan
Hi Dan,
I revisited this issue and have not been able to resolve. The answer lies I believe in the SQL query field, but I cannot get any expressions to work. Hopefully some day ESRI provides a Use Selected Features option, or something of that nature to allow this capability. If I find anything in the future or resolve, I'll definitely provide that feedback here. Thanks and good luck!
Danny