Snippet: Rename Groups by Campus

 There was a request in Slack the other day, to be able to rename groups according to the campus they belong to. We ended up doing this using a combination of LavaV2's RockEntity and SQL commands. It was such a strong example of the power of these new capabilities I thought it was worth sharing here. Take this just as an example; I don't think anyone will actually want to do precisely what this function does, but there a lot of concepts you can adapt from this springboard.Moreover, this doesn't have any error checking, and doesn't protect you from groups with non-standard names (quote marks or apostrophes in the names, etc). If you tried this, you'd need to take precautions that this is run only by people who know what they're doing, and who have checked to...

Read More

Make Your Lava Reusable With Functions

Lava is a powerful tool but things can get unwieldy. Breaking up your Lava into smaller bits can not only reduce complexity but it can help complete your future projects faster by reusing those smaller bits.

Read More