Skip to main content
1-Visitor
Mar 11, 2019 5:18 PM UTC
Solved

CLI command to identify field usage across all types

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

awalshAnswer
5-Regular Member
Mar 11, 2019 6:47 PM UTC

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

2 replies

awalsh5-Regular MemberAnswer
5-Regular Member
Mar 11, 2019 6:47 PM UTC

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

Translate
BaluSri1-VisitorAuthor
1-Visitor
Mar 11, 2019 7:00 PM UTC

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)

Translate