jaw
jaw

Reputation: 319

Custom dynamic success message after submit page apex

How i can return dynamic success messages after submit page. The message like " the deal create successfully your deal number tah-01-01-0001 " Note the region type it's form, and i have column, the value for this column generate in database trigger like this value "tah-01-01-0001" the last four value '0001' changed sequencally i want to appear this value in message, how i can do that

Upvotes: 1

Views: 1714

Answers (1)

Jeffrey Kemp
Jeffrey Kemp

Reputation: 60262

The success message is allowed to refer to page items using substitution syntax, e.g.

The deal was created successfully. Your deal number is &P1_DEAL_NO.

You would just need to ensure that your PL/SQL process does set the page item value (e.g. P1_DEAL_NO in this example).

Upvotes: 1

Related Questions