Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
After some searching, I found a bit code on here that within gets a PDF out of a default representation of an EPMDocument using this code:
wt.representation.Representation defaultRep=wt.representation.RepresentationHelper.service.getDefaultRepresentation(myDoc);
That's all well and good.
Is there a similar expression that allows me to pick and choose which representation I want?
Specifically, I'm interested in getting secondary content (which the rest of the code does) of the representation created by the promotion notice (so it's name is wt.maturity.promotionNotice:some number here).
Is there a wt.representation.Representation rep=wt.representation.RepresentationHelper.service.getPromotionNoticeRepresentation? I've looked through the Java Doc (we're on 10.2 M030) and I can't even find any reference of the RepresentationHelper. The wt.maturity class doesn't hint at there being anything to do with representations....
Any help would be greatly appreciated!
Dobi