Hi @PratikSavla,
Thank you for posting in this community.
Are you using the Microsoft SharePoint Foundation Software Development Kit (SDK)?
Unfortunately, we can't find an alternative to the Mapping
element, because SharePoint Server 2019 doesn't support Microsoft SharePoint Foundation Software Development Kit (SDK) anymore.
Instead, Microsoft recommends using SharePoint Framework (SPFx) extensions to replicate this behavior in the "modern" UI. SPFx extensions provide similar functionality to the SharePoint Feature Framework's CustomAction capability. The most useful option in this context is the Application Customizer extension, which allows developers to extend the native "modern" UI of SharePoint by adding custom HTML elements and client-side code to pre-defined placeholders of "modern" pages.
For more information on SPFx extensions, see the "Migrating from UserCustomAction to SharePoint Framework extensions" and "Differences between SharePoint Framework solutions and SharePoint Feature Framework customizations" articles in the SharePoint Dev Center.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.