I need to select a SDE PATH based on user selection on Python toolbox at ArcGIS Pro 2.7.1 and use this path
at the code for setting like
fc = 'Zone'
SDEDir = inputPath
arcpy.management.CalculateField(r"F:\\Pro\\AreaProject\\SEV_SDE.sde\\" + fc,
"PROJECTT",
....
"PYTHON")
so the final code looks like
fc = 'Zone'
SDEDir = inputPath
arcpy.management.CalculateField(SDEDir + fc,
"PROJECTT",
....
"PYTHON")
Can you please let me know what data type I can use to grab the selected SDE Path? I already used File and Database Connection but they are not giving me the PATH