LPS-33189 Changed getPageId to getResourcePrimKey method.