Regarding to SharePoint Online Customization

SHUO .H 706 Reputation points
2021-01-24T08:24:57.9+00:00

Hi there,

I know we could custom our feature by using SPFX and CSOM in SharePoint Online. My question is what the different between SPFX with CSOM? SPFX is for UI designation? APP for CSOM?? Is it correct? What kind of situation do we use APP? or both of them is the same?

Thanks

Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
647 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,827 questions
0 comments No comments
{count} votes

Accepted answer
  1. MichaelHan-MSFT 18,036 Reputation points
    2021-01-25T03:07:04.937+00:00

    Hi @SHUO .H ,

    For the SharePoint Framework (SPFx), you could refer to this article: Overview of the SharePoint Framework

    The SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data, and extending Microsoft Teams. With the SharePoint Framework, you can use modern web technologies and tools in your preferred development environment to build productive experiences and apps that are responsive and mobile-ready.

    Key features of the SharePoint Framework include:

    • It runs in the context of the current user and connection in the browser. There are no iFrames for the customization (JavaScript is embedded directly to the page).
    • The controls are rendered in the normal page DOM.
    • The controls are responsive and accessible by nature.
    • It enables the developer to access the lifecycle in addition to render, load, serialize and deserialize, configuration changes, and more.
    • It's framework-agnostic. You can use any JavaScript framework that you like including, but not limited to, React, Handlebars, Knockout, Angular, and Vue.js.
    • The developer toolchain is based on popular open-source client development tools such as NPM, TypeScript, Yeoman, webpack, and gulp.
    • Performance is reliable.
    • End users can use SPFx client-side solutions that are approved by the tenant administrators (or their delegates) on all sites, including self-service team, group, or personal sites.
    • SPFx web parts can be added to both classic and modern pages.
    • SPFx solutions can be used to extend Microsoft Teams.

    The SharePoint client object model (CSOM) is one of SharePoint apis to to retrieve, update, and manage data in SharePoint.

    In Short, SPFX solutions are client-side(no permission elevation) and use JavaScript, it's "front-end". For "back-end" (C#code), CSOM is only the option.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.