Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to set the icon dynamically? #5

Open
riekusr opened this issue Oct 11, 2023 · 3 comments
Open

Any way to set the icon dynamically? #5

riekusr opened this issue Oct 11, 2023 · 3 comments

Comments

@riekusr
Copy link

riekusr commented Oct 11, 2023

Hi, I want to have different icons for records coming out of the same object. Any way to support having a field hold the URL so i can do something like this:
image

Or any other way / workaround? I tried adding the object multiple times with different configurations and WHERE clauses but that unfortunately is also not supported.

@riekusr
Copy link
Author

riekusr commented Oct 11, 2023

Alternatively support IMG AND HYPERLINK tags in the title field so I can format the icon myself:
image

@rbklaassen
Copy link
Collaborator

Hi @riekusr, to have different child implementations for the same object, you would need to use the apex dataprovider. You can for instance create 2 apex dataproviders for the same object, but use different filters / icons / fields to show. There is an example provider in this repo.

@jvolkov
Copy link

jvolkov commented Apr 11, 2024

@rbklaassen
Using the apex dataprovider on the task object to change icons seems to be overwritten by timelineItemTask.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants