Hi,So are you saying in on one record in the attribute table there is actually 2 records? As in a carriage return after every 2nd name? Or just in the name field?If so, I'd export table to excel, sort out the carriage returns and import back to catalog as a feature.
You can also simplify your page names into a different column. So, your page name would be "Smith" (if that's all the Smiths), or "Smith1", or whatever. Then, display the text for "Smith, Ben Smith, Jerry" in a dynamic text box.
import os, inspect scriptName = inspect.getfile( inspect.currentframe() ) scriptFolder = os.path.split(scriptName)[0] for dirpath, dirnames, filenames in os.walk(scriptFolder): for filename in filenames: if filename.endswith(".pdf") and not filename.endswith("_geo.pdf"): oldfilename = os.path.join(dirpath, filename) newfilename = os.path.join(dirpath, os.path.splitext(filename)[0][1:] + "_geo.pdf") print "old: " + oldfilename print "\tnew: " + newfilename os.rename(oldfilename, newfilename)
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.