LPS-46126 remove the embedding logic
LPS-46126 don't copy into portal-impl
LPS-46126 Sort
LPS-46126 SF