Activity Forums Salesforce® Discussions 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?

    Posted by Nitish on 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.

    Pooja replied 4 years, 2 months ago 3 Members · 2 Replies
  • 2 Replies
  • 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.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos