Sites: how might I reference the default Appian logo, alt text, and Appian favicon?

Certified Associate Developer

I'd like to create an expression rule that will set the branding for logo, logo alt text, and/or favicon to either a value specified by expression rule, or (if that is null) the default Appian graphics/alt-text. 

Also...if the logo/favicon is saved as a document, is this how you display the correct image?

todocument(<id as provided by expression rule>) 

In essence, I want to write the Expression for the branding as something like these lines:

a!defaultValue(todocument(rule!getBranding(attribute: "logoImage")), <Appian's logo's ID>)

a!defaultValue(todocument(rule!getBranding(attribute: "logoAltText")), <Appian's default alt-text for the logo>)

So, basically--if the rule!getBranding with its specified ri!attribute comes up empty, use the Appian defaults for each of logo image, logo alt-text, and favicon.

  Discussion posts and replies are publicly visible