Skip to content

Instantly share code, notes, and snippets.

@jsmpros
Created February 2, 2022 16:12
Show Gist options
  • Save jsmpros/2a1485dca617fa2c4cbb9443cb0a82a4 to your computer and use it in GitHub Desktop.
Save jsmpros/2a1485dca617fa2c4cbb9443cb0a82a4 to your computer and use it in GitHub Desktop.
Locate CREF ID by URL fragment
SELECT A.PORTAL_NAME, A.PORTAL_REFTYPE, A.PORTAL_OBJNAME
FROM PSPRSMDEFN A
WHERE REGEXP_LIKE( A.PORTAL_URLTEXT, 'c/PT_FLDASHBOARD.PT_FLDASHBOARD.GBL\?Page=PT_LANDINGPAGE&DB=HC_TL_EMP_DYN_DB')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment