AnsweredAssumed Answered

Need to insert wildcard for file extension in use with Hyperlink Tool

Question asked by abedowner on May 18, 2018

My group has documents on Sharepoint that we would like to access using the Hyperlink tool. Under Layer Properties > Display > Hyperlinks > Script > Edit... I currently have the following code:


....import webbrowser

....def OpenLink ( [DETAILNUMBER] ):

......path = [DETAILNUMBER] 




This works for any file that is a .pdf. However we have some files (legacy) that are in .tif format. Is there a way to use a wildcard for the file extension? 


ArcGIS 10.3.1