This discussion is archived
2 Replies Latest reply: Feb 22, 2013 1:01 AM by luno RSS

Usage of placeholders in apex_error

luno Newbie
Currently Being Moderated
Hi everyone,

I am using APEX 4.1.
Using the documentation ([]) I'm trying to implement my own custom error message.
My problem: The placeholders in the text message are not replaced and I don't know what I'm doing wrong.

     p_error_code => 'This is a text message with one placeholder: %0',
     p0 => my_variable,
     p_display_location => apex_error.c_inline_with_field_and_notif,
     p_page_item_name => 'P13_MY_PAGE_ITEM'
The result is an error message as follows:
This is a text message with one placeholder: %0 (Go to error)
Any suggestions?

Thanks in advance.



  • Correct Answers - 10 points
  • Helpful Answers - 5 points