This document provides the necessary information to run the Image Sync Utility, which syncs images from the Aptify database to e-Business.
Pre-requisite step for configuring Image Sync Utility:
Before configuring the Image Sync Utility, follow the steps mentioned in Creating Stored Procedure for Company Images Sync.
Configuring Image Sync Utility:
For syncing the product and company images available in the database to the images folder of the website, Image Sync Utility needs to be run.
Follow the below instructions for configuring the Image Utility:
- Login to the Smart Client application as an administrator. Select Product Maintenance application -> '
Sync Image Record
' services.
2. Create a new record under Sync Image Records services with the following details (Refer the snapshot below):
Entity: Products
Field Name: Photo
Category: ProductDetails
Save and close the record.
3. Create a new record under 'Category
' with the following details (Refer the snapshot below):
Name: ProductDetails
Width: 100//This case be changed by the user based on the size of the image required.
Height: 100 //This case be changed by the user based on the size of the image required.
No Image: NoPhotoAvailable //This can be changed by the user with any other image required.
Image Format: Jpeg //This can be set to 'png' as well.
Naming Convention: RecordId.Extension
Sync Path: <Database Server>\inetpub\wwwroot\UI\Images\large // The path 'c:\inetpub\wwwroot\UI\Images\large' can be used if the setup is installed on the default path. Else update the same to reflect the appropriate site path where the setup is installed.Update the 'Sync Path' field to reflect the following: '<e-Business Web setup path>\UI\Images\large' folder.
Save and close the record.
4. Create a new record under 'Sync Image Records
' services with the following details (Refer the snapshot below):
Entity: Products
Field Name: Photo
Category: ProductCatalog
Save and close the record.
5. Create a new record for 'Category
' with the following details (Refer the snapshot below):
Name: ProductCatalog
Width: 50 //This case be changed by the user based on the size of the image required.
Height: 50 //This case be changed by the user based on the size of the image required.
No Image: NoPhotoAvailable //This can be changed by the user with any other image required.
Image Format: Jpeg //This can be set to 'png' as well.
Naming Convention: RecordId.Extension
Sync Path: <Database Server>\inetpub\wwwroot\UI\Images\thumbnail // This path 'c:\inetpub\wwwroot\UI\Images\thumbnail' can be used if the setup is installed on the default path. Else update the same to reflect the appropriate site path where the setup is installed. Update the 'Sync Path' field to reflect the following: '<e-Business Web setup path>\UI\Images\thumbnail' folder.
Save and Close the record
6. Create a new record under 'Sync Image Records
' services with the following details (Refer the snapshot below):
Entity: Companies
Field Name: Logo
Category: Company
Stored Procedure: spGeteBusiness7_0CompanyImages
Save and close the record.
7. Create a new record for 'Category
' with the following details (Refer the snapshot below):
Name: Company
Width: 50 //This case be changed by the user based on the size of the image required.
Height: 50 //This case be changed by the user based on the size of the image required.
No Image: NoPhotoAvailable //This can be changed by the user with any other image required.
Image Format: Jpeg //This can be set to 'png' as well.
Naming Convention: RecordId.Extension
Sync Path: <Database Server>\inetpub\wwwroot\UI\Images\company // This path 'c:\inetpub\wwwroot\UI\Images\company' can be used if the setup is installed on the default path. Else update the same to reflect the appropriate site path where the setup is installed. Update the 'Sync Path' field to reflect the following: '<e-Business Web setup path>\UI\Images\company folder.
Save and Close the record
8. Close the SmartClient application.
Running the Image Sync Utility
Perform following steps for running the image sync utility:
- Log in to the Web server where the e-Business setup is placed.
- Traverse to the 'ImageSyncUtility' folder under 'Utilities' in the e-Business setup. Right-click on 'ImageSyncUtilityGUI.exe' and click on 'Run as administrator'.
- On the Login screen that appears, enter the database instance name, username and password with administrative privileges.
- After successful login, the following screen appears. Select all the Images or selected images that the user wants to sync. Click on 'Sync' button.
- Close the Utility after the Sync is successful.
- Reset the IIS. Now refresh the Web browser and connect to the Aptify e-Business website to confirm that the product and company images load properly.
Comments
Please sign in to leave a comment.