Remove header and footer from viewMetadataDetailsBody if called from GeoportalApp (CswContext present).