Question: get dataset datatype in tool
0
matthias.desmet • 150 wrote:
Hi,
Is there any way to get the datatype of an input dataset in a tool xml? I can't seem to find it in any of the _MetadataElement_'s.
Thanks!
M
ADD COMMENT
• link
•
modified 2.8 years ago
by
jmchilton ♦ 1.1k
•
written
2.8 years ago by
matthias.desmet • 150
Would you please clarify your question?
If you trying to detect the datatype with the tool (or restrict which data will show up in a tool form's input menu by the datatype metadata attribute), there are many tools that do this. Find a tool that has the input filtered this way, examine the wrapper, then model your tool to be the same.