SharePoint as Digital Asset Management for Pimics
It is possible to use SharePoint as Digital Asset Management.
How to set an integration from Pimics to SharePoint
When you set it up this way, when you upload a picture or document to Pimics, the document will be created in a SharePoint's library and preview is genreted in Pimics.
This scenario support one library per each document type (Pictures, Documents, Graphics, Media). All libraries have to be on the same site.
Create an application in Azure Active Directory
- Create a new application
- You can follow steps in Register a new application using the Azure portal
- Keep the Redirect URI empty
- Select permissions for the application
- Permissions should be the same as on the picture
- Permissions should be the same as on the picture
- Generate new secret for the application
- Open https://portal.azure.com/, search for Azure Active Directory, open the related link, select App registration and your application from point 1.
- In the app details, go to Certificates & secrets
- In the Client secrets group select action New client secret
- In the new page, select Never in Expires
- Select OK to create the secret
- On the certificates pages you see the client secret in Value copy it and store it somewhere, ti will be not possible to recovery it from the Azure Active Directory
Create a new site with libraries in SharePoint
Set the connection in Pimics
- Search for Document Setup
- Select SharePoint in Repository Type
- In group SharePoint specify:
- PageUrl, if you use Business Central SaaS it is tenant Id
- ClientId the identification of client from Azure Active Directory
- ClientSecret the client secret from Azure Active Directory
- Use lookup in DefaultSite to select a site from SharePoint
- Use lookup in RefDocument to select a library from the site
- Repeat line above to specify RefPictures, RefMedia, and RefGraphics if it is necessary.
- Select OK to close the page and finish the setup
How to setup integration from SharePoint to Pimics
This scenario is used mainly when you want to manage pictures or documents in different libraries in SharePoint.
For this integration you will need to have a Microsoft flows. This documentation doesn't describe these steps in details, just in generic way to understand the concept.