Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Using a SIL alias is the best practice for accessing custom field data. In the script below, the SIL alias is represented by the keyword “fruit”. For more information, go to the custom fields aliases documentation.

Code Block
if(fruit == "Apple") {
    customfield_10700 = "jmuse";
}
else if(fruit == "Orange") {
    customfield_10700 = "efoulkes";
}
else if(fruit == "Peach") {
    customfield_10700 = "jwang";
}