Add Electronic Signature with DocuSign on Socialengine

SocialEngine is zend based platform which makes ease to anyone to create social network site. It is evolving as a tool for building communities based social website. Socialengine can be used to create social network website based for Ecommerce, organization, management or engaging people for something. There are lots of third-party plugins available to extend the functionality of SocialEngine. As everything is going digital nowadays and every business becomes part of it. Every business wants to manage documents digital rather than manual. DocuSign for Oracle Sales Cloud helps sales reps close deals faster, accelerate speed to results and reduce costs for eSignatures.

DocuSign is cloud-based Digital Transaction Management® (DTM) system which provides an electronic signature platform for business. It helps organizations to manage document-based transactions digitally, with the highest levels of bank-grade security, carrier grade availability and legal enforceability. Companies and individuals use DocuSign to manage transactions anywhere, anytime, on any device to increase speed to results, reduce costs, increase security and compliance, and delight customers across nearly every industry and business department.

In this article, we are going to demonstrate how to integrate DocuSign withSocialEngine to make documents management 100% digital.

Integrate DocuSign with SocialEngine

DocuSign provides different types of terms like Envelope, Document, Tab, Recipient, Template etc. All terms have different APIs to integrate with DocuSign. We are going demonstrate envelope term and how to integrate with SocialEngine. DocuSign provides SDK, API which is used to integration. You can download the minimal sample code of Docusign here which have basic API’s need to integrate. You can also refer to other programming language sample code here.

First of we need to create Docusign client object with authentication parameters. We add an API reference at top of our controller before declaring a class.

import com.twilio.client.Connection;
// Enter your Integrator Key, Email Password and version
$clientConfig = array();
'integrator_key' => "INTEGRATOR_KEY",
'email' => "EMAIL",
'password' => "PASSWORD",
'version' => 'v2',
'environment' => 'demo'
);

Once we create Docusign client object with authentication parameters then we need to instantiate client and call the Login API

// Instantiate client and call the Login API
$client = new DocuSign_Client($clientConfig);

To send envelope based signature requests we have to create an envelope. To create envelope from the document we have to create.

// "sent" to send immediately, "created" to save as draft in your account
$status = 'sent';
//*** Send the signature request!
$response = $service->signature->createEnvelopeFromDocument($emailSubject, $emailBlurb, $status, $documents, $recipients, array() );

Now we need to get recipient view using newly created envelope id. Below is the code to the user above response variable to get recipient view.

$service = new DocuSign_ViewsService($client);
$envelopeId = $response->envelopeId;
$returnUrl = 'http://' . $_SERVER[HTTP_HOST] . "/returnurl?envelope_id=$envelopeId";
$authMethod = "email";
$response = $service->views->getRecipientView(
$returnUrl,
$envelopeId,
$recipient_name,
$recipient_email,
$user->user_id,
$authMethod );
// this url can used to open in iframe or browser widnow
$this->view->url_doc = $response->url;

GetrecipientView service call returns a URL which is used to open recipient view in iframe or browser window. In this window, a user can see the documents and can fill information if required.

Conclusion

Using above example we can integrate DocuSign with Socialengine and provide a digital way to manage documents. As stated above DocuSign provides many types of different ways to integrate with other platforms. DocuSign also provides SDK for other languages which anyone can use to integrate with them.

That’s all folks and feel free to contact us in case if you have any query.

Sync your passwords across devices with google’s smart lock

How many passwords do you have to remember? How many websites and accounts need you to enter this information each and every time you open the page? Where did you put those crazy passwords anyway? Have you ever been changed your password and forget after some time. Let’s see if This “No Need to remember password with Smart Lock Password” article can help.

Now a day’s users are using dozens of websites that require a user-name and password. Trying to remember your every password is hard enough. A strong and unique password is required for every site you are going to enter the password. The stronger the password, the harder it becomes to remember, and most people take the easy way out by creating a password which is easy to remember, and possibly using the same password for more than one account. This then leaves them vulnerable to hackers and have more chances of guessing from someone.

Google identified this problem and launched the “smart lock password” at its I/O developer conference, a tool to sync and store online passwords across Chrome and Android. Now Google is combining all of its login and identity solutions into a single platform today under the Google Identity Platform. For those of you who have never wanted to remember the password, they can use Google Identity Platform which hold all of your passwords in one secure location.

