Reply To: Bridge Javascript for Contact List dropdown update

Inner Circle › Ask Smartsheet Guru Crew Anything › Bridge Javascript for Contact List dropdown update › Reply To: Bridge Javascript for Contact List dropdown update

#681
Darren
Keymaster

    Kevin,

    Good idea if you are going to use the same script for multiple report sources.

    I haven’t test this, but I *think* it will work. What you’ll do is add “virtualColId” (without the quotes) as a key in the Javascript module and set it equal to the virtual column ID value from your report.

    Let me know if this works.

    ——–

    virtualColIdString = virtualColId.toString();

    let result = [];
    rowData.map( row => {

    result.push(
    { “name”:row.cells[virtualColIdString].displayValue,
    “email”:row.cells[virtualColIdString].value
    });

    });

    return result;

    ——