First time here? Check out the FAQ!
1

Get the message identifier
 

Hello,

I wish, when I post a message (just after its validation and recording), retrieve the message identifier as recorded in the database.

Is there a way to retrieve this value when the message is saved? My goal is to bind the identifier to another external object (not defined in Askbot).

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Geotopic's avatar
1
Geotopic
asked 11 years ago
Evgeny's avatar
13.2k
Evgeny
updated 11 years ago

Comments

see more comments

1 Answer

0

Try using the extra context hooks, signals and use of custom forms available at some views. Please look at the code.

The discussion in this thread should help you: http://askbot.org/en/question/10482/what-is-the-best-way-to-extend-askbot/

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 11 years ago
link

Comments

see more comments