Contact us directly to discuss your specific requirements, help you with purchasing, or with any other questions.
Go to your Square developer account https://squareup.com and create an app.
Give your application a name:
Copy your Personal Access Token. We are going to use it in the Layer2 Cloud Connector. You can also use the OAuth to generate a client id in order to use the OAuth flow to authenticate.
We are going so synchronize our Square to a custom SharePoint list.
Your initial synchronization should always be uni-directional to assure that both data entities are identical before switching to bi-directional syncs.
Create a new connection in the Layer2 Cloud Connector, name it and set the direction to uni-directional.
Select the provider for
Select the source system and name it.
Set the connection string with the parameters from your
Connection String:
OAuthAccessToken=your_token;InitiateOAuth=GETANDREFRESH;
The Select statement:
SELECT * FROM Items;
Set your primary key too.
If everything runs fine you will be prompted to login and your data will be visible after.
We are going to send the data to a custom SharePoint list. Create the list first with the desired columns and copy the URL.
For more information about the SharePoint provider visit:
https://www.layer2solutions.com/support/cloud-connector-faqs/layer2-csom-sharepoint-ado-net-provider.
Connection string:
URL=https://your_custom_sharepoint_list_url/AllItems.aspx;Authentication=Office365;User=User@domain.com;
Enter your password in the dedicated field and a primary key.
If the fields from SharePoint are named identical to the fields from the source system, the auto-mapping function will match appropriate columns. We mapped our fields manually in this case.
You can now run your connection.
Data overview on the Square entity.
And the transferred data to our custom SharePoint list.
To see all the tables and views you can access with the Square provider, use these queries in the Select statement:
SELECT * FROM sys_tables
SELECT * FROM sys_views
If there are more tables or views available, you can load them with the option "load more" in the popup window.
As far as tested, the connection direction supports uni-directional as well as be bi-directional synchronizations.
If you try to make multiple operations at the same time, you can get the error batch operations not allowed. Set the parameter Other=’BatchSize=1’ in your connection string to avoid this error.