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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

How we can set link on object name or number which will open in different tab or page?

mohitenw
11-Garnet

How we can set link on object name or number which will open in different tab or page?

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,

0 REPLIES 0
Top Tags