Sharepoint icon in titlebar - sharepoint

How can I add button icon in sharepoint site titlebar for connect to teams channel like in screenshot?

I don't think there is some OOTB solution for that. I think you would need to create a spfx extension application customizer and in it add code to append your custom html to the app page header title.
Please be aware that this is rather unrecommended approach to use site html as api, but unfortunately I think this is the only solution for your requirement

Related

IS it Possible to remove the left hand and top nav of SharePoint Site

IS it Possible to remove the left hand and top nav of SharePoint Site.
My test page just like below:
For the app bar, you could hide it with PowerShell.
Connect-SPOService "https://crescent-admin.sharepoint.com"
Set-SPOTemporarilyDisableAppBar $true
But for the top nav, there is no native way to hide it.
You need to hide it with your custom CSS code and inject the CSS code into SharePoint using SharePoint Framework Extension.
It should be noted that subsequent updates of SharePoint may change the page structure and cause the CSS selector to fail.
A blog for your reference:Inject Custom CSS on SharePoint Modern Pages using SPFx Extensions
You could download the SPFX app here:https://github.com/Haiqi-Wu/SharePoint-FrameWork-Demos/tree/master/react-application-injectjs-master
SharePoint Framework Documentation:https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview

How to insert/add logo before the top navigation in SharePoint

Is there a way to insert/add logo before the top navigation in SharePoint ? Currently we have Home link and we want to replace it using a logo instead.
Thanks!
Assume you are talking about SharePoint online development. I suggest using command set in SharePoint Framework.
The Command Set is the only type of SharePoint Framework Extension for which you can configure icons.
When deploying Command Sets, you can choose whether their commands should be visible on:
The command bar (location: ClientSideExtension.ListViewCommandSet.CommandBar)
The context menu (location: ClientSideExtension.ListViewCommandSet.ContextMenu)
Both (location: ClientSideExtension.ListViewCommandSet)
You can use an external icon image or a base64-encoded image as your icon image.
References form here
Also, there is a third party option. it will be less work just to change a icon but also limited choice of icons which they've provided.
ShortPoint can customize SharePoint Global Navigation and allows you to utilize ShortPoint Icons in your navigation.
The result will be something like this. Reference here.
So depend on your need, SPFx will give you more freedom and Shortpoint will take less work.
As for SharePoint On-premises. I think these below links can help you.
Customizing SharePoint 2010 global navigation with Css and jQuery Link
Top Navigation By Ryan Keller Link
Customize the navigation on your SharePoint site Link
Hope this can help you.

Adding HTML controls to SharePonint 2010 quick launch

We are migrating Lotus Notes application to SharePoint 2010. There are around 200 views on navigation pane of Lotus Notes. In order to provide similar kind of look and feel on SharePoint I am thinking to add dropdown on quick launch of my site.
Is it possible to add HTML controls like dropdown and add a functionality to navigate to respective view? Or else what could be the better solution for this case?
Thanks,
Pratima
You can use the ASP.NET placeholders available in the masterpage to host a control or WebPart beside the Quick Launch. The actual QuickLauch is generally customized by JavaScript unless you want to replace it with a completely new class.

Open a custom webpart from the other custom webpart through a link button

How to Open a custom webpart from the other custom webpart through a link buttom.
I have a custom webpart in which i have a link buttons of all other custom webparts in that page.On click event the particular webpart should be open.
can anyone please help me in solving this...
What do you mean by "Open a custom webpart" ?
If you want to make some operations on webparts, you can use the splimitedwebpartmanager
you need to follw this step to open the custom web part on page:
(1) create seperate page for each custom web part.
(2) add web part on the page.
(3) set url to related web part page.
hope this help.

Creating Dynamic Sitemap in SharePoint

I have developed a publishing portal in sharepoint.I have a requirement wherein I need to create sitemap for the entire web application.
This should be dynamic, in the sense, whenever we update the contents of any given page in our web application, it should be reflected immediately in the sitemap page. What are the possible ways to achieve this and which is the best possible solution considering the scalability and easy configuration?
Thank you.
If you don't want to use a custom webpart, you could use normal navigation list to create your sitemap and it is automatically updated. You only need to style it in a way to resemble some kind of sitemap.
Here are some links to get you started with customizing your navigation:
Custom Navigation in SharePoint - The Full Monty
How to: Customize Navigation
Also there is the portal site map which provides the data source for your custom menu. Just read up on custom navigation and stuff like PublishingNavigation:PortalSiteMapDataSource and SharePoint:AspMenu.
There is a nice PowerShell script to create a sitemap for SHarepoint 2010, if you want to submit your sitemap to Google: Generate A Sitemap For SharePoint 2010 Using PowerShell'.
You can also install and customize the SharePoint Web part ("Table of Contents") to your liking. Read up on it here...
Take a look at our ECS product, it is close to what you need
http://www.infowisesolutions.com/product.aspx?id=ECS
It was built as a system of cross site collection navigation, with security trimming and permissions inheritance between site collection.

Resources