Hi,
I want to transform Custom Forms of NAV 2009 into Pages in order to run them at a Role Tailored Client. For the sake of it, I had used Transformation Tool Kit but after going through a series of steps. I am unable to do it.
The steps for Transformation, which I follwed are,
1) Open a classic client, go to Object Designer and import the files DevTool.fob and TIF.fob from the folder TransformationTool\TIF Editor\
2) Create a new form in NAV, as simple as possible (or you can also use your existing forms). For example a Card form based on the customer table, with just a few fields on it. This is the form you want to transform.
Setup and use the Transformation tool:
3) Run, form 97000 "Transformation Forms"
4) Click Setup -> "Import PageType - FormType mapping", and select the file TransformationTool\TIF Editor\FormToPagetypeMapping.txt.
5) Click Setup again -> Get Forms. Filter on Type = Form, and ID = the new form(or existing one), then click OK. This gets the form(s) that you want to transform.
6) In the FormType field, select "Card" ("Form with TabControl only and a source table").
Run the transformation:
7) Export the settings from form 97000: Click on Functions -> Create Transformation Input "Transform Pages". You must export it to the TransformationTool folder, and it must be called TransformPages.xml.
8 ) From Object Designer, export the form (File -> Export) as xml.You must export it to the folder TransformationTool, and it must be called Forms.xml.
You now have the form you want to transform, and the meta-data that tells the TranformationTool how to transform it.
9) Run the file FormTransformation.exe from the TransformationTool folder. This generates a new file called Pages.xml. It also logs any progress or errors in the file Transformation.log.
Import the new page:
10) Back in NAV (classic client): Go to Object Designer, and import the file Pages.xml, and then compile it.
If all steps ran without any errors, you have now transformed your form into a page which can be displayed in the rolebased client.
Now, the Pages.XML is generated all the times without any errors but when I am going to run them into a Role Tailored Client, it gives error, i.e., "The Object MetaData does not exist."
Can anyone help me out to successfully run my 'Custom Forms' into Role Tailored Client or any other idea of "Transformation of Forms into Pages for Role Tailored Client" ?
Ammad
0
Answers
1.Create a form let say 50000 Customer Test based on table 18 with some fields.
2. Now after saving it go to File->Export & save this form as Forms.xml in (I have put it on the same folder of where this Microsoft.Dynamics.Nav.Tools.FormTransformation.exe exist)
3. Now run this Microsoft.Dynamics.Nav.Tools.FormTransformation.exe this will create Pages.xml & other Transformation.log & TransformationLog.xml file
check whether it's run successfuly
4. Now go to ur navision back & here import Pages.xml from the same folder.
This will create the Page with 50000 no.
Now you can run this by Start->Run
Dynamicsnav:////runpage?page=50000
Hope its work.
Ashish
It gives same error again, "The Object Metadata does not exist. Identification fields and values: Object Type ='Page', Object ID ='50003' "
Ashish, Have you ever tried it? Because, may be it was another issue.
If there is another solution of this error then plz also tell me.
Thanks,
Ammad
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Ammad
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
I have checked it again that "Object MetaData Table" is existing in my databse.
Ammad
One thing new that I experienced there, which I want to share with all of you guys,
i.e. When I made some new page there and then run it into Role Tailored Client, it gives me required output and running succesfully but when I transformed any Form into Page and then run it into Role Tailored Client then it gives me that error "The Object MetaData does not exist."
and
One thing more, if I delete that page which I made manually and give ID of that page to the transform one then instead of showing error, it gives the last page result means new transform page does not updated itself on Role Tailored Client and it just gives the last succesful result of that ID.
Ammad
Christian Abeln
Program Manager Microsoft
Dynamics NAV
blogs.msdn.com/cabeln/
Usually, this error message comes up when you select List instead of Card.
Dynamics NAV Enthusiast
Yes Thomas, I have idea about it, for this purpose I experimented to change the type of page, in those objects where error were coming but the result was same.
Ammad
In Classic Client, i did the following:-
- Created a blank form (Test Form)
- Added a menu button (Test) with menu items (Cut, Copy, Paste)
- Saved and compiled the form.
- Exported the form to TransformationTool folder as Forms.xml
In TransformationTool folder, i did
- Run the 'Microsoft.Dynamics.Nav.Tools.FormTransformation.exe'
- It generated Pages.xml and Transformation.log with no errors.
In Classic Client, i did the following:-
- Imported Pages.xml
- Compiled 'Test Form' in Page Designer.
If i open 'Test Form' in Page Designer, it shows blank. I don't know where the menubutton Test disappeared in the transformation process.
I now tried running this page from the command prompt > Dynamicsnav:////runpage?page=50000
It showed blank page in View mode.
Note that the above scenario is something similar that i faced modifying existing form and then transforming it to pages. In RTC, when i view these pages, it does not show me any changes.
I am not sure how to resolve this.
Regards,
Hemant
Hemant
MCTS (MB7-841 : NAV 2009 C/SIDE Solution Development)
" The object Metadata does not exists. Identification fields and values : Object Type = 'Page',
Object ID = '50000' ".
Can anyone tell me how to rectify the same.
Awaiting Expert's precious replies......
Thanks in advance.....
Reg. the metadata does not exist - I trust you did all the things you read in this post?
(Export, Transform, Import, Compile) and you can see the page in the page definition in the page designer?
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Yes I did export,transform,import,compile. I could see the page generated in the page menu in object designer too........
Regards,
Ammad
Hey Ammad,
Can u just tell me the steps you did to get it right ?? Kindly help me out.....
Thanks in advance....
Ok, What you have to do is simply
1. First you have to get new license of Classic Client from Microsoft.
2. Then update that license from your current one and after that you have to find "Transformation Forms" which will be present on Object ID "177000", there.
3. Just repeat same steps as I told in my first Post.
4. One thing which you have to keep in mind i.e. you have to tell right page type to your Form which you want to transform otherwise it can again give that "MetaData Error".
Regards,
Ammad Ghani
Ammad,
Thanks a lot for the reply......Right now Iam facing another problem.....Please take a note that I have got an updated license from Micorsoft......
The problem Iam facing right now is that Iam able to connect to my classic client with sql option using windows authentication but iam unable to connect to my RTC. Iam getting the following error each time I try to connect my RTC :
"The program can not create a connection to the server. Do you want to continue ?"
Do you have any idea about this error ? If so please help me out in rectifying this. I woul really appreciate your help for the same.
I would check with your above post once this problem gets rectified.
Thanks Once again.....
anyway...i translated a simple unbound form that I use to run pages from nav (as run does not work for pages) and i noticed that the action related to the command button of the form, has as a caption, the name of the command button instead of the caption... :?
also, i receive these errors:
queryreplace() method is obsolete
and after commenting it
shell() method is obsolete
i suppose that they can't be used in rtc...
here's the object
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Thanks a lot ......Will check and let you know my views.....
thanks in advance
SOLVED WITH THIS
http://www.mibuso.com/forum/viewtopic.php?f=32&t=28921&hilit=obsolete
tx mibuso!
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Just Diployed the Page On SQL server Database (Server Database),And Run The Dynamicsnav:////runpage?page=<Page Id > It will work Fine.
trying to convert it into a page, it gets converted ,compiled it also.
But when I am tryin to run it from Dynamicsnav:////runpage?page=50000, it is giving me the error:
The object Metadata does not exist.Identification fields and values, Object Type:Page, Object ID :50000.
What should I do to run the page???
Checked the licence.
Repeated whole process.
](*,)
I was doing everything in NATIVE DB thats why it was not running.I exported my created page, respective form and table and it is running now.
With SQL it runs fine.
I told you in one of your posts about this.
RTC works with Sql not with native
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Hi
I want to ask that what value should be in FormType step 6 when we have to convert form having a subform (Same as sales order)???
Thanx in advance.
I want to ask that what value should be in FormType step 6 when we have to convert form having a subform (Same as sales order)???
Thanx in advance.