-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Display HTML Content in Body Component of SecondaryRecordSource in Dynamics 365 Timeline #592
Comments
I assume you mean the model-driven app timeline control described here Set up the timeline control. You are asking me how to inject HTML into this control using data from some other data source. I don't see how this question is using any of the client-side scripting APIs we support. Setting arbitrary HTML into controls doesn't align with the extensibility pattern we provide. I recommend you look at ways to get the data you want to refer to into Dataverse in some way, then configure the timeline control to display that data. You may want to look for blog posts like this one: Make the Activity Timeline Control Useful in Model-Driven Power Apps. I don't have first-hand experience with this, but looks promising. |
Hi @JimDaly, Thank you for your quick response. The issue isn't about support; it's related to the SecondaryRecordSource. It works perfectly for me, except for one thing: I can't get it to work with HTML. The image is an example of the result that could give you a better idea of my issue. Regards! |
Adding @xxhice @YonyMuneton Sounds like the sample code we include in the repo is working for you, but you want to modify it in some way? We can accept issues that relate to the sample code we provide in this repo. If it is broken, we want to fix it. But we can't take issues that could be bugs or better addressed in the documentation. Sample code are learning resources, but they don't stand alone. Perhaps @xxhice will understand what you want to do better than I do. |
Hi @xxhice, I would appreciate your help with a specific aspect of the example code provided in the repository SecondaryRecordSource. I am looking to visualize HTML within the sample code instead of plain text. Could you guide me on whether it is possible to achieve this? Thank you! |
@YonyMuneton , @JimDaly - Did you find any solution to this? Mine is a similar scenario where i am using this custom connector to read the data from a virtual table. Rich Text column of that table returns the data but when using the sample code new line breaks are not recognized properly. Using this code it gets displayed as Line Breaks are just ignored. |
Hi @JimDaly ,
I hope this message finds you well. I am currently working on implementing a custom SecondaryRecordSource for the timeline in Dynamics 365 and have encountered a challenge that I hope you could help me with.
I need to display HTML content within the body component of the timeline. I have tried using the "Label" (it shows as plain text) tag as well as other components like "HTML", but nothing seems to work. Is there a specific approach or component that you would recommend for this purpose?
Any guidance or examples you could provide would be greatly appreciated.
Thank you for your time and assistance.
Best regards,
The text was updated successfully, but these errors were encountered: