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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Dynamically generate HTML fragment in Data Utility

ptc-4523198
1-Newbie

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

Top Tags