As per the google, Users can signin/signup on to the chrome or android using smart lock password. Whenever you sign in to a website, Chrome asks if you want to save your password for that site. If you’re signed in to chrome, your password will also sync to your Google Account so that you can use them on android and other devices. Password that you have saved in chrome may be available to automatically sign you in on your Android devices. Passwords that you save on your Android device are also available in Chrome when you are signed in with your google account.

With the latest version of Google play Services on your phone, You will have a new “smart lock password” option in your Google settings that will let you sync those passwords to you mobile for the installed app to make use of as well. If an app developer simply plugs in a single API into their app, you will be able to download an app from Google Play and sign in with a single tap if you have already signed into that.

Conclusion

Smart lock password will reduce the risk of forgotten user passwords. Netflix, The New York Times, Instacrt, Orbiz are some of the services that have been confirmed to integrate smart lock password. Use Google Credential API to add smart lock password on their app. smart lock password have one clear advantage in general, a well made app can provide a far better user experience than even the best websites are capable of right now.

Android O : Ultimate guide you need to know

Google has done it again, releasing the Developer Preview of its next Android operating system ahead of its annual Google I/O developer’s conference – exciting news for the increasing number of Android users across the globe. Here we will discuss the things about the Android O.

Following Android Alpha and Android Beta, Google has always named its Android OS updates after sweet treats, and in alphabetical order. So far we’ve had Cupcake, Donut, Eclair, Froyo, Gingerbread, Honeycomb, Ice Cream Sandwich, Jelly Bean, KitKat, Lollipop, Marshmallow, and Nougat.

Android O: Name

Android Oreo seems to have been semi-confirmed by a Google exec. While it’s not 100% concrete, and more of nudge-wink sort of nod to the idea, Google’s senior vice president of Android, Chrome OS and Google Play, Hiroshi Lockheimer, tweeted a gif of an Oreo-based cake, which could be taken as him saying “yes, it’s Android Oreo,” if you were super generous about how you interpret this.

What’s new in Android O?

Android O introduces a number of new features and APIs to use in your apps. Here’s are just a few new things for you to start trying in this first Developer Preview:

Notification:

  • Introduces notification channels that allow you to create a user-customizable channel for each type of notification you want to display. The user interface refers to notification channels as notification categories. To learn how to implement notification channels.
  • Users can snooze notifications to reappear at a later time. Notifications reappear with the same level of importance they first appeared with. Apps can remove or update a snoozed notification, but updating a snoozed notification does not cause it to reappear.
  • You can now set a timeout when creating a notification using Notification.Builder.setTimeout(). You can use this method to specify a duration after which a notification should be canceled. If required, you can cancel a notification before the specified timeout duration elapses.

 

Autofill APIs:

Users can save time filling out forms by using autofill in their devices. Android O makes filling forms, such as account and credit card forms, easier with the introduction of the Autofill Framework. The Autofill Framework manages the communication between the app and an autofill service.

Filling out forms is a time-consuming and error-prone task. Users can easily get frustrated with apps that require these type of tasks. The Autofill Framework improves the user experience by providing the following benefits:

  • Less time spent in filling fields Autofill saves users from re-typing information.
  • Minimize user input errors Typing is prone to errors, especially in mobile devices. Removing the necessity of typing information also removes the errors that come with it.

PIP for handsets and new windowing features:

Android O allows activities to launch in picture-in-picture (PIP) mode. PIP is a special type of multi-window mode mostly used for video playback. PIP mode is already available for Android TV, It makes the feature available on other Android devices.

When an activity is in PIP mode, it is in the paused state, but should continue showing content. For this reason, you should make sure your app does not pause playback in its onPause() handler. Instead, you should pause video in onStop(), and resume playback in onStart(). For more information, seeMulti-Window Lifecycle.

To specify that your activity can use PIP mode, set android:supportsPictureInPicture to true in the manifest. (Beginning with It, you do not need to set android:resizeableActivity to true if you are supporting PIP mode, either on Android TV or on other Android devices; you only need to set android:resizeableActivity if your activity supports other multi-window modes.)

Font resources in XML:

Android O introduces a new feature, Fonts in XML, which lets you use fonts as resources. This means, there is no need to bundle fonts as assets. Fonts are compiled in R file and are automatically available in the system as a resource. You can then access these fonts with the help of a new resource type,font also provides a mechanism to retrieve information related to system fonts and provide file descriptors. For more information, about using fonts as resources and retrieving system fonts, for more about fonts see Working with fonts.

 

Adaptive icons:

Adaptive icons display in a variety of shapes across different device models.

Android O introduces adapti