Hi all, is there any way to retrieve the token name using the token values
There are multiple entry for token name which has same token value. For
example ui.testpassed= test passed , also test_passed = test passed. Need to clean up duplicate
Thanks in advance
Solved! Go to Solution.
Not directly.. but you try workaround by...
let allTokens = LocalizationTables["<localization table>"].GetTokens();
let params = {
t: allTokens /* INFOTABLE */,
columns: 'value' /* STRING */,
aggregates: 'COUNT' /* STRING */,
groupByColumns: 'value' /* STRING */
};
let result = Resources["InfoTableFunctions"].Aggregate(params);
Not directly.. but you try workaround by...
let allTokens = LocalizationTables["<localization table>"].GetTokens();
let params = {
t: allTokens /* INFOTABLE */,
columns: 'value' /* STRING */,
aggregates: 'COUNT' /* STRING */,
groupByColumns: 'value' /* STRING */
};
let result = Resources["InfoTableFunctions"].Aggregate(params);