SBX - Search With Button

SBX - Forum Post Title

Error : An application object of type 'Page' with name '*** Package Card' is already declared

Dynamics 365 Business Central Forum

Manikanta Adabala asked a question on 11 Jun 2019 7:32 AM

Question Status

Suggested Answer

When developing Page in Business Central of Cloud Version , It Showing Page With this name already declared , But I did not declare any object with Same name or ID  .  The Error is   " An application object of type 'Page' with name '*** Package Card' is already declared " .

Can any one suggest me what is that error and how can i solve it.?

Reply
Suggested Answer

Check your AL files, you have for sure an object with the same name.

Reply
Teddy Herryanto responded on 11 Jun 2019 3:12 PM
My Badges
Suggested Answer

Check all of AL files and make sure the page name is unique.

Reply
Manikanta Adabala responded on 11 Jun 2019 11:49 PM

Hello 

I Checked every Object , Every object  has a Unique ID & Name.

I am getting this error for So many Objects in my Project.

Reply
Teddy Herryanto responded on 12 Jun 2019 3:25 PM
My Badges
Suggested Answer

Check if your app has dependencies with other app. Maybe it is already declared in the other app.

Reply
bctails responded on 13 Jun 2019 6:31 PM

Manikanta_501 isn't talking nonsense. Probably, the code compiles fine but still gives you the errors?

Are you maybe using an UNC path to store your VS code folders? If so, try copying the solution locally or mapping a network drive.

>> Here's why

Reply
Suggested Answer

Check your AL files, you have for sure an object with the same name.

Reply
Teddy Herryanto responded on 11 Jun 2019 3:12 PM
My Badges
Suggested Answer

Check all of AL files and make sure the page name is unique.

Reply
Teddy Herryanto responded on 12 Jun 2019 3:25 PM
My Badges
Suggested Answer

Check if your app has dependencies with other app. Maybe it is already declared in the other app.

Reply

SBX - Two Col Forum

SBX - Migrated JS