Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Checking the names of tables in a portal

(0) ShareShare
ReportReport
Posted on by 382

Hello everyone,

As you know that there are numerous tables in a portal. For e.g. If I have more than one portal so how I can validate that which table belong to which portal?

  • Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: Checking the names of tables in a portal

    Hi Partner,

    Have any updates?

    Please feel free to contacts me if you have any questions!

    Could you click 'Yes' under title to close the thread if my answer is helpful!

    Thanks in Advance! :)

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: Checking the names of tables in a portal

    Hi Muhammad,

    Essentially, the tables are not stored on the portal, but on the Dataverse.

    If you have more than one portal in an environment, these portals can get configurations and store data on the same Dataverse, so the same table can be used on all of them at the same time.

    You can check which portal uses which tables via the ''Portal Management'' application.

    In the portal, tables are used through forms and lists:

    https://learn.microsoft.com/en-us/power-apps/maker/portals/configure/entity-forms 

    When you configure one basic form/List in one portal, you need select table and website:

    --This means that the 'Lead' table was used on the 'Zhou316 - Zhou316' portal:

    pastedimage1678415916832v2.png

    On the view, you can find that Lead can be used on the two portals:

    pastedimage1678416526748v3.png

    Summary:

    A portal can use many tables, and a table can be used in more than one portal.

    So just because one table is used on a portal does not mean that they belong to the portal.

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: Checking the names of tables in a portal

    hi

    In Dynamics 365 portals, each portal has its own set of tables in the database, with a unique prefix for each portal's tables.

    By default, the prefix for a portal's tables is the same as the portal's website name, with any special characters or spaces replaced by underscores. For example, if your portal website name is "My Portal", the prefix for your portal's tables will be "my_portal".

    To verify which table belongs to which portal, you can look at the table name in the database. If the table name starts with the prefix for one of your portals, it belongs to that portal.

    You can also use the "Portal Management" area in Dynamics 365 to view the database prefix for each portal. In the "Portal Details" section of the portal management page, you will see a field called "Database Object Prefix" which shows the prefix used for that portal's tables in the database.

    If you have multiple portals and are unsure which tables belong to which portal, you can use a SQL query to search for tables with a specific prefix. For example, to find all tables with the prefix "my_portal", you can run the following query:

    SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE 'my_portal%'

    This will return a list of all tables with the specified prefix, which should correspond to the tables for your "My Portal" portal.

    DAniele

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans