Expand my Community achievements bar.

SOLVED

java script issue

Avatar

Level 3

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.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 3

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