Skip to main content
1-Visitor
March 11, 2019
Solved

CLI command to identify field usage across all types

  • March 11, 2019
  • 1 reply
  • 2431 views

In the GUI, when you view a field details, the "Usage" tab shows which Types use this field and if there is an override. 

 

In the CLI, I can't find an equivalent command to list all the Types that use this field. Is there any other command thru' which I can obtain this info?

 

Thank you,

 

Balu

Best answer by awalsh

There's isn't an exact CLI equivalent. But the list of types that use the field is included in the references, which you can get from CLI: im fields --fields=references or im viewfield --showreferences

1 reply

awalsh5-Regular MemberAnswer
5-Regular Member
March 11, 2019

There's isn't an exact CLI equivalent. But the list of types that use the field is included in the references, which you can get from CLI: im fields --fields=references or im viewfield --showreferences

BaluSri1-VisitorAuthor
1-Visitor
March 11, 2019

Thank you, Ann. I was checking if there was a separate option, but this will work (I just piped a "find" command to the output)