asked on January 18, 2017 Show version history

I can not get the icon on toolbar to change. I wrote customactions.xml using sample project from LF support. Tried different ways but image doesn't show up if I change the name in customactions file.

Copied to image to assets folder and to images folder. Also tried to rename LF png image to see if new image shows up.

<CustomActions>
    <ActionDefinition ID="BenefitMall.BrokerPayeeSearch">
        <Title>Broker Payee Search</Title>
        <Action>
            <![CDATA[
            var selectObj = context.getSelectedItems("ENTRIES");
            var selectedEntries = selectObj.items;
            var entry = selectedEntries[0];
        
            var dobj = waWindow.getAvailableDlg(); 
            dobj.OpenDialog("Search.aspx?docID=" + entry.id, 600, 900, false);
            dobj.onclose = function() {
                metadataControl.refresh();
            }
            ]]>
        </Action>
        <Enabled>
            <![CDATA[
            return true;
            ]]> 
        </Enabled>
        <IconClass>LaserficheIcon</IconClass>
        <Toolbars>3</Toolbars>
    </ActionDefinition >
 

 

0 0