Skip to main content
Nintex Community Menu Bar
Question

Can I use a custom image as a row action icon?

  • July 9, 2024
  • 5 replies
  • 1 view
  • Translate

Forum|alt.badge.img+2

Is there a way to use a custom image (e.g. a logo image uploaded as a static resource in Salesforce) as the icon for a row action? The idea is to use an image that is not a part of the SKUID silk icon set: f7082ea6d464ad2363911cc2018723caf6db20f2.png

Did this topic help you find an answer to your question?
This topic has been closed for comments

5 replies

Forum|alt.badge.img+11

Hi,

I played with Merge syntax and just specifying an URL of an image in the Action icon input field – no dice.

So I opened Chrome developer tools and inspected the row action:

nx-skootable-buttonicon sk-icon inline nx-skootable-buttonicon-visible <b>sk-icon-ed i</b>t editrow 

It appears that the Action icon is really a CSS class.

Given this, with a little CSS, you could use you own image.

.my-css { content:url(“… your image url…”) }

set the Action icon to “my-css”.

Regards,
Irvin



d60dd9feea597d105998c6097ab1a3923ae880a4.png

Translate

Forum|alt.badge.img+2

Am I missing something? Below is the CSS in-line snippet: c1f7207ac3c60d00c0853aa2667cf9663eb74673.png Here is the Action Icon set to “my-css”: Should show this image as the row action icon:

Translate

Forum|alt.badge.img+11

This URL worked for me: 

https://upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Esperanto_star.svg/120px-Esperanto_star.sv…

Maybe create a static resource for your image instead e.g.

Upload the image as a static resource name green_star.  Change the CSS as follows:

.green-star { content:url(/resource/green_star); }


Translate

Forum|alt.badge.img+2

Irvin, the solution you’ve given works fine in chrome but content property is not supported in IE and firefox. Can you suggest any change that can be made to make it work?

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • 3763 replies
  • July 9, 2024

Hmm.  This CSS reference seems to indicate that it is supported in IE (8+) and Firefox.
https://developer.mozilla.org/en-US/docs/Web/CSS/content

Make sure you have the syntax right… 

Translate

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings