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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

how to initialize MediaEntity in 6.6

mak1
1-Newbie

how to initialize MediaEntity in 6.6

In Thingworx 6 api, I can get initialize MediaEntity through com.thingworx.system.managers.MediaEntityManager;

MediaEntity logoEntity = MediaEntityManager.getInstance().getEntity(logoLink);

But how to initialize MediaEntity in 6.6 API?

2 REPLIES 2
ttielebein
12-Amethyst
(To:mak1)

See answer on this, identical thread: Thingworx 6 extension failed to import in 6.6

Thanks,

Yes, I found the method to initialize MediaEntity and it works..

MediaEntity logoEntity = (MediaEntity) EntityUtilities.findEntity(logoEntityName, ThingworxRelationshipTypes.MediaEntity);

Top Tags