Saving Attachment Extraction embedded object when it a is a link

for idx, shape in enumerate(extracted_page.get_child_nodes(node_type=aw.NodeType.SHAPE, is_deep=True)):
    ole_format = shape.as_shape().ole_format
    if ole_format.is_link:
        object_name = ole_format.suggested_file_name
        object_ext = ole_format.suggested_extension
        ole_format.save(object_name+object_ext)

it shows link is not supported, Is there a way to save an embedded object, if its a link.

@Devanandan.Subbarayalu The linked objects are not stored in the document. You can access the linked object by it’s path specified in OleFormat.source_full_name property.

1 Like