Announcement

Collapse
No announcement yet.

How can I add a dashlet to an entity detail page?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I add a dashlet to an entity detail page?

    I need to display some custom data that would be hard to implement in espo, so I thought I could create a dashlet that shows an iframe with custom content, but it needs to go on account or contact detail view, and I need to use account/cpontact attribute to pass into iframe as a parameter. How can I display a dashlet, or custom chunk of iframe into entity detail view?

  • #2
    u need something like custom sidebar view not dashlet

    Comment


    • #3
      You could use afterRender of the view to put the iframe in.

      PHP Code:
      afterRender: function()
      {
      $(
      'SelectorFortheElementAfterWhichyouWantToPutYourIFrame').after('<iframe src="yourUrl.com?ParameterName=' this.model.get("AttributeName") +'"></iframe>');

      Last edited by Andorxor; 09-26-2019, 08:12 AM.

      Comment

      Working...
      X