RSForm!Pro Google Drive
Your form submitted data can be sent to your Google Drive using this plugin. The RSForm!Pro Google Drive plugin allows you to connect to your Google Drive and upload submitted files within the desired destination folder.
Install
In the backend area go to the Extensions > Manager > Install page, and install the plugin. Next thing is to publish the plugin from Extensions > Plugins, search for the "System - RSForm! Pro Google Drive" plugin.
Connecting to Google Drive
- Access Google Developers Console.
- Login using your Google account and Create a new Project.
- Add a project name, organization, location and click on the "Create" button (wait a few moments after you click the create button to load your project, otherwise you can manually select it).
- In the Dashboard view search for "Google Drive API" and access it.
- Enable the "Google Drive API" by clicking on the "Enable" button at the top.
- Click on "Credentials" from the left sidebar.
- Click the "Configure Consent Screen" button.
- Enter a application name (for example: RSForm!Pro Google Drive) and click Save
- Next click on the "Create Credentials" button and select the "OAuth client ID" option.
- Select "Web application" and add a Name.
- Within the "Authorized JavaScript origins" add your website (for example: https://www.rsjoomla.com). If you're on localhost you can leave it blank.
- Within the "Authorized redirect URIs" add the already generated URL found via backend > Components > RSForm!Pro > Configuration > Google Drive > "Redirect URI".
- Click the Create button.
- Now, two keys will be generated, client ID and client secret that you have to be placed in your installation within backend > Components > RSForm!Pro > Configuration > Google Drive > "Google Client ID" respectively "Google Secret" fields.
- Use the top "Save" button to save your keys (these have to be firstly saved).
- After the page refreshes, you'll find a new button "Authenticate" which you'll have to click. Doing so will redirect you to Google to choose your Google account and will ask you to Allow the application.
- Clicking the Allow button will redirect back to your website where a successful green "Access token successfully stored!" message should be encountered if everything was properly configured. Eventually you'll view more data being specified within the Google Drive tab of your RSForm!Pro configuration, though there's no need to further change anything here.
Mapping Submission Data
- Access your form in the backend > Components > RSForm!Pro > Manage Forms > your form > Form Properties > Google Drive Settings tab.
- Enable the "Use Google Drive" option.
- Either choose to "Delete locally stored file after uploading to Google Drive" or not.
- Sync fields with the corresponding drive folder - In this area you will need to select in which Google Drive folder the selected files will be saved when users are uploading files using RSForm!Pro's File Upload field.
Get 50 Cents for every review you add.