cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Dynamically generate HTML fragment in Data Utility

ptc-4523198
1-Visitor

Dynamically generate HTML fragment in Data Utility

Hello all.


I am trying to display custom HTML fragment inside the OOTB attribute panel. I already created a controller that generates the fragment.


HTMLComponent hc = new HTMLComponent(" Goole Link " );


But I need help figuring out how to dynamically generate that HTML. Can i wire my controller into the Data Utility?



1 REPLY 1

Hello ,


There are few customisation components available like , URLDisplayComponent which will accept URL and render the page on-click.


Even tool-tip can be set for this component.


UrlDisplayComponent urlDisplayComp = new UrlDisplayComponent(Label,Label, URL,ICON);
urlDisplayComp.setToolTip("Click");


Regards,


Sriram Rammohan

Announcements


Top Tags