how to initialize MediaEntity in 6.6
Jul 27, 2016
11:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 27, 2016
11:15 AM
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?
Labels:
- Labels:
-
Connectivity
-
Extensions
2 REPLIES 2
Jul 28, 2016
03:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 28, 2016
03:05 PM
See answer on this, identical thread: Thingworx 6 extension failed to import in 6.6
Jul 29, 2016
08:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jul 29, 2016
08:30 AM
Thanks,
Yes, I found the method to initialize MediaEntity and it works..
MediaEntity logoEntity = (MediaEntity) EntityUtilities.findEntity(logoEntityName, ThingworxRelationshipTypes.MediaEntity);
