Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

The metadata object Page 50102 was not found

(0) ShareShare
ReportReport
Posted on by 5

Hello,

I have just started the learning develop in AL through this https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-extension-example.

When running the project, following the first 3 steps by setting up each page for Reward, RewardCard, RewardList and updating the launch.json files "startupObjectId" to 50102 I get an error in dynamics:

Cannot build the page 50102. The metadata object Page 50102 was not found.
Date and time (UTC): Sat, 04 Jul 2020 16:50:04 GMT
Operation: bdf0e399-8011-427b-9ec6-5ea2e89cb855
I have tried to search the web for a solution without luck. Some point to the files SourceTable but both RewardCard and RewardList is pointing to the Reward page as the code is directly copied from the link above. 

Anyone got a solution?
/Christoffer
  • Laust Profile Picture
    5 on at
    RE: The metadata object Page 50102 was not found

    Hi Christoffer,

    Can you please clarify? I'm new to this, so I guess your solution would work for me. Thanks.

    /Laust

  • Christoffer365 Profile Picture
    5 on at
    RE: The metadata object Page 50102 was not found

    Hello

    This problem has been resolved.

    I have bin runnings the application before publishing it. Rookie mistake...

    /Christoffer

  • Christoffer365 Profile Picture
    5 on at
    RE: The metadata object Page 50102 was not found

    Hi Josh,

    Thanks for your replies.

    I have tried adding applicationarea to the base of RewardCard and RewardList as you suggested. Still without luck.

    Cant add it to the table Reward as it wont accept that.

    Just to be sure, as I am a rookie in AL. I have made 3 different files for each page as showed in the link from my original post. Reward.al, RewardCard.al and RewardList.al.

    launch.json file:

    {

       "version": "0.2.0",

       "configurations": [

           {

               "type": "al",

               "request": "launch",

               "name": "Microsoft cloud sandbox",

               "startupObjectId": 50102,

               "startupObjectType": "Page",

               "breakOnError": true,

               "launchBrowser": true,

               "enableLongRunningSqlStatements": true,

               "enableSqlInformationDebugger": true

           }

       ]

    }

    app.json file:

    {

     "id": "42ac57a0-b4ba-4eea-a411-c1c7cf6f0246",

     "name": "ALProject1",

     "publisher": "Default publisher",

     "version": "1.0.0.0",

     "brief": "",

     "description": "",

     "privacyStatement": "",

     "EULA": "",

     "help": "",

     "url": "",

     "logo": "",

     "dependencies": [

       {

         "id": "63ca2fa4-4f03-4f2b-a480-172fef340d3f",

         "publisher": "Microsoft",

         "name": "System Application",

         "version": "16.0.0.0"

       },

       {

         "id": "437dbf0e-84ff-417a-965d-ed2bb9650972",

         "publisher": "Microsoft",

         "name": "Base Application",

         "version": "16.0.0.0"

       }

     ],

     "screenshots": [],

     "platform": "16.0.0.0",

     "idRanges": [

       {

         "from": 50100,

         "to": 50149

       }

     ],

     "contextSensitiveHelpUrl": "ALProject1.com/.../",

     "showMyCode": true,

     "runtime": "5.0"

    }

  • Suggested answer
    JAngle Profile Picture
    89 on at
    RE: The metadata object Page 50102 was not found

    Reviewed the sample again. I think it's ApplicationArea that is missing. You can just put All;

    It's mandatory but isn't featured in the sample

  • Suggested answer
    JAngle Profile Picture
    89 on at
    RE: The metadata object Page 50102 was not found

    Funny that you have been given bad code for an example exercise

    The error occurs as the page has no idea what the source table is. If you have a look at a working page from the base app you should at least have SourceTable

    Screenshot_5F00_20200704_2D00_201228_5F00_Acode.jpg

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
YUN ZHU Profile Picture

YUN ZHU 616 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 487

#3
Sagar Dangar, MCP Profile Picture

Sagar Dangar, MCP 391

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans