Hi guys!
I would have a question for you. I created a new ActionGroup in my RoleCenter and here I placed a custom action.
With this action I've to launch a page but its type is not "List".
Because of this I can't use the RunObject property, so I decide to launch the page via code.
this is the simple code I wrote, in trigger OnAction():
Item.GET(1000);
PAGE.RUNMODAL(PAGE::"Item Card",Item);
but seems not to work, in fact it gives me the following error:
I'm wondering if anybody knows how to solve this problem.
Thx in advance!
Answers
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
It works as expected... More or Less...
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
For my customer I've to launch a custom cardpage that has not list (for now).
:-k if there no way to solve this I think I'll create a list.
It works as expected... More or Less...
For this MS has created new list pages from 9300
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
What i did is, i created a helper page of type List which has Table Object as SourceTable and i set a filter in the action on the object No. , the page then runs the page which it finds with findfirst.
I think I'll do as new standards comand, I'll create a list.
Thx for help!
It works as expected... More or Less...
It works as expected... More or Less...
You, little trickster!
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
and as of most workarounds this one's has a doneside too: if you click the action and the card / navigation / matrix or whatever is shown up, and you close the page, then when you want to open it again you need to select another action first. This is because the helper page is already shown in the rolecenter area in the main window.
But i think most people can life with that...
...I guess that some users feels strange with table object opened in front of their eyes...but hey, there's always the "back" button in rtc! (that's almost forgotten by anyone
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog