create a custom left navigation for default.aspx in sahrepoint O365 - sharepoint-online

I am presently working in Sharepoint O365. I need to build a custom left navigation for only my default.aspx page using Sharepoint designer, while keeping the normal navigation for the rest of the site. I have seen it is possible in Sharepoint 2010. However, I am unaware of any workaround in O365. Any knowledge regarding this shall be appreciated.

Please check the codeless solution:
Custom Left Navigation in SharePoint 2013
Or use custom html code to make a navigation:
https://www.w3schools.com/howto/howto_js_sidenav.asp

Related

sharepoint online custom web part with jquery to realize multi-comments

As we know, we can enable comments in the sharepoint admin center, but it just shows in the bottom of sharepoint modern page.
I want to realize custom webpart and add more than one comments in a sharepoint mordern page as below:
enter image description here
can any helps?
The built-in page comment web part in SPO modern UI has not been exposed, we can't make use of it. We need to develop a custom SPFx web part. There is a plugin "jquery-comments", we can use it in the webpart. Please take a reference of below demo:
https://github.com/kongmengfei/SharedSPFx/blob/master/js-advanced-commenting/README.md
Test Result:
Related references:
https://developer.microsoft.com/en-us/office/blogs/sharepoint-framework-community-call-recording-12th-of-march-2020/

SharePoint Designer 2013 Edit Site Pages

Here i have a issue with SharePoint Designer 2013, an Modern site page was build on SharePoint Online. But i need to customize the modern page and adding url to quick links.
Though modern page doesn't support CEWP or SEWP it's hard to custom the page. But what i am looking is to edit the site pages from SPD 2013 and if i edit the planner.aspx will changes save, unfortune i have Url to navigate the user from the one page to other url(https://...Planner.aspx).
What i want is when user clicks on above link, it should open in new tab and i have to align the page with Css branding. i am adding something like this to open in new tab using SPD href="/abc/xyz/3/SitePages/Planner.aspx?web=1 target="_blank" but no luck at the end.
Looking for an solution, Thanks in advance !
As far as i understand, using SharePoint Designer is not supported for modying the SharePoint modern experience.
You should be using the SharePoint Framework to modify your pages, you can see the full list of supported modifications here:
https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations
However, if you are used to using CEWP and SEWP, you can deploy an app which replicates the functionality in the modern pages
https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-script-editor
Atlthough this is probably not supported either, it should allow you to make the changes you want.

Custom SharePoint List forms in SharePoint Framework

We are migrating old SharePoint 2010 On Premise code to SharePoint Online.
Part of the SharePoint 2010 on premise code has custom list forms developed with visual Studio.
Thought of using JSLink for custom forms while migrating the code to SharePoint Online but it seems that JSLink is only supported in classic experience and not in modern new experience.
Is there any way we can develop custom list forms on SharePoint Online with modern new experience? Is it possible with SharePoint Framework?
Note:
Tried by adding forms to list instances on SharePoint Hosted Add In but it targets the AppWeb lists and not the lists on HostWeb.
Well you can use react in modern web part to build any custom form. We can reuse components.
Another option is to use Power Apps similar to info path to design and add validation on list form.
https://abdulazizfarooqi.wordpress.com/
Another option is to use Content Editor webpart and add bootstrap html forms.
I hope it may help u.
Coding in Classic View is the only solution to your query. Once you are done coding in classic, you can switch/migrate to Modern View Experience.
In this way, your form will be visible and lists will also be consumed.
Nope!.. Modern sites are totally different development model So JSLink is not possible but you can use SharePoint framework extension to achieve the customization for the list.
Please follow the link below
JSLink to SPFX extensions
Please mark if accepted as answer

Customize a WebPart without "target audiences"

Hy,
I use SharePoint Foundation 2010 and I learned that the "target audiences" are disabled on the Foundation version.
I need to customize a WebPart on a wiki page when A user of a certain group is connected.
Have you an idea ?
Thanks
Sam
Alternatively you can add a new web part page in your SharePoint site
and then add this Documents web part on the page. Once it is done,
Give access to only intended users for this page. Which means control
access at page level.
source
I have found a solution.
I insert JavaScript code in a WebPart in my wiki page from my SharePoint.

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