You need to sign in to do that
Don't have an account?

Depending slds icon at visualforce page
Hello,
I would like to insert a picture depending on the type at my visualforce page.
My code below does n't work, could you help me please.
Thanks,
Sascha
I would like to insert a picture depending on the type at my visualforce page.
My code below does n't work, could you help me please.
<span class="slds-icon_container" style="background-color: #49648C;"> <svg aria-hidden="true" class="slds-icon slds-icon_small"> <use xlink:href="{!IF(wl.objectlabel = 'Event', {!URLFOR($Asset.SLDS, 'assets/icons/standard-sprite/svg/symbols.svg#event')}, IF(wl.objectlabel = 'Task', {!URLFOR($Asset.SLDS, 'assets/icons/standard-sprite/svg/symbols.svg#task')}, '')) }" /> </svg> </span>
Thanks,
Sascha