---
title: "Trade Portal Mobile App Configuration & Administration"
canonical: "https://kb.myframeworks.com.au/space/TPMA/28934156/Trade%20Portal%20Mobile%20App%20Configuration%20%26%20Administration"
format: markdown
---
<span style="color: #ff6600">**INFORMATION NEEDS TO BE UPDATED**</span>

<details>
<summary>System Flags</summary>

**MobSrAPrd**

If set to yes, allow different products to be shown on the Mobile Trade Portal app compared to the full Trade portal system.  Refer to [Product Maintenance](https://skb.sterland.com:8443/display/PROSTIXV48DOC/Product+Maintenance) to use this flag. From within the 'More Data' option, there is a menu option called Mobile Apps.   
& a field present called 'Mobile Enable'.

---
</details>

> ⚠️ Before the Mobile Trade Portal can be configured changes need to be made to the sterland.configuration file. Contact Sterland services to request this configuration.

# System Flags/Settings

<span style="color: #000000">**System Administration - Configuration - Tailoring Option**</span>

## <span style="color: #000000">Miscellanous Codes - flags (yes/no)</span>

| **Code** | **Function** |
| --- | --- |
| MobSrBegin | Allow searching using begin operator in Trade Port no |
| MobSrBrMsk | Override Branch Masking in Mobile Prod Search yes |
| MobSrWPrd | Web Enabled Products Only In Trade Portal |

## Miscellanous Codes (Characters)

MobImgUrl Default path for Product images will be linux server, the deployed path will be /usr/share/tomcat8/webapps/TA{instance}/imagestore/product-type/.

## Configuration - Client Code

The configuration of the Mobile Trade Portal will be on the Frameworks Linux server.

Key Files within the Client Code:

- **config.json** located /prostix/{instance}/tradeappcustom/**config.json. **This is where you make any custom changes, when an upgrade occurs it will take this customised file and overlay it into the deployed location below.
- **Deployed location:** /usr/share/tomcat/webapps/TA{instance}/config.json

Image Files are also located on the Frameworks Linux server as per below configuration:

## Configuration - Image Files

All images on the Trade Portal including logos are stored on the Frameworks Linux server. All Product images should be loaded into the folder structure set by the tailoring flag **MobImgUrl.**

| **Image** | **Recommended Image Parameters** | **Image Location on Linux Server** | **Image Location on Mobile Trade Portal** |
| --- | --- | --- | --- |
| Product Images | Filename: either product ID or <u>barcode.</u>jpg<u> </u><br>Dimensions: 450 x 400 pixels<br>Image Type:  .jpg<br>Size:  Max of 72kb<br>The product must be configured to point to this image location within Product Maintenance - More Data - Mobile Apps:<br>![image](media://e7f8f424-1b15-4efc-b7c0-2afd1f68c050)<br>Media Type = "Main Image"<br>Filename = name of product image as above.<br><F7> to add URL: /TA{instance}/imagestore/product/9314211200168.jpg | <span style="color: #000000">/var/lib/tomcat/webapps/TA{instance}/imagestore/product/</span> | ![image](media://2652bb9e-df24-446d-a324-457c019afc62) |
| <span style="color: #222222">Product category images</span> | Filename: No naming convention required<br>Dimensions:    285 x 285 pixels<br>Type:               .jpg<br>Size:                 Max of 72kb<br><span style="color: #222222">The Product Category images must match the Categories configured under A-A-9-J Product Category Maintenance eg:</span><br>![image](media://2add7d7e-801c-48af-8349-6faaf2cbecdc)<br><span style="color: #222222"><F7> to add URL: /TA{instance}/imagestore/product-type/{filename}.jpg </span> | <span style="color: #000000">/var/lib/tomcat/webapps/TA{instance}/imagestore/product-type/</span> | ![image](media://3b2e429a-b38e-465c-bc0c-53588b93dd9c) |
| Product Sub-Category/Type Images | The 2nd level subcategory or Product "Type" images are configured via ProStix A-A-9-K Product Type Maintenance. <F7> to add the URL to the image location on the linux server eg:<br>![image](media://ccff9e1f-d1be-42f6-876c-49a8e71220ea)<br>URL: <span style="color: #222222">/TA{instance}/imagestore/product-type/{filename}.jpg</span><br>> ⚠️ product subcategory images can be stored in the same location as the Category images, as long as they have a unique filename. | <span style="color: #000000">var/lib/tomcat/webapps/TA{instance}</span>/imagestore/product-type/ | ![image](media://15d687ce-73e8-4121-9f98-69e86d932888) |
| Product Sub-Category/Class Images | The 3rd level subcategory or Product "Class" Images are configured via ProStix A-A-9-L Product Class Maintenance. <F7> to add the URL to the image location on the linux server eg:<br>![image](media://073a42a3-a4db-4fa3-b66f-7e8d33be868d)<br>URL: <span style="color: #222222">/TA{instance}/imagestore/product-type/{filename}.jpg</span><br>> ⚠️ product subcategory Class images can be stored in the same location as the Category images, as long as they have a unique filename. | <span style="color: #000000">var/lib/tomcat/webapps/TA{instance}</span>/imagestore/product-type/ | ![image](media://cbf1653a-245f-4171-b91d-ae4ac56b4061) |
| Login Page Logo | Filename: logo.png<br>Dimensions:    255px x 71px<br>Type:               .png<br>Size:                 Max of 72kb | <span style="color: #000000">/var/lib/tomcat/webapps/TA{instance}/assets/images/</span> | ![image](media://f24a86f2-44eb-48d4-addf-3de8ec0d96c7) |
| Home Page Logo | Uses same image as Login Page Logo above | <span style="color: #000000">/var/lib/tomcat/webapps/TA{instance}/assets/images/</span> | ![image](media://40f18969-bc64-4aa0-b299-a4ae465d400b) |

# Assigning Requested Delivery Times on Orders

When customers place orders via the Mobile Trade Portal, they are prompted for a Delivery Date and Required Time:

![image](media://9b7c2336-6df2-47aa-bd76-e48b947b13d6)

The options available in the drop-down menu are configured via ProStix System Administration - Configuration - Miscellaneous Tables under "Requested Time Codes".

> ✅ Refer to [Requested Time Codes](https://sterlandsupport.atlassian.net/wiki/spaces/prostix/pages/31112158) for more information.