Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

dynamic attribute reading in JSON issue

IAM_99
Regular Contributor II
Regular Contributor II

Hi Team,

We have dynamic attribute configured  called ' Location'  configured  (from SQL Query ).

trying read that attribute in CreateAccountJSON like below options

1. ${requestAccessAttributes.get('Location')}

2. ${requestAccessAttributes?.Location}

but its throwing error saying "No such property : Location for class : SimpleTemplateScript49"

can you let me know correct syntax to read dynamic attribute

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

Is this REST connector ?

Are you storing dynamic attribute to accounts column ?

Try below 

${requestAccessAttributes.customproperty8} - Add Account CP instead of Dynamic attribute name


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

IAM_99
Regular Contributor II
Regular Contributor II

Its AD Connector.

This its throwing no such property on :requestAccessAttributes

${Location}


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

IAM_99
Regular Contributor II
Regular Contributor II

This was the option we tried initially but didn't work.

Provide screenshot of dynamic attribute from endpoints - nDA

https://forums.saviynt.com/t5/general-discussions/unable-to-obtain-the-dynamic-attribute-value-in-ac... 
https://forums.saviynt.com/t5/general-discussions/issue-to-retrieve-dynamic-attribute-value/m-p/1994 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.