Scripting Tips and Tricks
Ramblings from experienced SIL scripters that may help you in your journey to become a scripting ninja.
Here are 10 tips (for now) to help you along your scripting journey. These tips are in no particular order.
Use Aliases
There are currently 3 methods for accessing data from a custom field:
By Name
By ID
By SIL Alias
However, only one of these methods is recommended, see below for more details.
Name – While generally readable, the names of custom fields can be changed by admins who may not be aware that they are being used in a script.…
Organizing scripts in the SIL Manager is one of those things that everyone does wrong when they first start using the tools. Assume that you will end up with hundreds of script because you are so fond of all the magical things they can do to save you time that you keep creating them because you can’t get enough of them (usually happens).…
When writing large and complicated scripts it can become hard to debug the script. Either it becomes difficult to determine where in the large script the point of failure is contained or it is just difficult to identify why the code is not working. A simple solution to this is to add logic to your script that allows you to break it into smaller sections for easier debugging. Or, perhaps you do not wish to perform certain actions while debugging, like sending emails to users.…
Having files that do not contain SIL code is very common. Advanced scripters use a wide variety of file types to build their automation and integration solutions.
Monday Mashups
Interesting examples of mashing up Power Apps with other applications to create some amazing results.
Blog Posts
-
ExSil may be the perfect mashup ever
created by
Jan 03, 2022
-
Images in Jira Custom Fields - Part 1
created by
Dec 06, 2021
-
Send Text Messages from SIL
created by
Nov 15, 2021
-
Restore Access from the Announcement Banner Mashup
created by
Nov 08, 2021