8/16/13

Prompt Edit on Create Keys does not work on Component Interfaces

In a Component Interface while calling the create method, when an invalid value is entered in a record field(create key) having Prompt Table with Edit, the data gets saved. In other words, Save() method executes successfully though there is an invalid value entered in the create key with a Prompt Table Edit.

This happens because while assigning value to the create key, the CI is still uninstantiated and the prompt table edit does not get executed then. The invalid value is accepted by the system as the validation does not happen against the prompt table.



As a solution to this issue, we can access the search record\Add search record of the component and select "SearchEdit" in the record field properties of the Create Key field. This will ensure the validation is triggered on the Create key.

No comments:

Post a Comment

Please refrain for marketing messages and unnecessary back links.

Workflow errors on New Hire and Add employment instance

User tries to hire a new person or tries to add a new organization relationship encounters a series of error messages related to workflow...

Trending in this Blog this month