How can we display Unicode characters on FSM Mobile joblist?
What characters do you need to show?
What is the issue you encounter?
Please elaborate.
Cheers!
Hi Shneor,
We are looking to show a special character on JobList screen, on each row of task. We added a custom field but how to display a special character on the List sceens?
Hey
Can you please give examples? What is a special character?
Cheers!
We want to introduce a unicode character, for the exclamation mark, (U+26A0) on the joblist screen.
Hey
I added the sign to the ‘Place’ name, just for testing. This is how it looks
So I am not sure what you are asking or what issues you encounter.
Cheers!
Yes, this is what we need, can you help me to achieve this on the Android mobile?
Also, is there a way to have the character as a standalone in a custom field, just the exclamation sign as a custom field value.
Hey
You can have the sign in a custom field, as far as I understand.
But again, what is the issue? What have you tried?
This is the Android view
Cheers!
I tried passing the unicode character through a client script using SQLite function but it didn’t work. How should I configure?
Hi
I added a custom field (again, just for testing) named ‘c_test_ex’
This is how it looks
The populate script I have on the job list is as following
var listData = getCurrentListData();
var listLength = listData.length;
if (listLength > 0) {
for (var i = 0; i < listLength; i++) {
var row = getRowFromListData(listData, i);
var priority = getValueFromListDataRow(row, "task", "priority");
//var taskEscStatus = getValueFromListDataRow(row, "task", "user_def7");
var color = "";
if (priority == "P1_URG_1H_4H") {
color = "c00100";
} else if (priority == "P2_HIGH_6H_1D") {
color = "fe3c05";
} else if (priority == "P3_MED_2D_5D") {
color = "1e0baa";
} else if (priority == "P4_PLAN_10D") {
color = "0073e5";
} else if (priority == "P5_PLAN_1M") {
color = "1abfd6";
} else if (priority == "P6_PLAN_3M") {
color = "1abfd6";
} else if (priority == "P7_PLAN_6M") {
color = "1abfd6";
} else if (priority == "P8_PLAN_12M") {
color = "1abfd6";
}
row = setValueOnListDataRow(row, "custom", "sliver_color", color);
listData = setRowOnListData(listData, row, i);
//test test test
row = setValueOnListDataRow(row, "custom", "c_test_ex", "⚠ - " + i);
listData = setRowOnListData(listData, row, i);
//test test test
}
}
return listData;
So to every row I added the character + row number. Again, doesnt make sense, but just for testing.
Let me know if that helps.
Cheers!
This is the android view
Thank You for the help. This was the solution I was looking for. Let me try it out.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.