Unable to XOG in changes to SCH_BROWSE_RESOURCE lookup query

Document ID : KB000109839
Last Modified Date : 07/08/2018
Show Technical Document Details
Issue:
I am trying to edit the query for the SCH_BROWSE_RESOURCE lookup. The current query is as follows:

SELECT @SELECT:RESOURCES.ID:ID@,
                @SELECT:RESOURCES.LAST_NAME:LAST_NAME@,
                @SELECT:RESOURCES.FIRST_NAME:FIRST_NAME@,
                @SELECT:RESOURCES.FULL_NAME:FULL_NAME@,
                @SELECT:RESOURCES.UNIQUE_NAME:UNIQUE_NAME@,
                @SELECT:RESOURCES.UNIQUE_NAME:UNIQUE_CODE@,
                @SELECT:RESOURCES.LAST_UPDATED_DATE:LAST_UPDATED_DATE@
                FROM SRM_RESOURCES RESOURCES               WHERE
                @WHERE:SECURITY:RESOURCE:RESOURCES.ID@               AND
                @FILTER@               AND RESOURCES.PERSON_TYPE != 0                             
                @BROWSE-ONLY:
               AND      case when resources.user_id is null then 0 else resources.user_id end != -99
               AND     RESOURCES.IS_ACTIVE = 1
               :BROWSE-ONLY@

I am trying to add in a line that would allow us to display the resource's email address but whenever I XOG in the attached XML file it simply does not update the query.
Resolution:
The reason users are not able to update SCH_BROWSE_RESOURCE lookup is because it is System-restricted and not intended to be changed. You can if you like create a custom lookup using the same NSQL and make necessary change for your use case.