Hi…
I have a problem with customizing role centers.
I can run code units from navigation pane in RTC as I have added them to the menu suite.
But when I try to add the same code unit to the role center I cant find it in navigation pane customize window.
Why is that?
Only pages and reports are displays in navigation pane customize window.
please help me…
Please be patient.
If you need immediate reply then create a service call at Microsoft.
Mohana,
Thanks…
I was thinking that someone here knows the answer. [:)]
Some one will definitely know the answer but you have to be patient.
Yes, I’m waiting for someone…[O]
Sriyanta,
Which version of Navision you are using as currently we have three RTC version of Navision
As well as what is this codeunit doing ?
Hi Amol,
I’m using NAV 2013 R2.
The code unit is used to run a XMLPort from the navigation pane.
I have added it to the navigation pane under Financial Management , and it works fine when I run it from RTC → Departments → Financial Management.
Then I have added it to a Role Center by Customizing it’s navigation pane.
When I run it from their it gives me a error
Microsoft Dynamics NAV
---------------------------
Cannot build the page 50000.
The metadata object Page 50000 was not found.
---------------------------
OK
---------------------------
There is no Page with ID 50000.
It is the ID of Code unit that I want to run.
Thanks.
You can directly run XMLPorts from RTC no need to use Codeunit to call XMLPorts from NAV2013.
Mohana,
Yes true.
I’m using the code unit to import data from a external file. So when I run the XMLPort directly from RTC it opens a Open file Dialog box to open the external file. It does not read the file from given path.
So I created codeunit to run the XMLPort
Compile all objects and see whether there are any issues/references…
I compiled all objects and no errors.
Look at the following video for reference.
http://www.youtube.com/watch?v=qNYrmZXUOxE
Amol,
I don’t think that my XMLPort or Codeunit incorrect, because it runs as I want through Departments.
The problem comes when I add the same link to a Role Center’s Navigation Pane by customizing the pane.
It asks for a page.
Still I couldn’t find a solution for this [:(]
What is the purpose of XMLPORT ? Is it for import or export data ??
Just an idea as workaround: what about creating page 50000 as “launcher” of your codeunit, just to check if you are able to avoid the error?
Instead of adding the codeunit link the xmlport into action items on RC Page it will run perfectly.