Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List type page showing as Card from New/Advanced options #72

Closed
pmohanakrishna opened this issue Jan 16, 2017 · 7 comments
Closed

List type page showing as Card from New/Advanced options #72

pmohanakrishna opened this issue Jan 16, 2017 · 7 comments
Labels
enhancement This is an enhancement suggestion to existing functionality shipped
Milestone

Comments

@pmohanakrishna
Copy link

#39

Now the dropdown is working.

def reason code field on pg

When I click on New/Advanced from dropdown, the page is opened like card page?
select reas code list

properties of the page are
reas of list

@kalberes
Copy link
Contributor

Looks like a bug to me. This is the table extension code. Isn't it? http://mohana-dynamicsnav.blogspot.hu/2016/12/developing-extensions-using-new-visual_22.html
I have created a tableextension with the simplest table relation and I got the expected list. It could also be something that got fixed late and has not made it the January update.
We will investigate it and come back with the result.

@esbenk
Copy link
Contributor

esbenk commented Jan 16, 2017

You probably forgot a repeater. Without the repeater the List page looks like a messed up Card.

page 70008001 ReasonCodeList
{
    PageType = List;
    SourceTable = MyReasonCode;

    layout
    {
        area(content)
        {
            group(GroupName)
            {
                repeater(Rep) // Important
                {
                    field(Code;Code) {}                      
                    field(Desc;Description) {}
                }
            }
        }
    }
}

@pmohanakrishna
Copy link
Author

I thought of testing with repeater today but dot issue 74.

Is it possible to get compilation issue for these kind of missing important things?
We should also be able to create list/card type snippets like wizards in previous development to create pages?

@waldo1001
Copy link
Contributor

Or a tpagelist code snippet ;-)

@esbenk
Copy link
Contributor

esbenk commented Jan 17, 2017

We are looking into more compiler validating of "invalid" pages and other types of developer "guidance" like snippets.

@StanislawStempin
Copy link

New tpage snippet has been added that generates a template for a List page.

@StanislawStempin StanislawStempin added ships-in-future-update The issue is fixed in our 'master' branch and will ship in the next PREVIEW release and removed accepted labels Jun 16, 2017
@StanislawStempin StanislawStempin added this to the June Update milestone Jun 16, 2017
@waldo1001
Copy link
Contributor

Next: tpagewizard ;-)
(I'm working on something like that, by the way ..)

@StanislawStempin StanislawStempin added shipped and removed ships-in-future-update The issue is fixed in our 'master' branch and will ship in the next PREVIEW release labels Jun 20, 2017
@microsoft microsoft locked and limited conversation to collaborators Apr 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement This is an enhancement suggestion to existing functionality shipped
Projects
None yet
Development

No branches or pull requests

5 participants