How to generate random id in the url while running a GET statement

0
Prettty new to Mendix, i'm trying a project of my own, I want to display some text randomised based on id. I want to a random ID everytime i refresh the page.  This is my domain model  This is the microflow for the GET, I want the ID the be randomized in the {1}
asked
2 answers
0

Hi,

 

if you want, you can use "GetGUID"  in Community Commons.  This gives a numerical unique value. If you want to use text , you can add any letter characters.

 

https://marketplace.mendix.com/link/component/170

 

image.png

answered
0

I would suggest using the RandomHash action the the Community Commons module. This generates a random hash perfectly to use as a random unique identifier.

 

https://docs.mendix.com/appstore/modules/community-commons-function-library/#39-stringutils

 

Good luck

answered