Activity Forums Salesforce Questions and Answers Can we display the page message in the embedding Detail page from the Controller Extension?

  • Can we display the page message in the embedding Detail page from the Controller Extension?

  • Nitish

    Member
    April 30, 2016 at 4:50 pm

    Is there any way to trigger the display of a page message in the embedding Detail page from the Controller Extension of a Custom list view button?

    I create my list view buttons and as this uses separate pages per button the page messages created in the Controller Extension seems to land in them and NOT in the displaying detail page.

  • Gourav

    Member
    June 8, 2016 at 11:42 am

    Hi Nitish, are you redirecting in your doAction function to another detail page? If so, this might be of interest, salesforce.stackexchange.com/questions/13430/…, but basically yes its a matter of marshalling your messages accross to the other page unless your other page reuses the same controller, could they share the same controller and thus state? In this case Visualforce runtime does not redirect simply changes the view / page.

  • Pooja

    Member
    February 13, 2020 at 12:55 pm

    I create my list view buttons with this technique and as this uses seperate pages per button the page messages created in the Controller Extension seems to land in them and NOT in the displaying detail page.

Viewing 1 - 3 of 3 posts

Log in to reply.

Original Post
0 of 0 posts June 2018
Now