Category: Quick Tips

GetColor(): The Function You Didn’t Know You Needed

GetColor(): The Function You Didn’t Know You Needed

The WL language's GetColor() function simplifies the task of assigning unique, harmonious colors to users in our task management system. Instead of manually assigning and managing colors, GetColor() uses the user's ID to consistently generate the same color. This approach reduces complexity and ensures that each user has a unique color, enhancing visual identification in the system.

Issue with ‘.’ instead of ‘..’ when using Exist property on JSON data

Issue with ‘.’ instead of ‘..’ when using Exist property on JSON data

Today, we will discuss an issue that arises from using a single '.' instead of '..' to reference properties of elements in JSON data. This problem surfaced while transitioning to the new prefix syntax coding style. It becomes apparent when checking whether a JSON variable exists in the data returned from an API call. The … Continue reading Issue with ‘.’ instead of ‘..’ when using Exist property on JSON data