How to Set the PK via a JavaScript (LERModel)

Hi how can I change I uniqueidentifier from just being that to the primary key via a javascript.

I can successfully create the uniqueidentifier but can't find a way to set it to being the PK.

Please use property PrimaryIdentifier of Entity.

  Ent.PrimaryIdentifier = UI1;

Regard
Daril

1 Like