Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Dear all,
I want to create link for object which will open in different tab or page, can anybody provide solution how to set link?
FYI Snippets
String label = part.getNumber();
UrlDataUtility dataUtility = new UrlDataUtility();
URLData urlData = new URLData();
urlData.setDisplayName(label);
urlData.setUrlLocation(link.toString());
gui = (UrlDisplayComponent) dataUtility.createSingleValueDisplayComponent(component_id, obj,
urlData, mc);
I have used this for link creation object number.
Thanks
Regards,