Customizing Widget Return Text
I was wondering if it was at all possible to customize what a widget that is based off of a salesforce field returns. What the widget points at returns a value of either "True" or "False", but I would like it to return "Yes" or "No" instead. Is this possible? Thanks!
Hi Jack_Machesky ,
I don't think this will work straight OOTB - you'll need to edit the script to meet your requirement.
Firstly, you'll need to add the title of the item you'd like to manipulate into the panelTitlesToAffect array at the start of the script. i.e. your salesforce field name (s).
Secondly, you'll need to change the rules starting from if (cell.Value === 'x') { cell.Text = 'y' } to change the 'x' value from the exact value that you want to change (so if 'true' with no capitals, it needs to be 'true', etc.) to the value you'd like to display in it's place - 'y'.
I'm happy to provide a consult if you'd like to look more deeply or have any issues implementing:
Sisense Services | Free 30-Minute Sisense Consultation (rapidbi.com.au)
Let me know how you go?