Tutorial: Your first experience app
Angeheftet AngesagtTo help you get started with building a first Experience app, using a combination of Showpad developer tools, you can now follow a tutorial in the following article. It assumes an intermediate level of knowledge of Showpad and frontend development.
https://help.showpad.com/hc/en-us/articles/360025933814
This example Experience app, with offline capabilities, lets you
- query assets by tags
- add assets to a collection
- share assets
- upload assets
You can share your recommendations right here, in this community post. How did you get started with your Experience app?
-
Offizieller Kommentar
Hi Veronique,
Thanks for posting your question! CSV files can indeed be used to provide Experience Apps with data sets. The following code should work online & offline to fetch the asset through Papa Parse:
Parsing Showpad CSV asset in Experience Apps trough Papa Parse
If you're still having troubles to parse the CSV asset, feel free to comment so we can follow up. Also, take a look at AppsDB to provide Experience Apps online & offline with data:
Kind regards,
Laurens
Aktionen für Kommentare -
Hi Laurens,
I am currently testing offline capabilities. I have an asset that is a .csv file that I have been able to 'find' through the config.json file and read/parse when online, but I cannot figure out what Showpad function to use when offline. Could you help please?
From the config.json, I can figure out the applink, and therefore the slug, but I don't see which Showpad offline function I could use then to read/parse this file. If I use something like Papa.parse, I get a CORS issue. Is there a ready-to-use function for this?
Thank you so much!
Best regards,
Veronique
-
Thank you so much Laurens for taking the time on this. It is very close to what I ended up doing, but I do appreciate that you confirmed the path we were taking was the right one. What made me question the way to do it is that the Showpad documentation was saying, on most functions, which one was offline and which was not, but the getAssetFileUrl didn't say anything about its online capabilities, so I assumed it was not. I ended up trying it anyways, as nothing else was working.
Thank you again. Have a nice day, and stay safe.
Best regards,
Veronique
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare