Hello! i’ve encountered a problem while adding two different inline views inside a detail view:
Basically, i have one inline view showing the reservations made that came from google, and other inline view for the reservations that came from a travel agency.
The inline view for the google reservations is working perfect. But the second inline view is only showing the id of the respective reservations from the travel agency.
Here is a picture:
How can i solve this? i don’t know what to do because i have another app with this same setup and it works just fine.
Bot inline views come from a VC.
Hope you can help me,
Federico.
I was able to solve this. Here is how i did it:
Basically, i had to create a new slice of the data source (without any condition) and two new “table” views with position “ref”. One view would get the data from the original data source and the second view from the slice.
Then inside the table where i need the inline views to be shown i created two VC, each with the required select() formula to only return the id’s from the reservations from google and from the travel agency respectively.
That was it, now it’s working perfectly.
Sorry for the original post!!
Update: the previous workaround worked partially, because i don’t want people to be able to add new records on the original data source.
But i can´t change the permissions on the original data source because i would break the app. On the other hand, i can remove access to the slice and it works fine.
I tried to create two slices, on for google and other for the travel agency reservations. Then the inline views get data from each one respectively.
It does not work, because one of them would just use the system inline view and completely ignore the new inline view i created. I also tried to delete the system inline view but when the app reload it just creates it again.
How can i solve this? can i to force appsheet to use the views i created instead the system ones?
You can create your views using the slices you have created and make them as Ref views that should solve your issue.
1 Like