Hi , how to get Value from a password field using SS2.0 ? I tried getting using getValue method . It returned some encrypted txt .
So how can I get the original password value in my code. ?
Thanks in advance.
Whatever you are doing, you probably don't want to do …
s
shree sashti
11/10/2021, 12:16 PM
But , I need that password to consume an api from my code .
s
Selcuk Dogru
11/10/2021, 1:58 PM
you cannot retrieve values of password field, you can only compare / validate with another value. What you should look for is most probably API Secrets if it is available in the API you'll be using.
m
Mike Robbins
11/10/2021, 2:49 PM
@Selcuk Dogru Do you know if API Secrets are copied from production to sandbox on a refresh?
s
Selcuk Dogru
11/10/2021, 3:35 PM
@Mike Robbins yes they are, and if you've integrations you should build logic in advance what to do in case of running in SandBox