#Prompt('Global Process ID Field (Required) : ',From(%GlobalData)),%ISADGlobalProcessID,Req - works
#Prompt('Global Process ID Field (Required) : ',Field),%ISADGlobalProcessID1,Req - ellipse button disabled
#!Prompt('Global Process ID Field (Required) : ',Field()),%ISADGlobalProcessID2,Req - Expected a statement, ',' expected, Expected a variable name
#Prompt('Global Process ID Field (Required) : ',Field(%GlobalData)),%ISADGlobalProcessID3,Req - ellipse button enabled - Need to specify a parent for this item first
#Prompt('Global Process ID Field (Required) : ',Field(%GlobalDataID)),%ISADGlobalProcessID4,Req - ellipse button enabled - Need to specify a parent for this item first
#Prompt('Global Process ID Field (Required) : ',From(%GlobalDataID)),%ISADGlobalProcessID5,Req - Drop down not showing anything
Should Field, Field(%GlobalData), Field(%GlobalDataID) and From(%GlobalDataID) work in a global extension template?
The templates have always been quirky, and I find that FIELD is one of the stranger features. Therefore, I’ll often use a #PREPARE section to load the options I want to see into a multi-valued symbol, then go FROM(%MySymbol). That gives me more control, and seems to work more predictably.
I feel like you can’t use FROM on a template-declared-variable. Only on a built-in variable.
But that may be an over-simplification, and I can’t recall exactly where I’ve used that.
I feel like though when I’ve got a template-declared variable I’ve used DROP not FROM.