Integrate Google Calendar or Similar plugin in AngularJS - angularjs

I have researched but didn't found any suitable link.. I want each Google Calendar's functionality to be available in my app either via Google calendar or any third party AngularJS library. Any help will be highly appreciated.

You can download the API clients for Javascript and plug it into your angularJs application easily, https://developers.google.com/google-apps/calendar/downloads
Basicly what you need to do is call the API using you API keys, you can do that with a simple $http.{post|get}() method.

Related

How to add existing react js app to saleforce?

I have a react js app built long time ago that uses 3rd party libraries and APIs, now I want to add this app to saleforce. Is there a way to add the existing react js app or do I have to build a new app using the saleforce development tools? Any advise and help is appreciated.
Can you live in an iframe? There's lightning:container tag that could help you. Search questions or blogs that mention it, on SO and on dedicated https://salesforce.stackexchange.com/. Iframe sounds meh but there are ways for it to communicate with parent ("canvas apps" in documentation - and it has nothing to do with <canvas> tag), silently log in to SF, use REST API...
You could try to rewrite your app to native Aura/LWC but you won't be able to call APIs directly from JS. You'll have to pass through SF server-side language called Apex. Which is doable but more for you to learn. There are some more restrictions, although light DOM and LWS help with these, many things Locker service blocks are OK in LWS.
There's also hybrid approach with loading your app as a library?

React document upload with plupload

Sorry if this is already been asked and covered in another question.
We are looking forward to implement multi-part document upload (including drag and drop feature) in react web application using plupload library. Planning to reuse existing document service for upload.
I could not find any NPM package of Plupload which i can integrate with my react application.
Do we need to consider wrapper to integrate Plupload.
Also, please suggest, if we should consider any other library, incase plupload does not support it?
Kindly suggest. Thank you in advance.
UPDATE -
We are using Drag zone for UI integration
May need to see, how we can implement chunking logic while hitting document service.
a. We are thinking can we use FileReader from Mozilla developers.
b. May need to see, if we can use any wrapper for service integration.
Thanks, please suggest if you have any suggestion.
3.
You can use this library to use the functionalities of Pulpload in react
https://www.npmjs.com/package/react-plupload

Integrate Salesforce Einstein chatbot in website built using Dot Net and Angular

I am trying to add chatbot feature to my website (built using .Net and Angular). So, I am thinking of using Salesforce Einstein Chatbot for it. But is it possible to add Einstein chatbot feature to my website as I don't see any results on google on how to integrate Einstein chatbot to external website built using .Net and Angular.
There's nothing special about Angular and out of the box chat uses only Salesforce, there's no .NET integration. What have you tried so far, what problems/errors you have? We are not a magical free code writing service.
After you finish configuring the bot you end up with a piece of JavaScript code you have to put on your site (can be in otherwise plain html page or Angular app or whatever)
If you don't have the bot yet, https://trailhead.salesforce.com/content/learn/modules/service_bots_basics and https://trailhead.salesforce.com/en/content/learn/projects/build-an-einstein-bot are good start.
Once you have it, go to Setup -> Embedded Service Deployments and you should find piece of HTML to inject into any page you want.
You might have to "Angularize" it, put the initialisation into page load event (How to execute AngularJS controller function on page load? ng-init? I don't know, I'm not Angular dev), maybe move styles to separate file.

Send mail by using Strapi and React.js

Since one month me and my team are working on a project with React as frontend and Strapi as our backend.
We need to do a form that has to automatically send e-mails by using the Strapi e-mails plugin.
However, we're still beginners with those technologies, and we aren't able to implement this kind of functionnality.
Is anyone familiar with Strapi and also this plugin ?
We don't find a lot of tutorials and documentation about it on the web.
Thank your for paying attention.
you can follow instructions of this guide - https://strapi.io/documentation/3.0.0-beta.x/guides/send-email.html#introduction
You can create a custom route/controller to manage your contact form.
Here is an example - https://strapi.io/documentation/3.0.0-beta.x/concepts/controllers.html#example
Make sure to create a POST route.
Then in your controller, get your form data with ctx.request.body

Technologies to create a hybrid application in Cordova

This is not a programming question. If it is not appropriate to post it here, just advise me some place worth to share this.
What would be best to know in order to startup a project in Cordova. What i need to know is that in order to create a working web and android app what should i use?
So far
I use Cordova.
Ionic for GUI.
PHP and MySQL for back end
Angular JS for client side and controller for the app.
JSON
Do I have to use AJAX as well? if so, where would it fit?
"Do I have to use AJAX as well? if so, where would it fit?"
Yes, you should build a Single Page Application inside Cordova using any framework that you desire. Ionic/Angular is a valid choice here, other options include JQuery/Bootstrap, React JS, Framework7, OnsenUI and pretty much any combination of JS single page application framework and mobile focussed web front end framework that you like and can make work together.
For going beyond what the web view can do you'll use off the shelf plugins, or write your own which will need Java / Objective-C / C# or Swift skills depending on which platforms you're using.
As you want to be building a single page application you will need to make AJAX calls to get resources from servers, call APIs and the like. Do this using the mechanism built into your chosen framework, e.g. $http service with Angular, $.ajax for JQuery etc.
With angular you can use AngularJS $http
Link to Angular documentation: https://docs.angularjs.org/api/ng/service/$http

Resources