Colour Coding Org Chart Function

Hi,

I am new to Plumsail and are trying to edit the org chart. As we have multiple different sites, I was hoping to colour code people base on which site they belong to. How do I go about doing this?

Thanks

Hello Eliza! Please check this article about the conditional style customisation. Use the approach described there. In your custom JS code, use window.location.href to get the URL of the current page.