How to create record producer and their reference field public.

Nandan Alok
Tera Contributor

Hi,

I am using a record producer and have created a reference variable field, and I want to create it public. 

but not able to get the data in the reference variable.

I have tried.

1. sc_cat_item public

2. reference field public

3. written custom alc for the table

still not able to get the data so any suggestions?

targeted table [ sys_user ]

 

NandanAlok_0-1675222809381.png

 

2 REPLIES 2

Aylee Andersen
Kilo Sage

Hi Nandan,

 

I had the same problem myself and came across this solution that did the trick for me:

https://www.servicenow.com/community/developer-forum/does-anyone-know-if-it-s-possible-to-expose-a-r...

I specifically was missing step #5, having an ACL for executing a processor called "SPListDataProcessor". Based on the steps you listed in your question, I'm guessing you're missing step #5 as well.

 

Another problem I ran into was related to your third point (writing custom ACLs for the table). When you make your ACLs, make sure that you not only expose the table but the field itself that you want to display in the reference field dropdown. If the table you are referencing extends another table, that parent table's field-level ACLs will impact your reference field. So just make sure you have both the table-level ACL and whatever field-level ACLs you may need.

 

Hope that helps!

Hi @Aylee Andersen,

I following the steps, but I still can't see the records, do you have any other ideals, thanks.

PeterXiang_0-1751968500960.png