This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Changing an Item Property to Unique

dhenning - Monday, August 24, 2009 4:19 PM:

I know there is a way to do this, but I cannot find the document/entry that discusses this.  I have created an item type and developed a process for it.  but in acutually seeing how it functions, I realized I need to make one of the properties on the item unique (they have not been heretofore).  

so I deleted all instances of the item type.  then in ItemType maintenance, I tried to change the property to unique (check the check box) and save it and I get an error message:  there is no row at position 0.  

So, which row is it talking about, and or what position, and how is this related to making a property unique?

Any clarification on this would be helpful.

Thanks in advance for your thoughts.

-Dennis



Anonymous - Tuesday, August 25, 2009 11:13 AM:

Dennis,

1) You are trying to set the "Unique" flag on a property of an ItemType that is being created, or you are trying to set the flag on an ItemType that already exists?

2) What is the data type of the property you are trying to change?

-Chris



dhenning - Tuesday, August 25, 2009 12:45 PM:

Chris:

This is an item type that is already created.  but, as I mentioned, I deleted all instances of the item type,

and then went to modify the item type's property which is a string data type by checking the Unique check box.  That's when I got that funky error

about "there are no rows at position 0".   

There is a process to follow.  I remember reading it, but I cannot find that on the Aras site any where, and so I

am looking for help to be able to change that property to Unique.

-Dennis



Anonymous - Tuesday, August 25, 2009 4:30 PM:

The doc you are thinking of is for Properties of data type Text, not string, and it is in Just Ask Innovator under "Setting Required for Text"

You should not get such an error with a property of type string, especially when there is no data in the table.

One more question, is this ItemType versionable?

-Chris



dhenning - Wednesday, August 26, 2009 8:19 AM:

Chris:

No, the itemtype is not versionable.

-Dennis



dhenning - Wednesday, August 26, 2009 8:35 AM:

Chris:

You nailed it...that Just Ask Innovator was the document I was thinking of....I was just looking at the Unique property and never glanced up one line for the 'Requried' where this was.....but that was what i was remembering.    That straightens me out, and now I can get this squared away.  Thanks for your patience and help.

-Dennis