ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Scope Change] Table 2000000187 "Tenant Profile Page Metadata"

Open KarelKoncel opened this issue 2 years ago • 3 comments

Describe the request

Please remove the scope OnPrem for table 2000000187 "Tenant Profile Page Metadata"

Additional context

we are using it for copying profile page metadata to another profile - onPrem it work fine, but becouse Universal Code, we cannot use onPrem... Internal work item: AB#551205

KarelKoncel avatar Oct 02 '24 09:10 KarelKoncel

It will be better to use the base app functionality to copy profile data. The "internal" tables in OnPrem scope should not be used by extensions. The base application has the function CopyProfile to handle this, and if that functionality is insufficient, please create a new issue for extending that function.

nhsejth avatar Dec 10 '24 13:12 nhsejth

Sorry, but copying the profile does not solve the problem at all. We only need to copy the record (Tenant Profile Page Metadata) for 1 specific page to another already existing profile. So what is the correct procedure? Should we request that you create a function that allows us to copy one Tenant Profile Page Metadata record to another profile and that you somehow include it in the dotnet library that takes care of the profile copy? Best Regards Karel Koncel

KarelKoncel avatar Dec 10 '24 14:12 KarelKoncel

Yes, the best approach is a new function in codeunit 9170 "Conf./Personalization Mgt." that can handle this copy. Keep in mind that most of the system tables are designed for internal platform use and internal use in the base application with a codeunit facade to hide the implementation. It adds unnecessary constraints to the platform when the tables are made public and open for external use in SaaS, and we have had plenty of cases where the tables ended up being used for something unintended and then very hard to hard internally. That's why I am a bit reluctant to open access to platform tables in general.

nhsejth avatar Dec 10 '24 21:12 nhsejth