How to enable "GeneratePassword" BuildIn Function in Outsystems 11
Question

Hi,

I am creating a functionality to reset the password of a user and send the temp password to the user email for login.

I can see there is a build in function "GeneratePassword" to create a random string as password. But i am not able to see that in my studio and i did check in the dependencies as well.

Can someone help me locate this function or how to enable it. Thanks

mvp_badge
MVP
Solution

It is a server side action, you cannot do that in a client action expression, the documentation mentions that

mvp_badge
MVP

Hi,

You can just use it directly in an expression like this:

As you see on your screenshot it's a built-in function, so you do not need to set a dependency.

Regards,

Daniel

Hi Daniel,

I did try that earlier and it was throwing me error. I added the version details also below for any mismatch in version issue

mvp_badge
MVP
Solution

It is a server side action, you cannot do that in a client action expression, the documentation mentions that

Champion

HI 

Hope you are doing well.

Because your application type is mobile you can't use Service Action in the expression.

Kind regards,

mvp_badge
MVP

Hi Tom,

Daniël already wrote that. Please read all answers before posting one yourself!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.