java script issue | Community
Skip to main content
Level 3
May 28, 2025
Solved

java script issue

  • May 28, 2025
  • 1 reply
  • 507 views

Hi , 

i have restriction of accessbleif on atrribute named as “abc” , now i want to use this fields value in js , how i can do it , i tried but its showing empty value for me in js but this attribute have actual values.

Best answer by ParthaSarathy

Hi @at7140 ,

Do you have the permission to satisfy the condition of accessbleif expr in the attribute (schema)? If not, you won't be able to see the data in JS as well.

Example, if the attribute has an accessbleif expr such that only admin can access the data, and If you're not an admin, then you can't view the data in JS as well

1 reply

ParthaSarathy
Community Advisor
ParthaSarathyCommunity AdvisorAccepted solution
Community Advisor
May 28, 2025

Hi @at7140 ,

Do you have the permission to satisfy the condition of accessbleif expr in the attribute (schema)? If not, you won't be able to see the data in JS as well.

Example, if the attribute has an accessbleif expr such that only admin can access the data, and If you're not an admin, then you can't view the data in JS as well

~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups
at7140Author
Level 3
May 28, 2025

Hi @parthasarathy 

attribute can also be accessed by admin , but as a nin admin is it posssible to use in js anyway so it is strictly No