I have two apps that share a common SQL data source. What I would like them to do is share a common image file directory too.
The two apps are:
For the product icon location I have tried specifying the relative file location on my Google drive. See screenshot below:
The use of โโฆ/โฆโ to refer to a parent directory didnโt work and resulted in two new folders being created called: โโฆโ
Usual appsheet folder structure is below:
appsheet / data / Product_Mgt-123456
appsheet / data / Product_Reg-123456
appsheet / data / PM_Resources / Product_Images
The shared folder is given in italics above.
Instead I get:
appsheet / data / Product_Mgt-123456 /โฆ/โฆ/PM_Resources / Product_Images
The ICON file location held in the DB for a specific product is the same. Namely:
โฆ/โฆ/PM_Resources / Product_Images/productUUID.icon.98765.png
Any help greatly appreciated. I also have the same problem sharing the country flags for the country listing between the two apps.
Solved! Go to Solution.
I recommend go to /appsheet/data and create a folder named Product_Combined.
Then go into Info-Properties-App Properties-Default App Folder and replace the path in both apps with
/appsheet/data/Product_Combined
I recommend go to /appsheet/data and create a folder named Product_Combined.
Then go into Info-Properties-App Properties-Default App Folder and replace the path in both apps with
/appsheet/data/Product_Combined
Also, not sure since I donโt traverse relative paths upwards in AppSheet, but I believe the HTML standard to go to the next folder up its only two periods. Try ../PM_Resources/Product_Images/productUUID.icon.98765.png
Might run into security issues trying that but a good idea.
Hi Austin,
Wasnโt quite what I was looking for but it does solve the immediate problem and allow the different versions of the app to share the country flag images. So now the apps default path points to one โmainโ app defaultโs path.
I wasnโt able to have the apps point to a different relative path, it had to be one used by one of the apps. Any how it worksโฆ so many thanks.
User | Count |
---|---|
18 | |
14 | |
11 | |
7 | |
4 |