Fetch list of apps from app catalog in SharePoint using server side code

simanchal padhi 20 Reputation points
2023-03-30T11:25:52.0966667+00:00

Dear Techies,

I have a requirement where I want to fetch the list of app present in app catalog in SharePoint using server side code.

Can anyone please share the sample server side code how to fetch the list of apps present in app catalog.

Thanks & Regards,

Sim

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,246 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,826 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,364 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,706 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,834 questions
0 comments No comments
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 32,081 Reputation points Microsoft Vendor
    2023-03-31T02:35:25.1933333+00:00

    Hi @simanchal padhi

    As far as I know, there is only CSOM API AppCatalog class provides querying capabilities for discovering installed Apps, in particular AppCatalog.GetAppInstances method retrieves the installed app instances. In server side object model, there is no such function to fetch apps in app catalog. You can refer to the following document

    https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint2003/dd586604(v=office.11)


    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful