Unable to create Unique ID(Type Integer) for profile extension schema.
Hi Everyone,
I have extended profile schema and added few attributes. I was specifically needed an attribute to be unique key with Integer (64 bits, ±9,223×10^15) as attribute type. But I'm getting following warning while I'm preparing publish.
Warning : No key field in 'test (test)' has a dynamic default value, duplicating a 'profile' entity will not be possible.
And I'm getting the following errors when I'm publishing
WDB-200001 SQL statement 'CREATE UNIQUE INDEX NmsRecipient_cusDbindex ON NmsRecipient(biCusPk_testid)' could not be executed. PGS-220000 PostgreSQL error: ERROR: could not create unique index "nmsrecipient_cusdbindex" DETAIL: Key (bicuspk_testid)=(7118) is duplicated. | |
But when I change the attribute type into text and selecting dynamic default value(This is not available for integer type) everything is going well.
Can anyone tell me how can I keep attribute type as integer and create a unique key of it?