jrauschenbusch
I'm new here

Methods to determine Media-objects referenced by a Page/PageRef object

Jump to solution

Hello community,

is there a (simple) way to determine all referenced media outgoing from a Page or PageRef object?

Thanks in advance for any hints!

0 Kudos
1 Solution

Accepted Solutions
MichaelaReydt
Community Manager

Hello Jochen,

on a Page or PageRef you could use the method getOutgoingReferences to get all elements referenced by your Page or PageRef. In a second step you could iterate over these elements to check if they contain media.

Take a look here: click

Best regards

Michaela

View solution in original post

0 Kudos
1 Reply
MichaelaReydt
Community Manager

Hello Jochen,

on a Page or PageRef you could use the method getOutgoingReferences to get all elements referenced by your Page or PageRef. In a second step you could iterate over these elements to check if they contain media.

Take a look here: click

Best regards

Michaela

0 Kudos