embedding Latest webchat on sharepoint modern site - sharepoint

i have one sharepoint modern site and i am using it as masterpage. i want to embed the microsoft webchat on this master page using the Js provided by microsoft.
help me to make it possible.

As far as I know, customizing master page is not supported on modern sites currently. You could refer to this article for more:
https://learn.microsoft.com/en-us/sharepoint/dev/solution-guidance/modern-experience-customizations-customize-sites
You could try to use embed web part on a modern page to embed the webchat. Read this article about using the embed web part:
https://support.office.com/en-us/article/add-content-to-your-page-using-the-embed-web-part-721f3b2f-437f-45ef-ac4e-df29dba74de8

Related

How do I integrate Dialogflow with new Google sites?

It looks like new Google sites does not support scripting. Is there any other way I can integrate Dialogflow with Google sites besides using embed code? I'd like a chat widget to pop up on the website.
Only Classic Sites (Previous version) supported Apps Script where you might have been able to add that.
New Sites, the closest thing that can be added to it are HTML and JavaScript as suggested by their official documentation.
Reference
https://support.google.com/sites/answer/90569?hl=en#zippy=%2Cadd-html-css-or-javascript-code-to-your-site

Using SPFx solutions styling in the SharePoint App

For those of you using SharePoint Framework solutions, how are you handling and approaching the different user experiences of the SharePoint App vs the mobile browser? Particularly for custom navigation elements in application customizers / extensions?
The biggest hurtle is custom styles for mobile navigation. In the SharePoint app, the site header experience and style is much different than the mobile browser. Are UserAgents -> "(navigator.userAgent.indexOf('iPad')"the way to go? Even so, is there a UserAgenet specified for the mobile SharePoint app?
enter image description here
Only thing that you can handle this is Responsive Layout: https://developer.microsoft.com/en-us/fabric#/styles/layout
All other things SPO does for you.

Client Side Rendering & SEO optimization

I want to understand why client side rendering makes it bad for SEO? Are there any articles about this? Isn't the data rendering already from the server and it's just a matter of making it look like anything we want in JavaScript, how will this affect SEO?
Thank you.
The simple answer is that when you render the site with JavaScript you require JavaScript to see the page, right? Well, Google bots don't run JavaScript so in the best case they'll just see plain text.
Nothing wrong with plain text though. The most important thing is that the same info is on the page even without JavaScript.
Can you be more specific on how you planning to implement client side rendering?
Why would you like to use SEO for a SharePoint site?
SharePoint has already a very good native search engine.
Please take in count that using sharepoint as a public website is no longer recommended, furthermore Microsoft and any SP professional will discourage you from using it in that way. Microsoft has already dropped the public website feature from SharePoint Online (Office 365), and as you may know the current Microsoft strategy is “Cloud first, Mobile first” so you can expect that in the middle term most of the ways and patterns will be equivalent in SP Online and SP on-premise. So I'm not saying that you can't do this with a SharePoint server exposed to internet, however you shouldn't continue doing it, considering that you can use web services to call/get sharepoint content from any other web platform in case you need to publish some sharepoint content in a public website.
http://support.microsoft.com/en-us/kb/3027254/en-us
https://www.linkedin.com/pulse/sharepoint-public-website-platform-any-more-marwan-tarek

Using "Google Tag Manager" with "Google classic Sites"

I'm trying to use Google Tag Manager for a site created using Google classic Sites, but I haven't had any luck so far. This question seems to have been up on a few forums, but I was not able to find any definitive answer to this end.
Help would be greatly appreciated!
You've probably seen this page - Configure Google Analytics for Google Sites, but I don't believe there is a way to add custom javascript to a google sites page, at least not yet. You might be better off buying your own domain and hosting it somewhere if you want access to GTM.
You can now use the 'embed' option in google sites to add arbitrary html/css/javascript to the site. I added the tracking code created by google tag manager and embedded it in the footer of my google site.
Directions from Google

Hosting Google Apps UI in my app

I'm investigating the possibility of re-using Google Apps/Docs in a local hybrid desktop/browser application.
I've been going through the Google documentation on manipulating docs, eg. the Spreadsheet. I can't seem to find any info on actually hosting the UI. Is this possible, or does it require some form of permission from Google?
You want to basically embed an browser control in your application pointed at the URL of a Google Apps doc? You could use the Google Document List API to retrieve the documents for a user, then use the URLs of those documents in your embedded browser control.
You don't need Google's permission to do that; you're writing a browser with some extra smarts built in.
What do you mean by "hosting the UI?" These apps are HTML/CSS/JavaScript. Are you thinking about embedding them in AIR or Titanium, or in some kind of web control in another app?
i briefly looked into doing this, and figured if i really wanted to i could just load the gdocs page content dynamically, and use javascript to strip away the superflous elements like header and footer. but instead i'll probably just use an OS alternate because they have come a long way and I want rich hooks.

Resources