web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Deploying extension

(0) ShareShare
ReportReport
Posted on by 231

I cretead a small extension.

A new page that displays table information.

I am able to publish it, however I get the following error

[2018-07-13 16:54:59.53] Sending request to mybizcentralapp/.../apps
[2018-07-13 16:55:02.93] Success: The package 'Default publisher_Table Object_1.0.0.0.app' has been published to the server.
[2018-07-13 16:55:03.04] Error: An internal error has occurred

When I go in the web browser I see my extension on the extension list, however when I search for the new page, I can't find it.

I can call the page from another page via a different extension.

Any ideas ?

FYI, I set the following property on the page

UsageCategory = ReportsAndAnalysis;
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Internal Server Error is strange. Have you try to redeploy it?

  • Armela Kamenica Profile Picture
    231 on at

    Yes many times.

    I uninstall / unpublish.

    I hit F5 for VS to publish it again.

    Is there a special property or object id to make a page show up in the search menu on the web client ?

    My page is ID 50098.

    Thanks

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Yes, UsageCategory. Try adding UsageCategory = List and maybe add ApplicationVisible = All.

  • Armela Kamenica Profile Picture
    231 on at

    There is no property ApplicationVisible  on the page  extension.

    Did you mean smth else ??

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    I mean in the fields of your page, set ApplicationVisible = All

  • Armela Kamenica Profile Picture
    231 on at

    I have

    ApplicationArea =All;

    I don't have applicationVisible as an available property.

  • Armela Kamenica Profile Picture
    231 on at

    The error also says "View Json file."

    here is what I have for that file.

    Do you see anything wrong with it ?

    {

       "version": "0.2.0",

       "configurations": [

           {

               "type": "al",

               "request": "launch",

               "name": "Your own server",

               "server": "http://MyBizCentralApp",

               "serverInstance": "NAV",

               "tenant": "",

               "authentication": "UserPassword",

               //"startupObjectId": 22,

               //"startupObjectType": "Page",

               "schemaUpdateMode": "Synchronize"

           }

       ]

    }

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Yes, I mean ApplicationArea, sorry. The launch.json file seems ok.

    If in VSCODE you type AL:Go! In Command Palette a correct file will be created for you.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans