Options

Page Actions

stormcandistormcandi Member Posts: 27
edited 2015-08-06 in NAV Three Tier
Hello all,

I am trying to add a new page action on the Purchase Blanket Orders Page (9310) but am running into an issue. I understand that for page actions to actually show up on the page, it must have a RunObject or code in the OnAction event. I have code in the OnAction event. For some reason though my page action doesn't show up when I run the page (although I can see it in the Preview). I have it Promoted = Yes, PromotedCategory = Process, PromotedIsBig = Yes, Visible = True.

Is there something I am missing here?

Candi

Comments

  • Options
    IsitarIsitar Member Posts: 29
    Did you set a caption? if not try this.
    Greetings from Switzerland
  • Options
    stormcandistormcandi Member Posts: 27
    Yes, my caption is 'Send as PDF'

    Candi
  • Options
    stormcandistormcandi Member Posts: 27
    Yes, my caption is 'Send as PDF'

    Candi
  • Options
    johndeaguiarjohndeaguiar Member Posts: 2
    I see the same problem occasionally -- Page Actions that appear just fine in Preview, but don't appear on the rendered RTC page. The action is not hidden by user personalization. I'm convinced there is a bug in the page compile or rendering logic (as of build 8.0.37874.0)

    For the time being If I reconstruct the page action from scratch and delete the original, the action appears.
  • Options
    joshuasungjoshuasung Member Posts: 37
    is there some logic inside of page action?
    sometimes, empty action doesn't show up.
    Joshua H Sung

    Sr. Project Manager
    S-Metric, LLC
    jsung@smetric.com
  • Options
    kinekine Member Posts: 12,562
    Sometime it is just because profile configuration. Try to run the client with the NC profile (not configured).
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    johndeaguiarjohndeaguiar Member Posts: 2
    joshuasung wrote: »
    is there some logic inside of page action?
    sometimes, empty action doesn't show up.

    I've seen that too -- the page action is hidden if it has no code or run action. But in the situation I mention, there is code in the page action. I literally copy the code out of the "missing" page action (and transfer all its properties except the ID) into its replacement action, and the replacement action appears.
  • Options
    matttraxmatttrax Member Posts: 2,309
    Sometimes you can delete the record from the Object Metadata table and recompile the page. Doesn't always work, but sometimes it will do the trick.
  • Options
    joshuasungjoshuasung Member Posts: 37
    Yeah, Metadata and republish etc... or restart the service.. strangely work sometimes..
    Joshua H Sung

    Sr. Project Manager
    S-Metric, LLC
    jsung@smetric.com
  • Options
    nilpan20nilpan20 Member Posts: 4
    Restore the Page Configuration.
    Nilesh Panchal
    Director
    Dhyey Consulting Services Private Limited
    Office: [+91 265 326 9990]
    Mobile: [+91 7878 460 999]
    Skype: nilpan20

    Email: npanchal@dhyey.com
    Website: http://www.dhyey.com

    Partner of Microsoft Dynamics
  • Options
    mdPartnerNLmdPartnerNL Member Posts: 802
    nilpan20 wrote: »
    Restore the Page Configuration.
    How?

  • Options
    nav_developmentnav_development Member Posts: 21
    Restart the service, it should be ok
Sign In or Register to comment.