2009R2: Converted RTC Page from Classic Form

GabryGabry Member Posts: 48
edited 2013-06-04 in NAV Three Tier
Using an automatic tool I converted a Classic Form into a RTC Form. Using run (CTRL+R) from Object Designer the page appears well order (fields, filters, master and detail parts). Otherewise lauching the same page starting from the role center in RTC, the same page appears with not ordered fields, filters in the master part on the top of the page.

I though that could be a dimension problem taking into accout that there is an additional frame on the left, but it seems it is not.

The code behind it is the same: please do you have an ideas?

Comments

  • BardurKnudsenBardurKnudsen Member, Microsoft Employee Posts: 137
    Without going into details, it looks like it is a 'document' style page that you are trying to show in the role center. Normally you would only have lists here. Please check the PageType of your page - it seems like it should be 'Document'.
    Note; in classic client, we always showed a card-form first, and then you could look up in a list. RTC is opposite; we always start with a list and from there you go to the card.
    Bardur Knudsen
    Microsoft - Dynamics NAV
  • GabryGabry Member Posts: 48
    Without going into details, it looks like it is a 'document' style page that you are trying to show in the role center. Normally you would only have lists here. Please check the PageType of your page - it seems like it should be 'Document'.
    Note; in classic client, we always showed a card-form first, and then you could look up in a list. RTC is opposite; we always start with a list and from there you go to the card.

    Dear Bardur Knudsen,

    I have just checked the "PageType" that is "List". In addition I found out that setting the page in editable mode (on Actions->Modify list on RTC) the page shows the suitable view as well as using Object designer (all fields in the master part are well-ordered and filters works). Thus I am trying to set the list as editable by default: please do you have any additional ideas?

    I have already tried to set "PageType" as "ListPlus" without any changes and as "WorkSheet" with a better field order but without the possibility to set filters on master part. Hoping that this insights could be useful.
  • GabryGabry Member Posts: 48
    Without going into details, it looks like it is a 'document' style page that you are trying to show in the role center. Normally you would only have lists here. Please check the PageType of your page - it seems like it should be 'Document'.
    Note; in classic client, we always showed a card-form first, and then you could look up in a list. RTC is opposite; we always start with a list and from there you go to the card.

    Please take a look to the picture that I have already submitted: maybe it is useful in order to understand the type of error.
  • Johannes_NielsenJohannes_Nielsen Member Posts: 206
    No one knows what this automated tool did, my suggestions is this:

    Recreate the page from scratch. It might take some time, but time well spent.
    You get the page you need, and the exercise will give you all the answers you need about page design.
    Best regards / Venlig hilsen
    Johannes Sebastian
    MB7-840,MB7-841
  • GabryGabry Member Posts: 48
    No one knows what this automated tool did, my suggestions is this:

    Recreate the page from scratch. It might take some time, but time well spent.
    You get the page you need, and the exercise will give you all the answers you need about page design.

    Dear Johannes Nielsen, Thank you for your suggestion, but they do not allow me to spend a long time on this issue. Anyway I think that your point is interesting.

    I tried to approach using this view: set a code or a property that runs the page on editable mode. Firstly I wrote code "CurrPage.EDITABLE := TRUE;" on "OnInit" trigger/event,but the page opens in view mode; secondly I set "Editable" Property on "Yes" on Page Properties, but it just hides or shows "Edit" on Actions menu (CTRL+MAIUSC+K).

    In my view the issue is to understand which statament to use in order to set the page run on "Editable" mode directly. "Edit" on Actions menu does not show the code behind because it is native function.

    Anyone has any ideas using this path? Or another solution that I can try using a short time? The time that I can spend on it does not depend on me. Sorry.
Sign In or Register to comment.