Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!
An application object of type '{0}' with ID '{1}' is already declared by the extension '{2}'.
Description
Multiple application objects of the same type and with the same ID are defined.
How to fix this diagnostic?
This error means another object of the same type already uses this ID, either in your extension or in a dependency. Object IDs must be unique per object type across all dependencies.
To fix it:
- Assign an unused ID that falls within the
idRangesdefined in yourapp.json. - If you copied an object, renumber it so it doesn't reuse the original ID.
- Check your dependencies for an object that already uses the ID.