Page Filtered By USERID From Role Center Action

juanbarjuanbar Member Posts: 4
edited 2015-11-09 in NAV Three Tier
Hi,

I'm trying to open a page filtered by USERID from a role center action, so I wrote some code at "OnAction" trigger to make the filter and then run the page.

The system gives me an error: "No trigger code is allowed on pages of type Role Center"

So I'm forced to duplicate my page and then put the code on "OnOpenPage" trigger but I was wondering if someone has a workaround for this issue.

Any ideas?

Comments

  • postsauravpostsaurav Member Posts: 708
    Hi ,

    For Opening a Page Filtered By User ID, use User ID As a Flow Filter in the table which you can use in On Open Page.

    For Reference you can refer the
    Table - 9054 (used for Cue in Finance Role Centre)
    Page - 9036 (Created From the Table)

    Refer Fields - "Requests Sent for Approval" & "Requests to Approve".

    When These Pages get Opened they are filtered by User ID - Pages (658,654).

    Let me know if any doubts.

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
  • juanbarjuanbar Member Posts: 4
    Thanks Saurav Dhyani, but I´m trying to achieve this not from a Cue but from an Action on the left side.

    Any Ideas?
Sign In or Register to comment.