find by GUID

1
Hello,   Is it possible to find an object by its unique ID?  id= is not working Kind regards Steven
asked
4 answers
5

Create a Java action to do that for you.

 

The Java code is really simple:

return Core.retrieveId(getContext(), Core.createMendixIdentifier(guidParm));

 

 

answered
1

Yes, I stumbled on this as well. I ended up saving the GUID on the object and using that in my selections.

answered
0

It's really strange that this is not working (or no longer). You can always add another attribute and use the comm.commons getGUID action to set it.

I suggest upvoting this idea

https://forum.mendix.com/link/ideas/1890

and else, there's always java

https://forum.mendix.com/link/questions/102578

answered
-2

yes

retrieve from database

using a hardcoded string

[id = ‘1234567’] 

or using a variable

[id = $Variable]

answered