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)
Related
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
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
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.
I am newbie to Sharepoint.
I want to create workflow as template using Sharepoint designer and deploy it as feature.
Following link Workflow Deployment Using Features suggests, this can be achieved in visual studio.
I have following questions
1. Can sharepoint foundation has workflow as template
2. Can we deploy workflow made in designer as feature
If answer to both these is yes, please share some links to get started for these.
You can use Reusable workflow for this.
Assuming you are on SharePoint 2010,
Create a new reusable workflow.
Save it and publish it and test that it works fine
In the ribbon, use Save as Template option to save it.
It will get saved in Site Assets Library as wsp form where you can download it and upload to other sites as wsp and activate the feature to use it there.
More information can be found here:
http://msdn.microsoft.com/en-us/library/ee231580.aspx
I know how to in the settings activate publishing feature on a site but is it possible to have this by default when a new site is created from the UI?
I have some customized stylesheets and when a new team site is created it doesn't load these but instead looks like a sharepoint site out of the box. When I go to settings and activate publishing features the page reloads with the custom stylesheets. I wish to not have to do this every time a new site is created. Is there a solution to this?
Thanks in advance.
I guess you could either:
Build a site template (can't remember if these store feature activations)
Build a custom site definition, and activate the features you need
Build a stapling feature to tie your feature to the site definition