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

Base 64 accountname and store in customproperty

NM
Regular Contributor III
Regular Contributor III

Hi Team,

We have a usecase to store base64 encoded value of accountname and passing the encoded value in subsequent calls to perform the operation, how can we do it at the time of account creation?

I tried by using CONST in "responsecolstoprop" and encodeAsbase64 function to encode it, but it didn't work out.

Update: first preference is to encode the property in the JSON only instead of using enhanced query.

Has anyone tried the same?

Thanks

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

${Base64.getEncoder().encodeToString(accountName.getBytes()}


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

NM
Regular Contributor III
Regular Contributor III

Thanks @rushikeshvartak , this worked ..

Please click the 'Accept As Solution' button on the reply (or replies) that best answered your original question.


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