Hi @Karam_Abulawii,
Then you just use the keys from the dictionary.
FirstSevenKeys = string.Join(", ", in_TransactionItem.SpecificContent.Keys.ToArray.Take(7))
string.Join
joins the array values with ", " as seperator (a single space after comma to make the output pretty)
in_TransactionItem.SpecificContent.Keys
gets you all the keys in the specific content
in_TransactionItem.SpecificContent.Keys.ToArray
converts dictionary keys to an array
in_TransactionItem.SpecificContent.Keys.ToArray.Take(7)
slices the array to only get you the first 7 keys as you requested
Log Message : FirstSevenKeys
should return what you are looking for.