How to create custom content editor web part in SharePoint - sharepoint

How to create custom content editor web part in classic experience of share point online ?

SharePoint Online classic experience provide OOTB Content Editor Web Part, you could directly use it to embed custom CSS/JavaScript code:
Content Editor Web Part

Related

SharePoint as presentation layer for Azure SQL and Blob

We currently have a simple requirement to present our users with a table of records. Each record has link to a PDF stored within Azure storage. We need to have our users be able to click on a record and be able to view (in line) the associated PDF.
We currently use SharePoint Online and cannot store the data within SharePoint itself (organisational policy).
Is it possible to create a SharePoint site/web part etc to do the above? We are scoping out options.
Yes, SharePoint has several ways to do that.
Your best bet may be a custom list with a custom URL column for the link to the PDFs. Then you can insert a list web part on a page.
This approach works with modern pages and with classic pages.
If you use a classic interface, you could also create an out of the box links list, but that list type does not have a web part for the modern experience, so it will only work on classic pages.
SPFx webpart can be inserted into modern page or classic page.
And you could call AD-secured APIs(custom service) in SPFx, so you could create a custom service host in Azure and consume from SPFx webpart.
Connect to Azure AD-secured APIs in SharePoint Framework solutions

Deploy Custom Action to SharePoint 2019 list using SPFx extension

I have a requirement to use SPFx and provide a custom action button in a list in SharePoint classic site. This button should be available in the ribbon work in both the SharePoint modern site and classic sites too.
I have to use SPFx for the development of this.
Any help would be appreciated.
Thanks
Unfortunately there is no way to use SPFX Extension on classic site. If the requirement is to have an action in both, modern and classi, you have to create two separate "applications".
Build your first ListView Command Set extension (SPFX)
Add and Modify User Custom Actions Using JavaScript (classic)

How to create customized web parts using sharepoint designer 2007?

I want to create a new customized web part through sharepoint designer not using the default one. Can anyone tell me is this possible to do it in sharepoint designer? or do I need any other software to do this?
Generally speaking, SharePoint designer doesn't do custom web parts. You can do some work with dataview web parts to retrieve data from external systems, but for the most part you need Visual Studio to create a custom web part. Here is a basic tutorial.

What is the use case for a "Mixed" ASPX+ Portal page template?

Reading this question regarding using portal engine vs. aspx, there is also the option for a "Mixed" template which the training defines as:
This page template is based on an ASPX page located in the path specified in the File name field. ASPX+ Portal page templates are based on an ASPX page with additional page components that enable the Design tab.
What isn't clear is what the use case is for this mixed template. When would you use this versus the other two?
Update
I read the following in the Developer Training materials:
Sometimes, you may need to combine ASPX page templates or external ASPX pages with
Portal Engine page templates on a single web site. When developing or maintaining a
web site built on ASPX page templates, you must manually modify the code of a page
every time you want to change its design. But you can add flexibility to ASPX templates
by defining areas that can be edited directly through the browser using the CMS
administration interface (similar to the Portal Engine development model).
This explains clearly that it is a true hybrid where you have both ASPX template and Portal Engine functionality, but it isn't clear what benefit you have by using this approach versus a Portal Engine template that utilizes widgets or web parts.
I'd say there is no "benefit" as such. You can use this mode e.g. when you are migrating existing ASPX web site to Kentico portal engine pages and replacing components (such as controls and web parts) one by one. When you finish the migration you can switch to portal engine mode. The goal was to provide this functionality for those who need it. It is recommended to use portal engine as you have complete control over the pages from CMS Desk.
The most common place I use them is when adding templates to a site using ASPX page templates, usually sites tend to have a content page, where I can swap out the controls (usually editable regions) with web part zones, then use that one template file to create multiple ASPX + Portal templates.
That way I can add a lot of new functionality into an existing site, without having to create half a dozen new .aspx templates.
I imagine it's also still useful for a new project where you want to keep your templates under source control, while utilizing the portal engine/web part functionality of Kentico.

Integration between Project Web Access and SharePoint (Gantt Charts)

I'm a newbie to using Project Web Access and I wondered if someone can guide me by giving links that help in integration of SharePoint site with Project Web Access.
What I want to do is to generate Gantt charts inside a regular SharePoint site. I know that there is a standard view to generate charts in SharePoint but I need the more customizable view in Project Web Access.
You should be able to add the Project Details web part into the project workspace. That will allow you to use its Gantt Chart view.

Resources